Further code refactoring requires careful testing to make sure I don't make things worse. The following are some tests to run.
Note these tests are only tests of the stellar models, and do not test the modes.
Basic Tess
Simple Models
These models mostly only exist as verification for SimpleWD models.
isopycnic star equals known solution within machine precision
isopycnic boundary expansions of $A^*$ , $V_g$ , $U$ , $c_1$ equal to these functions near boundaries
polytrope initialization suitably handles bad inputs
polytrope $n=0$ equal to known solution
polytrope $n=0$ boundary expansions are good approximations
polytrope $n=1$ equal to known solution
polytrope $n=1$ boundary expansions are good approximations
polytrope $n=5$ equal to known solution
polytrope $n=5$ central boundary expansions a good approximation
polytrope exact errors scale like $N^{-4}$
polytrope SSRs scale like $N^{-4}$
polytrope solution $\theta$ scales like $N^{-4}$
polytropes for a range of index can be constructed
polytropes for a range of index have acceptably small SSR (say $N^{-3}$ )
polytropes for a range of index have good boundary expansions
polytropes for a range of index, mass, radius can be constructed
polytropes for a range of index, mass, radius have acceptable small SSR
polytropes for a range of index, mass, radius equal "abstract" polytropes scaled to 1
polytropes for a range of index, mass, radius have good boundary expansions
Chandrasekhar WD initialization suitably handles bad inputs
Chandrasekhar WDs match table of Chandrasekhar 1939
Chandrasekhar WDs have acceptable SSR
Chandrasekhar WDs central boundary expansion a good approximation
Chandrasekhar WDs surface boundary expansion a good approximation
Chandrasekhar WDs can be constructed with sigmoidal $\mu_e$
Chandrasekhar WDs with sigmoidal $\mu_e$ have acceptable SSR, boundary expansions
MESA wrapper
SimpleWD
Artifacts
Have a run of the tests automatically generate the following useful graphs/tables for further diagnosing the code performance.
Further code refactoring requires careful testing to make sure I don't make things worse. The following are some tests to run.
Note these tests are only tests of the stellar models, and do not test the modes.
Basic Tess
Simple Models
These models mostly only exist as verification for SimpleWD models.
MESA wrapper
mesa_co_wd_cold.dat)mesa_co_wd_cold.dathas acceptable SSRmesa_co_wd_cold.dathas acceptable central boundary expansionmesa_co_wd_cold.dathas acceptable surface boundary expansionSimpleWD
Artifacts
Have a run of the tests automatically generate the following useful graphs/tables for further diagnosing the code performance.