[mesa-users] Taking smaller time steps
Bill Paxton
paxton at kitp.ucsb.edu
Sun Jun 29 13:09:57 EDT 2014
Hi,
On Jun 29, 2014, at 5:08 AM, Liron Mcley wrote:
> Thank you for the help!
> I added a few lines in extras_check_model (run_star_extras) and it worked perfectly.
Great.
>
> I have another small question - I'm using a few of the s% x_ctrl variables and I would like to add them to the profile, for example, I want to see s% x_ctrl(1) for each time step. So I tried adding this:
>
> call do_val(i, 'L_conv_max_per_mass', s% x_ctrl(1))
>
> at the end of the do_val() lines in do_profile_info(...) which is in star/private/profile.f . But it's not doing anything and I can't see why. I also tried putting the line inbetween the do_val() lines and nothing.
As a general rule, if you are changing files in star/private you are probably making a mistake. In this case you should be able to do what you want using run_star_extras. To add to the history, modify the routines how_many_extra_history_columns and data_for_extra_history_columns. To add to profiles, modify how_many_extra_profile_columns and data_for_extra_profile_columns.
-Bill
More information about the Mesa-users
mailing list