MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
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.
subroutine mod_gravity::gravity_init ()
 Initialize the module.
subroutine mod_gravity::gravity_add_source (qdt, ixil, ixol, wct, wctprim, w, x, energy, qsourcesplit, active)
 w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO
subroutine mod_gravity::gravity_get_dt (wprim, ixil, ixol, dtnew, dxd, x)

Variables

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