afivo-streamer  1.1
1D/2D/3D streamer simulations with AMR
Functions/Subroutines | Variables
m_dt Module Reference

Module to set the time step. More...

Functions/Subroutines

subroutine, public dt_initialize (cfg)
 Initialize the time step module. More...
 

Variables

integer, parameter, public dt_num_cond = 4
 
real(dp), dimension(dt_num_cond), public dt_limits
 
integer, parameter, public dt_ix_cfl = 1
 
integer, parameter, public dt_ix_drt = 2
 
integer, parameter, public dt_ix_rates = 3
 
integer, parameter, public dt_ix_other = 4
 
real(dp), public, protected dt_safety_factor = 0.9_dp
 
real(dp), public, protected dt_cfl_number = undefined_real
 CFL number to use. More...
 
real(dp), public, protected dt_chemistry_nmin = -1.0_dp
 If > 0, a density to control the accuracy of the chemistry time step. More...
 
logical, public, protected dt_chemistry_limit_loss = .true.
 Limit dt to prevent negative densities due to loss reactions. More...
 
real(dp), public, protected dt_max = 1.0e-11_dp
 
real(dp), public, protected dt_min = 1.0e-14_dp
 
real(dp), public, protected dt_max_growth_factor = 2.0_dp
 Maximal relative increase dt for the next iteration. More...
 
integer, public, protected time_integrator
 Which time integrator is used. More...
 

Detailed Description

Module to set the time step.

Function/Subroutine Documentation

◆ dt_initialize()

subroutine, public m_dt::dt_initialize ( type(cfg_t), intent(inout)  cfg)

Initialize the time step module.

[relevant_parameters]

[relevant_parameters]

Definition at line 56 of file m_dt.f90.

Variable Documentation

◆ dt_cfl_number

real(dp), public, protected m_dt::dt_cfl_number = undefined_real

CFL number to use.

Definition at line 31 of file m_dt.f90.

◆ dt_chemistry_limit_loss

logical, public, protected m_dt::dt_chemistry_limit_loss = .true.

Limit dt to prevent negative densities due to loss reactions.

Definition at line 37 of file m_dt.f90.

◆ dt_chemistry_nmin

real(dp), public, protected m_dt::dt_chemistry_nmin = -1.0_dp

If > 0, a density to control the accuracy of the chemistry time step.

Definition at line 34 of file m_dt.f90.

◆ dt_ix_cfl

integer, parameter, public m_dt::dt_ix_cfl = 1

Definition at line 16 of file m_dt.f90.

◆ dt_ix_drt

integer, parameter, public m_dt::dt_ix_drt = 2

Definition at line 19 of file m_dt.f90.

◆ dt_ix_other

integer, parameter, public m_dt::dt_ix_other = 4

Definition at line 25 of file m_dt.f90.

◆ dt_ix_rates

integer, parameter, public m_dt::dt_ix_rates = 3

Definition at line 22 of file m_dt.f90.

◆ dt_limits

real(dp), dimension(dt_num_cond), public m_dt::dt_limits

Definition at line 13 of file m_dt.f90.

◆ dt_max

real(dp), public, protected m_dt::dt_max = 1.0e-11_dp

Definition at line 40 of file m_dt.f90.

◆ dt_max_growth_factor

real(dp), public, protected m_dt::dt_max_growth_factor = 2.0_dp

Maximal relative increase dt for the next iteration.

Definition at line 46 of file m_dt.f90.

◆ dt_min

real(dp), public, protected m_dt::dt_min = 1.0e-14_dp

Definition at line 43 of file m_dt.f90.

◆ dt_num_cond

integer, parameter, public m_dt::dt_num_cond = 4

Definition at line 10 of file m_dt.f90.

◆ dt_safety_factor

real(dp), public, protected m_dt::dt_safety_factor = 0.9_dp

Definition at line 28 of file m_dt.f90.

◆ time_integrator

integer, public, protected m_dt::time_integrator

Which time integrator is used.

Definition at line 49 of file m_dt.f90.