MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
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)
 Look up equilibrium (rho, p) at an arbitrary coordinate along the gravity direction. Uses nearest-cell lookup from the grid-aligned table.
 

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