[Mesa-users] unintended consequences of not properly neutralizing namelist commands.

amber lauer amberlauer at gmail.com
Sun Apr 11 23:10:17 UTC 2021


I want to report that things can go wrong if you don't properly nullify
commands. Take for example a set of commands used to change reaction rates
by a factor. One might use the following

>num_special_rate_factors = 1
>reaction_for_special_factor(1)='reaction1'
>special_rate_factor(1) = 2

The proper way to cancel these commands is to either
1) comment them out with !
2) set num_special_rate_factors=0 (and possibly, leave reaction_name blank)
or 3) set special_rate_factor(:)=1.

The following are not the proper ways, and will lead to unintended
consequences

num_special_rate_factors = 1
reaction_for_special_factor(1)=' '
special_rate_factor(1) = 10

or

num_special_rate_factors = 1
reaction_for_special_factor(1)='placeholder'
special_rate_factor(1) = 10

Please learn from my experience and save yourself some time and confusion.
This is definitely a user issue and not code issue.

=================================
Dr. Amber Lauer-coles
Postdoctoral Researcher
Triangle Universities Nuclear Lab
Duke University
amber.lauer at tunl.duke.edu <amber.lauer at duke.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210411/3b1a97ae/attachment.htm>


More information about the Mesa-users mailing list