24 #include "NamespaceHeader.H" 26 template <
class Tcell,
class Tface>
38 template <
class T,
class Tface>
57 const IntVect& a_ghostVect) = 0;
69 virtual void realCoord(T& a_x,
const T& a_X)
const = 0;
72 virtual void mappedCoord(T& a_X,
const T& a_x)
const = 0;
78 virtual void pointwiseJ(T& a_J,
const T& a_Xi)
const = 0;
102 template <
class T,
class Tface>
120 const IntVect& a_ghostVect )
const = 0;
126 #include "NamespaceFooter.H"
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
virtual void regrid(const DisjointBoxLayout &a_newGrids)=0
CoordSysFactory()
Definition: CoordSys.H:110
virtual RealVect realCoord(const RealVect &a_X) const =0
given coordinate in mapped space, return its location in real space
virtual const LevelData< T > & getJ() const =0
returns second-order averaged cell-centered J
virtual Real pointwiseJ(const RealVect &a_X) const =0
Jacobian evaluated at location X in real space.
new code
Definition: BoxLayoutData.H:170
virtual const LevelData< T > & getCellVolumes() const =0
double Real
Definition: REAL.H:33
virtual const LevelData< Tface > & getNJinverse() const =0
returns averaged face-centered N/J
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: CoordSys.H:27
virtual const LevelData< Tface > & getJInverse() const =0
returns averaged face-centered 1/J
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
virtual RealVect mappedCoord(const RealVect &a_x) const =0
given coordinate in real space, return its location in the mapped space
virtual ~CoordSys()
Definition: CoordSys.H:50
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
virtual const LevelData< Tface > & getFaceMetricTerms() const =0
reuturns reference to face-averaged N metric terms
pure-virtual base class defining factory interface for CoordSys
Definition: CoordSys.H:103
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
virtual void define(const DisjointBoxLayout &a_grids, const ProblemDomain &a_domain, const RealVect &a_cellSpacing, const IntVect &a_ghostVect)=0
virtual void mappedGridDivergence(LevelData< T > &a_divF, const LevelData< Tface > &a_F) const =0
returns integral of divergence over mapped-grid cells
virtual ~CoordSysFactory()
Definition: CoordSys.H:114
CoordSys()
default constructor
Definition: CoordSys.H:43