MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Modules | Functions/Subroutines | Variables
mod_gravity.t File Reference

Go to the source code of this file.

Modules

module  mod_gravity
 Module for including gravity in (magneto)hydrodynamics simulations.
 

Functions/Subroutines

subroutine mod_gravity::grav_params_read (files)
 Read this module's parameters from a file. More...
 
subroutine mod_gravity::gravity_init ()
 Initialize the module. More...
 
subroutine mod_gravity::gravity_add_source (qdt, ixIL, ixOL, wCT, wCTprim, w, x, energy, rhov, qsourcesplit, active)
 w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO More...
 
subroutine mod_gravity::gravity_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 

Variables

logical mod_gravity::grav_split = .false.
 source split or not More...