![]() |
programmer's documentation
|
time step descriptor More...
#include <cs_time_step.h>
Data Fields | |
int | is_variable |
int | is_local |
int | nt_prev |
int | nt_cur |
int | nt_max |
int | nt_ini |
double | t_prev |
double | t_cur |
double | t_max |
time step descriptor
Members of this time step are publicly accessible, to allow for concise syntax, as it is expected to be used in many places.
is_local |
0 if time step is uniform in space, 0 if is is local (in which case the time value is only a reference)
is_variable |
0 if time step is fixed in time, 1 otherwise
nt_cur |
current absolute time step number In case of restart, this is equal to nt_prev + number of new iterations.
nt_ini |
number of time step for initialization
nt_max |
nt_prev |
t_cur |
Current absolute time. For the restart calculations, t_cur takes into account the physical time of the previous calculations.
If the time step is uniform (idtvar = 0 or 1), t_cur increases of dt (value of the time step) at each iteration. If the time step is non-uniform (idtvar=2), t_cur increases of dtref at each time step.
t_cur is initialised and updated automatically by the code, its value is not to be modified by the user.
t_max |
maximum absolute time
t_prev |