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

Go to the source code of this file.

Modules

module  mod_geometry
 Module with geometry-related routines (e.g., divergence, curl)
 

Functions/Subroutines

subroutine mod_geometry::set_coordinate_system (geom)
 Set the coordinate system to be used. More...
 
subroutine mod_geometry::set_pole
 
subroutine mod_geometry::putgridgeo (igrid)
 Deallocate geometry-related variables. More...
 
subroutine mod_geometry::get_surface_area (s, ixGL)
 calculate area of surfaces of cells More...
 
subroutine mod_geometry::gradient (q, ixIL, ixOL, idir, gradq)
 Calculate gradient of a scalar q within ixL in direction idir. More...
 
subroutine mod_geometry::gradientx (q, x, ixIL, ixOL, idir, gradq, fourth_order)
 Calculate gradient of a scalar q in direction idir at cell interfaces. More...
 
subroutine mod_geometry::gradientq (q, x, ixIL, ixOL, idir, gradq)
 Calculate gradient of a scalar q in direction idir at cell interfaces. More...
 
subroutine mod_geometry::gradients (q, ixIL, ixOL, idir, gradq)
 Calculate gradient of a scalar q within ixL in direction idir first use limiter to go from cell center to edge. More...
 
subroutine mod_geometry::divvector (qvec, ixIL, ixOL, divq, fourthorder, sixthorder)
 Calculate divergence of a vector qvec within ixL. More...
 
subroutine mod_geometry::divvectors (qvec, ixIL, ixOL, divq)
 Calculate divergence of a vector qvec within ixL using limited extrapolation to cell edges. More...
 
subroutine mod_geometry::curlvector (qvec, ixIL, ixOL, curlvec, idirmin, idirmin0, ndir0, fourthorder)
 Calculate curl of a vector qvec within ixL Options to employ standard second order CD evaluations use Gauss theorem for non-Cartesian grids use Stokes theorem for non-Cartesian grids. More...
 
subroutine mod_geometry::curlvector_trans (qvec, qvecc, ixIL, ixOL, curlvec, idim, idirmin, idirmin0, ndir0)
 Calculate idim transverse components of curl of a vector qvec within ixL Options to employ standard second order CD evaluations use Gauss theorem for non-Cartesian grids use Stokes theorem for non-Cartesian grids. More...
 

Variables

integer mod_geometry::coordinate =-1
 
integer, parameter mod_geometry::cartesian = 0
 
integer, parameter mod_geometry::cartesian_stretched = 1
 
integer, parameter mod_geometry::cylindrical = 2
 
integer, parameter mod_geometry::spherical = 3
 
integer, parameter mod_geometry::cartesian_expansion = 4
 
integer mod_geometry::type_curl =0
 
integer, parameter mod_geometry::central =1
 
integer, parameter mod_geometry::gaussbased =2
 
integer, parameter mod_geometry::stokesbased =3