timedisc_modeuler_mod Module Reference

subroutines for modified Euler i.e. Runge-Kutta methods More...

Data Types

type  timedisc_modeuler
 

Functions/Subroutines

subroutine inittimedisc_modeuler (this, Mesh, Physics, config, IO)
 
subroutine solveode (this, Mesh, Physics, Sources, Fluxes, time, dt, err)
 
subroutine computecvar_modeuler (this, Mesh, Physics, Fluxes, eta, time, dt, cold, pvar, cvar, rhs, cnew)
 performs the time step update using the RHS More...
 
subroutine finalize (this)
 
elemental real function updatetimestep_modeuler (eta_n, dt, y0, yn, rhs)
 

Variables

character(len=32), parameter odesolver_name = "modified Euler"
 
real, dimension(3, 3), parameter eta = RESHAPE((/ 0.0, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.75, 1.0/3.0 /), (/3,3/))
 
real, dimension(3, 3), parameter zeta = RESHAPE((/ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5 /), (/3,3/))
 

Detailed Description

subroutines for modified Euler i.e. Runge-Kutta methods

Author
Tobias Illenseer
Björn Sperling
Jannes Klee

[shu1988]

Function/Subroutine Documentation

◆ computecvar_modeuler()

subroutine timedisc_modeuler_mod::computecvar_modeuler ( class(timedisc_modeuler), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(fluxes_base), intent(inout)  Fluxes,
real, intent(in)  eta,
real, intent(in)  time,
real, intent(in)  dt,
class(marray_compound), intent(inout)  cold,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  rhs,
class(marray_compound), intent(inout)  cnew 
)
private

performs the time step update using the RHS

Definition at line 204 of file timedisc_modeuler.f90.

◆ finalize()

subroutine timedisc_modeuler_mod::finalize ( class(timedisc_modeuler this)
private

Definition at line 273 of file timedisc_modeuler.f90.

◆ inittimedisc_modeuler()

subroutine timedisc_modeuler_mod::inittimedisc_modeuler ( class(timedisc_modeuler), 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 
)
private

Definition at line 90 of file timedisc_modeuler.f90.

◆ solveode()

subroutine timedisc_modeuler_mod::solveode ( class(timedisc_modeuler), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(sources_base), pointer  Sources,
class(fluxes_base), intent(inout)  Fluxes,
real, intent(in)  time,
real, intent(inout)  dt,
real, intent(inout)  err 
)
private

Definition at line 126 of file timedisc_modeuler.f90.

◆ updatetimestep_modeuler()

elemental real function timedisc_modeuler_mod::updatetimestep_modeuler ( real, intent(in)  eta_n,
real, intent(in)  dt,
real, intent(in)  y0,
real, intent(in)  yn,
real, intent(in)  rhs 
)
private

Definition at line 282 of file timedisc_modeuler.f90.

Variable Documentation

◆ eta

real, dimension(3,3), parameter timedisc_modeuler_mod::eta = RESHAPE((/ 0.0, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.75, 1.0/3.0 /), (/3,3/))
private

Definition at line 73 of file timedisc_modeuler.f90.

◆ odesolver_name

character(len=32), parameter timedisc_modeuler_mod::odesolver_name = "modified Euler"
private

Definition at line 72 of file timedisc_modeuler.f90.

◆ zeta

real, dimension(3,3), parameter timedisc_modeuler_mod::zeta = RESHAPE((/ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.5 /), (/3,3/))
private

Definition at line 75 of file timedisc_modeuler.f90.