[mesa-users] limit the max timestep

Josiah Schwab jwschwab at berkeley.edu
Wed Apr 10 23:59:03 EDT 2013


> The 'min_timestep_limit' in the controls list can limit the minimum timestep. 
> But how can I limit the maximum timestep if I want to calculate more details


Try 'max_timestep'.  Here's what star/defaults/controls.defaults has to say:

         max_timestep = 0  ! in seconds.  max_timestep <= 0 means no upper limit.           
         max_years_for_timestep = 0  ! max_years_for_timestep <= 0 means no upper limit.
            ! NOTE: max_timestep is the control that is used by most of the code.
            ! max_years_for_timestep is just provided as a convenience.
            ! at the start of each step, the evolve routine checks to see if max_years_for_timestep > 0,
            ! and if so, it sets max_timestep = max_years_for_timestep*secyer.


Best,
Josiah



More information about the Mesa-users mailing list