afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
|
Module to set the time step. More...
Functions/Subroutines | |
subroutine, public | dt_initialize (cfg) |
Initialize the time step module. | |
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. | |
real(dp), public, protected | dt_chemistry_nmin = -1.0_dp |
If > 0, a density to control the accuracy of the chemistry time step. | |
logical, public, protected | dt_chemistry_limit_loss = .true. |
Limit dt to prevent negative densities due to loss reactions. | |
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. | |
integer, public, protected | time_integrator |
Which time integrator is used. | |
Module to set the time step.
subroutine, public m_dt::dt_initialize | ( | type(cfg_t), intent(inout) | cfg | ) |
real(dp), public, protected m_dt::dt_cfl_number = undefined_real |
logical, public, protected m_dt::dt_chemistry_limit_loss = .true. |
real(dp), public, protected m_dt::dt_chemistry_nmin = -1.0_dp |
real(dp), dimension(dt_num_cond), public m_dt::dt_limits |
real(dp), public, protected m_dt::dt_max_growth_factor = 2.0_dp |