*
Cococubed.com


Unusual Linear Equation Solver

Home

Astronomy research
Software instruments
   Stellar equation of states
   EOS with ionization
   EOS for supernovae
   Chemical potentials
   Stellar atmospheres

   Voigt Function
   Jeans escape
   Polytropic stars
   Cold white dwarfs
   Adiabatic white dwarfs

   Cold neutron stars
   Stellar opacities
   Neutrino energy loss rates
   Ephemeris routines
   Fermi-Dirac functions

   Polyhedra volume
   Plane - cube intersection
   Coating an ellipsoid

   Nuclear reaction networks
   Nuclear statistical equilibrium
   Laminar deflagrations
   CJ detonations
   ZND detonations

   Fitting to conic sections
   Unusual linear algebra
   Derivatives on uneven grids
   Pentadiagonal solver
   Quadratics, Cubics, Quartics

   Supernova light curves
   Exact Riemann solutions
   1D PPM hydrodynamics
   Hydrodynamic test cases
   Galactic chemical evolution

   Universal two-body problem
   Circular and elliptical 3 body
   The pendulum
   Phyllotaxis

   MESA
   MESA-Web
   FLASH

   Zingale's software
   Brown's dStar
   GR1D code
   Iliadis' STARLIB database
   Herwig's NuGRID
   Meyer's NetNuc
Presentations
Illustrations
cococubed YouTube
Bicycle adventures
Public Outreach
Education materials
2023 ASU Solar Systems Astronomy
2023 ASU Energy in Everyday Life

AAS Journals
2023 AAS YouTube
2023 AAS Peer Review Workshops
2023 MESA VI
2023 MESA Marketplace
2023 MESA Classroom
2023 Neutrino Emission from Stars
2023 White Dwarfs & 12C(α,γ)16O
2022 Earendel, A Highly Magnified Star
2022 Black Hole Mass Spectrum
2022 MESA in Don't Look Up
2021 Bill Paxton, Tinsley Prize


Contact: F.X.Timmes
my one page vitae,
full vitae,
research statement, and
teaching statement.

The source code in gift.tbz writes source code to solve a system of linear equations by Gaussian elimination. It is setup for a 10x10 tridiagonal matrix. Gift-generated routines skip calculations with matrix elements that are zero; in this restricted sense gift-generated routines are sparse, but the storage of a full matrix is still required. Diagonal dominance is assumed, so no row or column interchanges are performed. The tool writes out the sequence of Gaussian elimination and backsubstitution steps without any do loop constructions over the matrix elements (see the snippet elow) Thus, gift generated subroutines can become quite large. However, for small matrices the execution speed of the generated subroutines on nuclear reaction networks is faster than any of the dense or sparse packages that I've tested.


*
 



Please cite the relevant references if you publish a piece of work that use these codes, pieces of these codes, or modified versions of them. Offer co-authorship as appropriate.