11 #ifndef _CARTESIANCOORDSYS_H_ 12 #define _CARTESIANCOORDSYS_H_ 27 #include "NamespaceHeader.H" 113 const IntVect& a_ghostVect)
const;
132 #include "NamespaceFooter.H" Vector< RealVect > m_dxVect
Definition: CartesianCoordSys.H:125
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
const DisjointBoxLayout & grids() const
access function – returns const reference to grids
Definition: FourthOrderCoordSys.H:176
one dimensional dynamic array
Definition: Vector.H:53
CartesianCoordSys()
default constructor
Definition: CartesianCoordSys.H:38
RealVect stretch() const
Definition: CartesianCoordSys.H:66
Vector< int > m_vectRefRatios
Definition: CartesianCoordSys.H:122
Vector< LevelData< FluxBox > *> m_dNdXi
Definition: CartesianCoordSys.H:78
Vector< ProblemDomain > m_vectDomains
Definition: CartesianCoordSys.H:119
Virtual base class encapsulating fourth-order CoordSys.
Definition: FourthOrderCoordSys.H:36
static const RealVect Unit
Definition: RealVect.H:427
virtual Real dXdXi(const RealVect &a_X, int a_dirX, int a_dirXi) const
note that a_X is in real (not mapped) space.
RealVect m_stretch
Definition: CartesianCoordSys.H:81
Real pointwiseJ(const RealVect &a_X) const
Jacobian evaluated at location X in real space.
void stretch(const RealVect &a_stretch)
Definition: CartesianCoordSys.H:53
void define(const DisjointBoxLayout &a_grids, const ProblemDomain &a_domain, const RealVect &a_cellSpacing, const IntVect &a_ghostVect)
this define should probably be called from the derived-class define
double Real
Definition: REAL.H:33
RealVect realCoord(const RealVect &a_X) const
given coordinate in mapped space, return its location in real space
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
void mappedGridDivergence(LevelData< FArrayBox > &a_divF, const LevelData< FluxBox > &a_F) const
returns integral of divergence over mapped-grid cells
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
virtual ~CartesianCoordSys()
void regrid(const DisjointBoxLayout &a_newGrids)
bool m_isDefined
Definition: CartesianCoordSys.H:83
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
RealVect m_stretch
Definition: CartesianCoordSys.H:128
factory for CartesianCoordSys
Definition: CartesianCoordSys.H:91
RealVect mappedCoord(const RealVect &a_x) const
given coordinate in real space, return its location in the mapped space
Basic Cartesian Coordinates.
Definition: CartesianCoordSys.H:34