afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
m_dt.f90 File Reference

Go to the source code of this file.

Modules

module  m_dt
 Module to set the time step.
 

Functions/Subroutines

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

Variables

integer, parameter, public m_dt::dt_num_cond = 4
 
real(dp), dimension(dt_num_cond), public m_dt::dt_limits
 
integer, parameter, public m_dt::dt_ix_cfl = 1
 
integer, parameter, public m_dt::dt_ix_drt = 2
 
integer, parameter, public m_dt::dt_ix_rates = 3
 
integer, parameter, public m_dt::dt_ix_other = 4
 
real(dp), public, protected m_dt::dt_safety_factor = 0.9_dp
 
real(dp), public, protected m_dt::dt_cfl_number = undefined_real
 CFL number to use.
 
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.
 
logical, public, protected m_dt::dt_chemistry_limit_loss = .true.
 Limit dt to prevent negative densities due to loss reactions.
 
real(dp), public, protected m_dt::dt_max = 1.0e-11_dp
 
real(dp), public, protected m_dt::dt_min = 1.0e-14_dp
 
real(dp), public, protected m_dt::dt_max_growth_factor = 2.0_dp
 Maximal relative increase dt for the next iteration.
 
integer, public, protected m_dt::time_integrator
 Which time integrator is used.