sources_generic_mod Module Reference

module to manage list of source terms More...

Data Types

type  sources_list
 container class to manage the list of source terms More...
 

Methods

integer, parameter list = 0
 
integer, parameter, public gravity = 1
 
integer, parameter, public viscosity = 3
 
integer, parameter, public c_accel = 4
 
integer, parameter, public cooling = 5
 
integer, parameter, public rotating_frame = 20
 
integer, parameter, public disk_cooling = 24
 
integer, parameter, public planet_heating = 27
 
integer, parameter, public planet_cooling = 28
 
integer, parameter, public shearbox = 30
 
subroutine initsources (this, Mesh, Physics, Fluxes, config, IO)
 
subroutine externalsources (this, Mesh, Physics, Fluxes, Sources, time, dt, pvar, cvar, sterm)
 
subroutine calctimestep (this, Mesh, Physics, Fluxes, pvar, cvar, time, dt, dtcause)
 
subroutine finalize (this)
 destructor for the sources list More...
 

Detailed Description

module to manage list of source terms

Author
Manuel Jung
Lars Boesch
Jannes Klee
Tobias Illenseer

This module allocates the sources class and decides which specific source to use from the config.

Function/Subroutine Documentation

◆ calctimestep()

subroutine sources_generic_mod::calctimestep ( class(sources_list), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(fluxes_base), intent(in)  Fluxes,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
real, intent(in)  time,
real, intent(inout)  dt,
integer, intent(out)  dtcause 
)
private

Definition at line 264 of file sources_generic.f90.

◆ externalsources()

subroutine sources_generic_mod::externalsources ( class(sources_list), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(fluxes_base), intent(in)  Fluxes,
class(sources_base), intent(inout)  Sources,
real, intent(in)  time,
real, intent(in)  dt,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)
private

Definition at line 220 of file sources_generic.f90.

◆ finalize()

subroutine sources_generic_mod::finalize ( type(sources_list this)
private

destructor for the sources list

Definition at line 296 of file sources_generic.f90.

◆ initsources()

subroutine sources_generic_mod::initsources ( class(sources_list), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
class(fluxes_base), intent(in)  Fluxes,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)
private

Definition at line 100 of file sources_generic.f90.

Here is the call graph for this function:

Variable Documentation

◆ c_accel

integer, parameter, public sources_generic_mod::c_accel = 4

Definition at line 75 of file sources_generic.f90.

◆ cooling

integer, parameter, public sources_generic_mod::cooling = 5

Definition at line 76 of file sources_generic.f90.

◆ disk_cooling

integer, parameter, public sources_generic_mod::disk_cooling = 24

Definition at line 79 of file sources_generic.f90.

◆ gravity

integer, parameter, public sources_generic_mod::gravity = 1

Definition at line 72 of file sources_generic.f90.

◆ list

integer, parameter sources_generic_mod::list = 0
private

Definition at line 71 of file sources_generic.f90.

◆ planet_cooling

integer, parameter, public sources_generic_mod::planet_cooling = 28

Definition at line 83 of file sources_generic.f90.

◆ planet_heating

integer, parameter, public sources_generic_mod::planet_heating = 27

Definition at line 82 of file sources_generic.f90.

◆ rotating_frame

integer, parameter, public sources_generic_mod::rotating_frame = 20

Definition at line 77 of file sources_generic.f90.

◆ shearbox

integer, parameter, public sources_generic_mod::shearbox = 30

Definition at line 85 of file sources_generic.f90.

◆ viscosity

integer, parameter, public sources_generic_mod::viscosity = 3

Definition at line 74 of file sources_generic.f90.