MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_wb_atmosphere.t File Reference

Go to the source code of this file.

Modules

module  mod_wb_atmosphere
 Well-balanced atmosphere module.

Functions/Subroutines

subroutine, public mod_wb_atmosphere::wb_atmos_init (pa, ra, grav, jmax, ds, gzone, grav_dir, irho, ip)
 Build grid-aligned HSE tables from a fine 1D reference profile.
subroutine, public mod_wb_atmosphere::wb_atmos_set_w (ixil, ixol, w, x)
 Set w to the equilibrium state (rho, v=0, p) at each cell position.
subroutine, public mod_wb_atmosphere::wb_atmos_get_eq (x_grav, rho_eq, p_eq)
 Equilibrium (rho, p) of the grid-aligned table at a coordinate x_grav along the gravity direction: the node value at a node, else log-linear between the two nodes around it.

Variables

double precision, dimension(:), allocatable, public mod_wb_atmosphere::wb_pa
 Grid-aligned discrete HSE (built at finest AMR resolution).
double precision, dimension(:), allocatable, public mod_wb_atmosphere::wb_ra
 equilibrium density
integer, public mod_wb_atmosphere::wb_n_grid = 0
 table size