sources_gravity_mod Module Reference
generic gravity terms module providing functionaly common to all gravity terms More...
Data Types | |
type | sources_gravity |
Functions/Subroutines | |
subroutine | initsources_gravity (this, Mesh, Physics, Fluxes, config, IO) |
subroutine | externalsources_single (this, Mesh, Physics, Fluxes, Sources, time, dt, pvar, cvar, sterm) |
Evaluates source-terms by gravitation. More... | |
subroutine | updategravity (this, Mesh, Physics, Fluxes, pvar, time, dt) |
Updates gravity of all gravity source modules. More... | |
subroutine | calcdiskheight (this, Mesh, Physics, pvar) |
subroutine | infosources (this, Mesh) |
subroutine | finalize (this) |
Variables | |
character(len=32), parameter | source_name = "gravity" |
Detailed Description
generic gravity terms module providing functionaly common to all gravity terms
Function/Subroutine Documentation
◆ calcdiskheight()
|
private |
Definition at line 227 of file sources_gravity.f90.
◆ externalsources_single()
|
private |
Evaluates source-terms by gravitation.
The gravitational source term evaluates all forces that are produced by gravitational participants.
- Todo:
- The treatment of energy sources should be handled in the physics module and not here!
Definition at line 154 of file sources_gravity.f90.
◆ finalize()
|
private |
Definition at line 283 of file sources_gravity.f90.
◆ infosources()
subroutine sources_gravity_mod::infosources | ( | class(sources_gravity), intent(in) | this, |
class(mesh_base), intent(in) | Mesh | ||
) |
Definition at line 275 of file sources_gravity.f90.
◆ initsources_gravity()
|
private |
- Todo:
- check if this is really sufficient, what we really need is to check whether the geometry is flat or not
Definition at line 82 of file sources_gravity.f90.
◆ updategravity()
subroutine sources_gravity_mod::updategravity | ( | class(sources_gravity), intent(inout), target | 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, | ||
real, intent(in) | time, | ||
real, intent(in) | dt | ||
) |
Updates gravity of all gravity source modules.
Definition at line 193 of file sources_gravity.f90.
Variable Documentation
◆ source_name
|
private |
Definition at line 57 of file sources_gravity.f90.