[mesa-users] Access to inlist values from run_star_extras
Bill Paxton
paxton at kitp.ucsb.edu
Wed Aug 21 13:41:51 EDT 2013
Hi Ehsan,
As you found, the controls in "controls.defaults" are in the star data and are accessible using "s%".
However, controls in "star_job.defaults" are not. They do not live in the star data.
Instead they are declared in star/job/run_star_support.
To access them, you do "use run_star_support, only: ..." in your run_star_extras.
Replace the "..." by the names of the controls you want to access.
Then you just use the names to access the values; no "s%" for these.
Cheers,
Bill
On Aug 21, 2013, at 4:19 AM, Ehsan Moravveji wrote:
> I guess I found the solution.
> star_controls.inc is included as in star_info in /star/public/star_def.f
> Sorry for this monologue!
>
> Ehsan.
>
>
>
> On Aug 21, 2013, at 1:12 PM, Ehsan Moravveji wrote:
>
>> Hello all,
>>
>> I would like to fetch some of the quantities that we set in controls and star_job inlists from my run_star_extras.
>> Some of them are part of star_info and can be retrieved from the famous "s pointer", like s% model_number.
>> Some can be fetched from run_star_support, e.g.
>> use run_star_support, only: initial_h1
>>
>> However, some variables like overshoot_f_above_nonburn are set in the inlist, but are not accessible to run_star_extras either through the star_info or run_star_support. Please correct me if I am wrong.
>>
>> In such case, how can I retrieve the value that I set for these quantities?
>>
>> Best.
>> Ehsan.
>>
>>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20130821/65f290ca/attachment.html>
More information about the Mesa-users
mailing list