subroutines for Runge-Kutta Fehlberg method More...
Data Types | |
type | coeff_type |
type | timedisc_rkfehlberg |
Functions/Subroutines | |
subroutine | inittimedisc (this, Mesh, Physics, config, IO, ttype, tname) |
subroutine | inittimedisc_rkfehlberg (this, Mesh, Physics, config, IO) |
subroutine | solveode (this, Mesh, Physics, Sources, Fluxes, time, dt, err) |
subroutine | computecvar_rkfehlberg (this, Mesh, Physics, Fluxes, dt, m, coeff, cvar, cnew) |
perfroms the time step update using the RHS More... | |
subroutine | setbutchertableau (this) |
set coefficients for RK-Fehlberg schemes More... | |
subroutine | showbutchertableau (this) |
subroutine | finalize (this) |
Variables | |
character(len=32), parameter | odesolver_name = "Runge-Kutta Fehlberg" |
Detailed Description
subroutines for Runge-Kutta Fehlberg method
Reference:
- [engeln2006] G.Engeln-Müllges & F.Reutter (Book)
- [fehlberg1969] Fehlberg, E. (1969). Low-order classical Runge-Kutta formulas with stepsize control and their application to some heat transfer problems.
Function/Subroutine Documentation
◆ computecvar_rkfehlberg()
|
private |
perfroms the time step update using the RHS
This subroutine computes new conservative variables according to the update formula:
\[ y_n^{(i)} = y_n + dt \sum_{j=1}^{m-1} a_{ij} coeff_j \]
Definition at line 276 of file timedisc_rkfehlberg.f90.
◆ finalize()
|
private |
Definition at line 371 of file timedisc_rkfehlberg.f90.
◆ inittimedisc()
|
private |
Definition at line 95 of file timedisc_rkfehlberg.f90.
◆ inittimedisc_rkfehlberg()
subroutine timedisc_rkfehlberg_mod::inittimedisc_rkfehlberg | ( | class(timedisc_rkfehlberg), intent(inout) | this, |
class(mesh_base), intent(inout) | Mesh, | ||
class(physics_base), intent(in) | Physics, | ||
type(dict_typ), pointer | config, | ||
type(dict_typ), pointer | IO | ||
) |
Definition at line 145 of file timedisc_rkfehlberg.f90.
◆ setbutchertableau()
|
private |
set coefficients for RK-Fehlberg schemes
Definition at line 304 of file timedisc_rkfehlberg.f90.
◆ showbutchertableau()
|
private |
Definition at line 337 of file timedisc_rkfehlberg.f90.
◆ solveode()
|
private |
Definition at line 170 of file timedisc_rkfehlberg.f90.
Variable Documentation
◆ odesolver_name
|
private |
Definition at line 83 of file timedisc_rkfehlberg.f90.