9.1
general documentation
Time step options and variables
+ Collaboration diagram for Time step options and variables:

Variables

integer(c_int), pointer, save ntcabs
 Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterations. More...
 
real(c_double), pointer, save ttcabs
 Absolute time value for previous calculation. More...
 
integer(c_int), pointer, save idtvar
 option for a variable time step More...
 
real(c_double), pointer, save dtref
 Reference time step. More...
 

Detailed Description

Variable Documentation

◆ dtref

real(c_double), pointer, save dtref

Reference time step.

This is the time step value used in the case of a calculation run with a uniform and constant time step, i.e. idtvar =0 (restart calculation or not). It is the value used to initialize the time step in the case of an initial calculation run with a non-constant time step(idtvar=1 or 2). It is also the value used to initialise the time step in the case of a restart calculation in which the type of time step has been changed (for instance, idtvar=1 in the new calculation and idtvar = 0 or 2 in the previous calculation).
See Time step modification for examples.

◆ idtvar

integer(c_int), pointer, save idtvar

option for a variable time step

  • -1: steady algorithm
  • 0: constant time step
  • 1: time step constant in space but variable in time
  • 2: variable time step in space and in time If the numerical scheme is a second-order in time, only the option 0 is allowed.

◆ ntcabs

integer(c_int), pointer, save ntcabs

Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterations.

◆ ttcabs

real(c_double), pointer, save ttcabs

Absolute time value for previous calculation.

Current absolute time.

For the restart calculations, ttcabs takes into account the physical time of the previous calculations.
If the time step is uniform (idtvar = 0 or 1), ttcabs increases of dt (value of the time step) at each iteration. If the time step is non-uniform (idtvar=2), ttcabs increases of dtref at each time step.
ttcabs} is initialised and updated automatically by the code, its value is not to be modified by the user.