@file m_time_steppers.f90 @brief Contains module m_time_steppers @author S. Bryngelson, K. Schimdmayer, V. Coralic, J. Meng, K. Maeda, T. Colonius @version 1.0 @date JUNE 06 2019 @brief The following module features a variety of time-stepping schemes. Currently, it includes the following Runge-Kutta (RK) algorithms: 1) 1st Order TVD RK 2) 2nd Order TVD RK 3) 3rd Order TVD RK where TVD designates a total-variation-diminishing time-stepper.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(vector_field), | public, | allocatable, dimension(:) | :: | q_cons_ts | Cell-average conservative variables at each time-stage (TS) |
||
| type(scalar_field), | public, | allocatable, dimension(:) | :: | rhs_vf | Cell-average RHS variables at the current time-stage |
||
| type(vector_field), | public, | allocatable, dimension(:) | :: | q_prim_ts | Cell-average primitive variables at consecutive TIMESTEPS |
The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are necessary to setup the module.
1st order TVD RK time-stepping algorithm @param t_step Current time step
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | t_step | |||
| real(kind=kind(0d0)), | intent(inout) | :: | time_avg |
2nd order TVD RK time-stepping algorithm @param t_step Current time-step
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | t_step | |||
| real(kind=kind(0d0)), | intent(inout) | :: | time_avg |
3rd order TVD RK time-stepping algorithm @param t_step Current time-step
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | t_step | |||
| real(kind=kind(0d0)), | intent(inout) | :: | time_avg |
This subroutine saves the temporary q_prim_vf vector into the q_prim_ts vector that is then used in p_main @param t_step current time-step
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | t_step |
Module deallocation and/or disassociation procedures