Hello Rich,
Thanks for the brand new release. I took some time to go through the new release. Based on the documentation, we have two places to set gravitational constant.
Would you please reduce it to only one (presumably in &constants)?
Another question: Is it possible to call gyre in mesa from run_star_extras? If so, then how?
Cheers
Ehsan.
Setting G_GRAVITY
- rhtownsend
- Site Admin
- Posts: 398
- Joined: Sun Mar 31, 2013 4:22 pm
Re: Setting G_GRAVITY
Hi Ehsan --
Two places? I see only one:
*) In &coeffs for gyre < 3.0
*) In &constants for gyre >= 3.0
Regarding calling gyre from run_star_extras -- in principle this should be possible. There's already a simple interface which MESA uses to call gyre from within the astero module; I'm sure this could also be used in run_star_extras. Have a look in src/mesa/gyre_lib.fpp to see what gyre's interface looks like.
cheers,
Rich
Two places? I see only one:
*) In &coeffs for gyre < 3.0
*) In &constants for gyre >= 3.0
Regarding calling gyre from run_star_extras -- in principle this should be possible. There's already a simple interface which MESA uses to call gyre from within the astero module; I'm sure this could also be used in run_star_extras. Have a look in src/mesa/gyre_lib.fpp to see what gyre's interface looks like.
cheers,
Rich