1 #ifndef __CS_TIME_STEP_H__
2 #define __CS_TIME_STEP_H__
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
#define END_C_DECLS
Definition: cs_defs.h:515
@ dt
Definition: cs_field_pointer.h:65
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.c:433
void cs_time_step_redefine_cur(int nt_cur, double t_cur)
Redefine the current time values.
Definition: cs_time_step.c:614
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.c:495
cs_time_step_type_t
Definition: cs_time_step.h:52
@ CS_TIME_STEP_LOCAL
Definition: cs_time_step.h:57
@ CS_TIME_STEP_STEADY
Definition: cs_time_step.h:54
@ CS_TIME_STEP_CONSTANT
Definition: cs_time_step.h:55
@ CS_TIME_STEP_ADAPTIVE
Definition: cs_time_step.h:56
void cs_time_step_define_prev(int nt_prev, double t_prev)
Set time values from previous (usually restarted) calculations.
Definition: cs_time_step.c:526
void cs_time_step_increment(double dt)
Increment the global time step.
Definition: cs_time_step.c:544
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.c:447
void cs_time_step_define_local(int is_local)
Define whether time step is local in space or not.
Definition: cs_time_step.c:478
void cs_time_step_define_variable(int is_variable)
Define whether time step is variable or not.
Definition: cs_time_step.c:461
void cs_time_step_define_t_max(double t_max)
Define maximum time value.
Definition: cs_time_step.c:510
void cs_time_step_update_dt(double dt)
Update global time step value for a time step in progress.
Definition: cs_time_step.c:585
void cs_time_step_log_setup(void)
Print the time stepping options to setup.log.
Definition: cs_time_step.c:628
time step options descriptor
Definition: cs_time_step.h:92
double foumax
Definition: cs_time_step.h:106
double cflmmx
Definition: cs_time_step.h:103
double relxst
Definition: cs_time_step.h:122
int iptlro
Definition: cs_time_step.h:94
double dtmin
Definition: cs_time_step.h:112
double coumax
Definition: cs_time_step.h:100
double dtmax
Definition: cs_time_step.h:117
cs_time_step_type_t idtvar
Definition: cs_time_step.h:98
double varrdt
Definition: cs_time_step.h:109
time step descriptor
Definition: cs_time_step.h:64
int nt_prev
Definition: cs_time_step.h:72
int is_variable
Definition: cs_time_step.h:66
int nt_ini
Definition: cs_time_step.h:76
double t_max
Definition: cs_time_step.h:81
double t_prev
Definition: cs_time_step.h:78
double dt_next
Definition: cs_time_step.h:85
int nt_cur
Definition: cs_time_step.h:74
int nt_max
Definition: cs_time_step.h:75
double t_cur
Definition: cs_time_step.h:80
int is_local
Definition: cs_time_step.h:68
double dt_ref
Definition: cs_time_step.h:84