physics_base_mod Module Reference

Basic physics module. More...

Data Types

interface  AddBackgroundVelocityX
 
interface  AddBackgroundVelocityY
 
interface  AddBackgroundVelocityZ
 
interface  AddFargoSources
 
interface  CalcFluxesX
 
interface  CalcFluxesY
 
interface  CalcFluxesZ
 
interface  CalculateBoundaryDataX
 
interface  CalculateBoundaryDataY
 
interface  CalculateBoundaryDataZ
 
interface  CalculateCharSystemX
 
interface  CalculateCharSystemY
 
interface  CalculateCharSystemZ
 
interface  CalcWaveSpeeds_center
 
interface  CalcWaveSpeeds_faces
 
interface  Convert2Conservative_all
 
interface  Convert2Conservative_subset
 
interface  Convert2Primitive_all
 
interface  Convert2Primitive_subset
 
interface  EnableOutput
 
interface  ExternalSources
 
interface  Finalize
 
interface  GeometricalSources
 
interface  Masks
 
interface  new_statevector
 
type  physics_base
 named integer constants for flavour of state vectors More...
 
interface  SubtractBackgroundVelocityX
 
interface  SubtractBackgroundVelocityY
 
interface  SubtractBackgroundVelocityZ
 

Arrays

integer, parameter, public euler_isotherm = 16
 
integer, parameter todo
 
integer, parameter should
 
integer, parameter become
 
integer, parameter in
 
integer, parameter the
 
integer, parameter future
 
integer, parameter, public euler = 17
 
subroutine initphysics (this, Mesh, config, IO, problem, pname)
 Initialization for the base physical object. More...
 
subroutine printconfiguration (this)
 
subroutine finalize_base (this)
 Destructor. More...
 

Detailed Description

Basic physics module.

Author
Tobias Illenseer
Björn Sperling
Manuel Jung
Jannes Klee

This module provides the abstract class for all physics classes.

Function/Subroutine Documentation

◆ finalize_base()

subroutine physics_base_mod::finalize_base ( class(physics_base), intent(inout)  this)
private

Destructor.

Definition at line 529 of file physics_base.f90.

◆ initphysics()

subroutine physics_base_mod::initphysics ( class(physics_base), intent(inout)  this,
class(mesh_base), intent(in Mesh,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO,
integer, intent(in problem,
character(len=32)  pname 
)
private

Initialization for the base physical object.

  • initialize constants and unit system
  • read out attributes from config dictrionary (getAttr(..))
  • allocation of arrays
  • specific tweaks (update soundspeed, etc.)
  • print infostring to terminal

Definition at line 427 of file physics_base.f90.

◆ printconfiguration()

subroutine physics_base_mod::printconfiguration ( class(physics_base), intent(inout)  this)
private

Definition at line 520 of file physics_base.f90.

Variable Documentation

◆ become

integer parameter physics_base_mod::become
private

Definition at line 391 of file physics_base.f90.

◆ euler

integer, parameter, public physics_base_mod::euler = 17

Definition at line 393 of file physics_base.f90.

◆ euler_isotherm

integer, parameter, public physics_base_mod::euler_isotherm = 16

Definition at line 391 of file physics_base.f90.

◆ future

integer parameter physics_base_mod::future
private

Definition at line 391 of file physics_base.f90.

◆ in

integer parameter physics_base_mod::in
private

Definition at line 391 of file physics_base.f90.

◆ should

integer parameter physics_base_mod::should
private

Definition at line 391 of file physics_base.f90.

◆ the

integer parameter physics_base_mod::the
private

Definition at line 391 of file physics_base.f90.

◆ todo

integer parameter physics_base_mod::todo
private

Definition at line 391 of file physics_base.f90.