MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Modules | Functions/Subroutines | Variables
mod_variables.t File Reference

Go to the source code of this file.

Modules

module  mod_variables
 

Functions/Subroutines

integer function mod_variables::var_set_fluxvar (name_cons, name_prim, ix, need_bc)
 Set generic flux variable. More...
 
integer function mod_variables::var_set_extravar (name_cons, name_prim, ix)
 Set extra variable, which is not advected and has no boundary conditions. This has to be done after defining flux variables. More...
 
integer function mod_variables::var_set_rho ()
 Set density variable. More...
 
integer function, dimension(ndir) mod_variables::var_set_momentum (ndir)
 Set momentum variables. More...
 
integer function mod_variables::var_set_energy ()
 Set energy variable. More...
 
integer function, dimension(ndir) mod_variables::var_set_bfield (ndir)
 Set magnetic field variables. More...
 

Variables

integer mod_variables::nwflux = 0
 Number of flux variables. More...
 
integer mod_variables::nwfluxbc = 0
 Number of flux variables which need user to specify boundary type. More...
 
integer mod_variables::nwaux = 0
 Number of auxiliary variables. More...
 
integer mod_variables::nwextra = 0
 Number of extra variables. More...
 
integer mod_variables::nw = 0
 Total number of variables. More...
 
integer mod_variables::nws = 0
 Total number of stagger variables. More...
 
integer mod_variables::nvector = 0
 Number of vector variables (used for writing output) More...
 
integer, dimension(:), allocatable mod_variables::iw_vector
 Indices of vector variables. More...
 
integer, parameter mod_variables::max_nw = 50
 Maximum number of variables. More...
 
character(len=name_len), dimension(max_nw) mod_variables::prim_wnames
 Primitive variable names. More...
 
character(len=name_len), dimension(max_nw) mod_variables::cons_wnames
 Conservative variable names. More...
 
integer, protected mod_variables::iw_rho = -1
 Index of the (gas) density. More...
 
integer, dimension(:), allocatable, protected mod_variables::iw_mom
 Indices of the momentum density. More...
 
integer, protected mod_variables::iw_e = -1
 Index of the energy density. More...
 
integer, dimension(:), allocatable, protected mod_variables::iw_mag
 Indices of the magnetic field components. More...