fluxes_base_mod Module Reference

base module for numerical flux functions More...

Data Types

interface  CalculateFluxes
 
interface  Finalize
 
type  fluxes_base
 

Functions/Subroutines

subroutine finalize_base (this)
 Destructor. More...
 

various data fields

integer, parameter, public kt = 1
 
subroutine initfluxes (this, Mesh, Physics, config, IO, ftype, fname)
 Initialize Fluxes. More...
 
real function, dimension(physics%vnum) getboundaryflux (this, Mesh, Physics, direction, comm)
 Get fluxes at boundaries. More...
 
pure subroutine calculatefacedata (this, Mesh, Physics, pvar, cvar)
 Calcualtes face data with reconstruction methods (e. g. limiters) More...
 

Detailed Description

base module for numerical flux functions

Author
Tobias Illenseer
Manuel Jung
Jannes Klee
Todo:
implement constructor and other fluxes, e.g. HLLC

Function/Subroutine Documentation

◆ calculatefacedata()

pure subroutine fluxes_base_mod::calculatefacedata ( class(fluxes_base), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Calcualtes face data with reconstruction methods (e. g. limiters)

Definition at line 368 of file fluxes_base.f90.

◆ finalize_base()

subroutine fluxes_base_mod::finalize_base ( class(fluxes_base), intent(inout)  this)

Destructor.

Definition at line 400 of file fluxes_base.f90.

◆ getboundaryflux()

real function, dimension(physics%vnum) fluxes_base_mod::getboundaryflux ( class(fluxes_base), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
integer, intent(in)  direction,
integer, optional  comm 
)
private

Get fluxes at boundaries.

Todo:
MPI communication

Definition at line 220 of file fluxes_base.f90.

◆ initfluxes()

subroutine fluxes_base_mod::initfluxes ( class(fluxes_base), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO,
integer  ftype,
character(len=*)  fname 
)
private

Initialize Fluxes.

Definition at line 119 of file fluxes_base.f90.

Variable Documentation

◆ kt

integer, parameter, public fluxes_base_mod::kt = 1

Definition at line 103 of file fluxes_base.f90.