[mesa-users] Metal mass fractions from chem_def
Josiah Schwab
jwschwab at berkeley.edu
Wed May 20 20:32:28 EDT 2015
Hi Ehsan,
> Perhaps, crlibm_init() can go into chem_init() to ensure correct use
> of exponentials, otherwise, a user — who is not very updated with all
> design changes and updates — may miss this tiny little detail, and do
> computations wrong. Consider this, please, as a suggestion only.
You should call crlibm_init before using other MESA modules too, so I
don't think it makes sense to directly include it in chem_init.
I do agree it would be nice if the code didn't let you do what you did
without complaining, but I don't know if that is feasible. At least it
gives obviously bogus results and not subtly wrong ones :)
Josiah
More information about the Mesa-users
mailing list