[Mesa-users] Is it possible to add a parameter to star.data.inc in order to use it in a computation in the run.star.extras?
aldanag at campus.technion.ac.il
aldanag at campus.technion.ac.il
Tue Dec 5 07:15:35 EST 2017
Hello,
I am trying to inject energy to a star via the"run_star_extras", and the subroutine I use has access
to the srar_info pointer, so I can use only the quantites that are defined in star/public/star_data.inc to make the energy computations.
However, one of the paramaters I need to use- avg_charge_H (which I can see at the output of the profiles) is not defined in
star.data.inc in any way.
I found that this parameter is from the ionization module, and when it is passed to the star module via:
get_ion_info(ion_iZ_H,k), this is from: star/private/profile_getval.f90 that contains the lines
case (p_avg_charge_H)
val = get_ion_info(ion_iZ_H,k)
yet p_avg_charge_H also isn't defined in star.data.inc. I tried to add it manually and the runs still doesn't compile.
My question is: Is it possible to add a parameter that exists in MESA to the star.data.inc, and if it is possible what is the right way to do that?
Thanks in advance,
Aldana.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20171205/4a64ef82/attachment.html>
More information about the Mesa-users
mailing list