[mesa-users] defaults
Josiah Schwab
jwschwab at berkeley.edu
Fri Jun 10 18:48:28 EDT 2016
Hi Martin,
> Josiah and I expect this to have no effect, but somehow it does?
The default values are set by variable assignment and the inlist values
are set by reading namelists.
This results in "0.43" being mapped to two different values.
0.43000000715255737 (assignment; nearest single, promoted to double)
0.42999999999999999 (inlist; nearest double)
Aren't Fortran and floating point fun!
The defaults files should always use type specifiers (e.g., 0.43d0), so
people who pay careful attention---like yourself---don't get confused.
I'll add that to the TODO list.
Thanks,
Josiah
More information about the Mesa-users
mailing list