[mesa-users] Turning off neutrino types

Josiah Schwab jwschwab at berkeley.edu
Wed Mar 20 21:28:21 EDT 2013


Hi Shane,

> I wrote a my_other_neu subroutine within run_star_extras, pointing
> other_neu to it, and varying flags within there. However, there
> seems to be no way to change the flags variable outside of micro.f,
> since the intent is input in the other programs. Is there anyway to
> change this variable (for each mechanism), or must it be done
> directly in the micro.f program?

I'm not sure that I quite understand this question.  The flags
variable is set to true in micro.f, and then passed into other_neu.
In your other_neu routine, if you modify flags before its call to
neu_get, you should get the behavior you want.

Have you tried to set flags and it's not working?  Or are you not sure
where to set flags in the first place?

If you want, feel free to send me your code and I'll take a look.

> If the latter is the case, what is the best way to recompile the
> micro.f within MESA without recompiling everything?

You shouldn't need anything more than run_star_extras.f for this case.
But one can compile each MESA module individually.  In that modules'
directory (so in this case star) do ./mk && ./export

Josiah




More information about the Mesa-users mailing list