time step descriptor
Definition: cs_time_step.h:60
int nt_prev
Definition: cs_time_step.h:70
int is_variable
Definition: cs_time_step.h:64
int nt_ini
Definition: cs_time_step.h:74
double t_max
Definition: cs_time_step.h:79
double t_prev
Definition: cs_time_step.h:76
double dt_next
Definition: cs_time_step.h:83
int nt_cur
Definition: cs_time_step.h:72
int nt_max
Definition: cs_time_step.h:73
double t_cur
Definition: cs_time_step.h:78
int is_local
Definition: cs_time_step.h:66
double dt[3]
Definition: cs_time_step.h:81
bool needs_iteration() const
Check if at least another iteration is needed.
Definition: cs_time_step.cpp:681
double dt_ref
Definition: cs_time_step.h:82
@ dt
Definition: cs_field_pointer.h:61
const cs_time_step_t * cs_glob_time_step
cs_time_step_t * cs_get_glob_time_step(void)
Provide read/write access to cs_glob_time_step.
Definition: cs_time_step.cpp:372
cs_time_step_options_t * cs_get_glob_time_step_options(void)
Provide read/write access to cs_glob_time_step_options.
Definition: cs_time_step.cpp:386
void cs_time_step_redefine_cur(int nt_cur, double t_cur)
Redefine the current time values.
Definition: cs_time_step.cpp:553
const cs_time_step_options_t * cs_glob_time_step_options
void cs_time_step_define_nt_max(int nt_max)
Define maximum time step number.
Definition: cs_time_step.cpp:434
cs_time_step_type_t
Definition: cs_time_step.h:48
@ CS_TIME_STEP_LOCAL
Definition: cs_time_step.h:53
@ CS_TIME_STEP_STEADY
Definition: cs_time_step.h:50
@ CS_TIME_STEP_CONSTANT
Definition: cs_time_step.h:51
@ CS_TIME_STEP_ADAPTIVE
Definition: cs_time_step.h:52
void cs_time_step_define_prev(int nt_prev, double t_prev)
Set time values from previous (usually restarted) calculations.
Definition: cs_time_step.cpp:465
void cs_time_step_increment(double dt)
Increment the global time step.
Definition: cs_time_step.cpp:483
void cs_time_step_define_local(int is_local)
Define whether time step is local in space or not.
Definition: cs_time_step.cpp:417
void cs_time_step_define_variable(int is_variable)
Define whether time step is variable or not.
Definition: cs_time_step.cpp:400
void cs_time_step_define_t_max(double t_max)
Define maximum time value.
Definition: cs_time_step.cpp:449
void cs_time_step_update_dt(double dt)
Update global time step value for a time step in progress.
Definition: cs_time_step.cpp:524
void cs_time_step_log_setup(void)
Print the time stepping options to setup.log.
Definition: cs_time_step.cpp:567
time step options descriptor
Definition: cs_time_step.h:95
double foumax
Definition: cs_time_step.h:109
double cflmmx
Definition: cs_time_step.h:106
double relxst
Definition: cs_time_step.h:125
int iptlro
Definition: cs_time_step.h:97
double dtmin
Definition: cs_time_step.h:115
double coumax
Definition: cs_time_step.h:103
double dtmax
Definition: cs_time_step.h:120
cs_time_step_type_t idtvar
Definition: cs_time_step.h:101
double varrdt
Definition: cs_time_step.h:112