[mesa-users] Bending MESA to your will (AKA using run_star_extras)
Pablo Marchant
pamarca at gmail.com
Sun Aug 16 07:25:10 EDT 2015
Regarding the "prepare for a step phase", has anyone else found a need for
an extras function in there? It is a common situation for me to use
extras_finish_step to check some conditions and modify controls accordingly
for the following step. This works well if I do a normal run from beginning
to end, but it does not work quite well when doing restarts. In this case,
MESA will just load all controls from the inlist producing an inconsistency
on the first step of the restart (or not converging at all depending on
what is changed).
I could replicate the code I put on extras_finish_step into extras_startup
but having the option to do it in a single place seems more natural.
On Sat, Aug 15, 2015 at 5:23 PM, Josiah Schwab <jwschwab at berkeley.edu>
wrote:
> Hi All,
>
> The 2015 MESA summer school has just wrapped up. Congratulations to all
> the students who completed this intensive week!
>
> The opening lecture was an introduction to MESA, with a particular focus
> on using run_star_extras.f.
>
> A modified version of this material will eventually be merged into the
> main MESA documentation, but until then, if you're interested in taking
> your MESA use to the next level, you may want to look at
>
> http://jschwab.github.io/mesa-2015/
>
> As a teaser, I've attached a flowchart showing how the "extras" hooks
> fit into MESA.
>
> Best,
> Josiah
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
--
Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD student, Argelander-Institut für Astronomie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150816/4f62df49/attachment.html>
More information about the Mesa-users
mailing list