1#ifndef __CS_TIME_STEP_H__
2#define __CS_TIME_STEP_H__
87#if defined(__cplusplus)
92 bool needs_iteration()
const;
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
#define END_C_DECLS
Definition: cs_defs.h:555
@ 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.cpp:381
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:395
void cs_time_step_redefine_cur(int nt_cur, double t_cur)
Redefine the current time values.
Definition: cs_time_step.cpp:562
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:443
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.cpp:474
void cs_time_step_increment(double dt)
Increment the global time step.
Definition: cs_time_step.cpp:492
void cs_time_step_define_local(int is_local)
Define whether time step is local in space or not.
Definition: cs_time_step.cpp:426
void cs_time_step_define_variable(int is_variable)
Define whether time step is variable or not.
Definition: cs_time_step.cpp:409
void cs_time_step_define_t_max(double t_max)
Define maximum time value.
Definition: cs_time_step.cpp:458
void cs_time_step_update_dt(double dt)
Update global time step value for a time step in progress.
Definition: cs_time_step.cpp:533
void cs_time_step_log_setup(void)
Print the time stepping options to setup.log.
Definition: cs_time_step.cpp:576
time step options descriptor
Definition: cs_time_step.h:101
double foumax
Definition: cs_time_step.h:115
double cflmmx
Definition: cs_time_step.h:112
double relxst
Definition: cs_time_step.h:131
int iptlro
Definition: cs_time_step.h:103
double dtmin
Definition: cs_time_step.h:121
double coumax
Definition: cs_time_step.h:109
double dtmax
Definition: cs_time_step.h:126
cs_time_step_type_t idtvar
Definition: cs_time_step.h:107
double varrdt
Definition: cs_time_step.h:118
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