Setting G_GRAVITY

General discussion of all things GYRE-related (e.g., results, talks, ideas, tips)
Post Reply
ehsan
Posts: 88
Joined: Sun Jun 16, 2013 11:31 am

Setting G_GRAVITY

Post by ehsan » Fri Feb 28, 2014 9:42 pm

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.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Setting G_GRAVITY

Post by rhtownsend » Mon Mar 03, 2014 8:25 pm

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

Post Reply