MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
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.
subroutine mod_geometry::set_pole
subroutine mod_geometry::putgridgeo (igrid)
 Deallocate geometry-related variables.
subroutine mod_geometry::get_surface_area (s, ixgl)
 calculate area of surfaces of cells
subroutine mod_geometry::gradient (q, ixil, ixol, idir, gradq, nth_in)
subroutine mod_geometry::gradientl (q, ixil, ixol, idir, gradq)
subroutine mod_geometry::gradientf (q, x, ixil, ixol, idir, gradq, nth_in, pm_in)
subroutine mod_geometry::divvector (qvec, ixil, ixol, divq, nth_in)
subroutine mod_geometry::divvectors (qvec, ixil, ixol, divq)
 Calculate divergence of a vector qvec within ixL using limited extrapolation to cell edges.
subroutine mod_geometry::laplacian (q, ixil, ixol, laplq, nth_in)
subroutine mod_geometry::laplacian_of_vector (qvec, ixil, ixol, lapl_qvec)
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.
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.

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