[Mesa-users] How to adjust gradr and get surface cell density though other_mlt.f90

Josiah Schwab jwschwab at ucsc.edu
Fri May 1 23:25:00 EDT 2020


Hi Wei,


> Method (2) is definitely the recommended way of doing things. That’s what
> the other hooks are there for.
>

I note that r12778 has an "other_gradr_factor" hook which would make
changing gradr even easier.

Of course, you may prefer not to upgrade if you're already in the middle of
a project or for other reasons.  In r11701, you might find it instructive
to look at the run_star_extras in star/test_suite/hydro_Ttau_evolve and see
how it uses the other other_porosity_factor and other_atm hooks.

Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200501/40b57c1a/attachment.htm>


More information about the Mesa-users mailing list