gravity_base_mod Module Reference

generic gravity terms module providing functionaly common to all gravity terms More...

Data Types

interface  CalcDiskHeight_single
 
interface  Finalize
 
type  gravity_base
 
interface  UpdateGravity_single
 

Variables

integer, parameter, public pointmass = 1
 
integer, parameter, public pointmass_binary = 2
 
integer, parameter, public spectral = 5
 
integer, parameter, public sboxspectral = 7
 
subroutine initgravity (this, Mesh, Physics, gravity_name, config, IO)
 
subroutine setoutput (this, Mesh, Physics, config, IO)
 
class(gravity_base) function, pointer getgravitypointer (list, stype)
 
subroutine finalize_base (this)
 

Detailed Description

generic gravity terms module providing functionaly common to all gravity terms

Author
Björn Sperling
Tobias Illenseer
Jannes Klee

Function/Subroutine Documentation

◆ finalize_base()

subroutine gravity_base_mod::finalize_base ( class(gravity_base this)
private

Definition at line 187 of file gravity_base.f90.

◆ getgravitypointer()

class(gravity_base) function, pointer gravity_base_mod::getgravitypointer ( class(gravity_base), target  list,
integer, intent(in)  stype 
)
private

Definition at line 171 of file gravity_base.f90.

◆ initgravity()

subroutine gravity_base_mod::initgravity ( class(gravity_base), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
character(len=*), intent(in)  gravity_name,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)
private

Definition at line 123 of file gravity_base.f90.

◆ setoutput()

subroutine gravity_base_mod::setoutput ( class(gravity_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 
)
private

Definition at line 145 of file gravity_base.f90.

Variable Documentation

◆ pointmass

integer, parameter, public gravity_base_mod::pointmass = 1

Definition at line 104 of file gravity_base.f90.

◆ pointmass_binary

integer, parameter, public gravity_base_mod::pointmass_binary = 2

Definition at line 105 of file gravity_base.f90.

◆ sboxspectral

integer, parameter, public gravity_base_mod::sboxspectral = 7

Definition at line 110 of file gravity_base.f90.

◆ spectral

integer, parameter, public gravity_base_mod::spectral = 5

Definition at line 108 of file gravity_base.f90.