/home/runner/work/amr-wind/amr-wind/amr-wind/core/SimTime.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
SimTime.H
Go to the documentation of this file.
Definition SimTime.H:30
amrex::Real m_plt_t_interval
Time interval for plot file output.
Definition SimTime.H:194
void set_current_cfl(const amrex::Real conv_cfl, const amrex::Real diff_cfl, const amrex::Real src_cfl)
Definition SimTime.cpp:147
int m_time_index
Counter for the number of timesteps since start of simulation.
Definition SimTime.H:206
int m_plt_interval
Time step interval for plot file output.
Definition SimTime.H:231
int m_chkpt_start_index
Initial starting time index for generating checkpoint files.
Definition SimTime.H:212
amrex::Real m_chkpt_t_tol
Relative (to dt) tolerance for checkpoint time interval output.
Definition SimTime.H:188
int m_chkpt_interval
Time step interval for writing checkpoint/restart files.
Definition SimTime.H:224
AMREX_FORCE_INLINE amrex::Real delta_t_nm1() const
Definition SimTime.H:90
int m_stop_time_index
Maximum timesteps for simulation.
Definition SimTime.H:221
bool m_is_init
Flag indicating if this is initialization.
Definition SimTime.H:246
amrex::Real m_chkpt_t_delay
Time delay for checkpoint/restart output.
Definition SimTime.H:185
bool m_force_chkpt_dt
Bool for if checkpoint time interval should be forced.
Definition SimTime.H:252
~SimTime()=default
int m_plt_start_index
Initial starting time index for generating output files.
Definition SimTime.H:215
amrex::Real m_force_chkpt_tol
Relative (to chkpt_t_interval) tolerance for enforcing dt.
Definition SimTime.H:191
int m_regrid_start_index
Initial starting time index for regriding.
Definition SimTime.H:218
bool m_force_plt_dt
Bool for if plt time interval should be forced.
Definition SimTime.H:255
AMREX_FORCE_INLINE amrex::Real delta_t_nm2() const
Definition SimTime.H:93
amrex::Real m_new_time
Time where a new timestep will advance to.
Definition SimTime.H:155
amrex::Real m_start_time
Starting simulation time (to track restart)
Definition SimTime.H:158
int m_regrid_interval
Time interval for regridding.
Definition SimTime.H:237
AMREX_FORCE_INLINE int start_time_index() const
Definition SimTime.H:135
AMREX_FORCE_INLINE amrex::Real stop_time() const
Definition SimTime.H:132
amrex::Real m_fixed_dt
Fixed delta_t indicated by user.
Definition SimTime.H:167
AMREX_FORCE_INLINE amrex::Real & current_time()
Definition SimTime.H:105
bool m_adaptive
Flag indicating whether timestep is adaptive.
Definition SimTime.H:243
AMREX_FORCE_INLINE int stop_time_index() const
Definition SimTime.H:138
amrex::Real m_dt_growth
Maximum growth of dt between timesteps.
Definition SimTime.H:179
amrex::Real m_plt_t_tol
Relative (to dt) tolerance for plot time interval output.
Definition SimTime.H:200
bool write_last_checkpoint() const
Definition SimTime.cpp:331
amrex::Real m_init_shrink
Initial reduction in timestep size for startup.
Definition SimTime.H:176
void parse_parameters()
Read user defined options from input file.
Definition SimTime.cpp:8
AMREX_FORCE_INLINE int chkpt_interval() const
Definition SimTime.H:141
SimTime()=default
AMREX_FORCE_INLINE int regrid_interval() const
Definition SimTime.H:126
bool m_use_force_cfl
Flag indicating if forcing should be included in CFL calculation.
Definition SimTime.H:249
AMREX_FORCE_INLINE bool adaptive_timestep() const
Definition SimTime.H:120
void set_restart_time(int tidx, amrex::Real time)
Definition SimTime.cpp:338
AMREX_FORCE_INLINE bool use_force_cfl() const
Definition SimTime.H:123
amrex::Real m_force_plt_tol
Relative (to plt_t_interval) tolerance for enforcing dt.
Definition SimTime.H:203
AMREX_FORCE_INLINE amrex::Real current_time() const
Definition SimTime.H:102
amrex::Real m_chkpt_t_interval
Time interval for writing checkpoint/restart files.
Definition SimTime.H:182
AMREX_FORCE_INLINE amrex::Real start_time() const
Definition SimTime.H:129
amrex::Real m_plt_t_delay
Time delay for plot file output.
Definition SimTime.H:197
amrex::Real m_stop_time
Max time for simulation.
Definition SimTime.H:161
int m_plt_delay
Time step delay for plot file output.
Definition SimTime.H:234
int m_start_time_index
Initial starting time index.
Definition SimTime.H:209
amrex::Real m_initial_dt
Initial delta_t indicated by user.
Definition SimTime.H:170
Definition BCInterface.cpp:7
Generated by 1.12.0