Chombo + EB + MF
3.2
|
Virtual base class encapsulating mapped-grid coordinate systems. More...
#include <CoordSys.H>
Public Member Functions | |
CoordSys () | |
default constructor More... | |
virtual | ~CoordSys () |
virtual void | define (const DisjointBoxLayout &a_grids, const ProblemDomain &a_domain, const RealVect &a_cellSpacing, const IntVect &a_ghostVect)=0 |
virtual void | regrid (const DisjointBoxLayout &a_newGrids)=0 |
virtual RealVect | realCoord (const RealVect &a_X) const =0 |
given coordinate in mapped space, return its location in real space More... | |
virtual RealVect | mappedCoord (const RealVect &a_x) const =0 |
given coordinate in real space, return its location in the mapped space More... | |
virtual void | realCoord (T &a_x, const T &a_X) const =0 |
given coordinates in mapped space, return locations in real space More... | |
virtual void | mappedCoord (T &a_X, const T &a_x) const =0 |
given coordinate in real space, return its location in the mapped space More... | |
virtual Real | pointwiseJ (const RealVect &a_X) const =0 |
Jacobian evaluated at location X in real space. More... | |
virtual void | pointwiseJ (T &a_J, const T &a_Xi) const =0 |
Jacobian evaluated at locations Xi in mapped space. More... | |
virtual void | mappedGridDivergence (LevelData< T > &a_divF, const LevelData< Tface > &a_F) const =0 |
returns integral of divergence over mapped-grid cells More... | |
virtual const LevelData< Tface > & | getFaceMetricTerms () const =0 |
reuturns reference to face-averaged N metric terms More... | |
virtual const LevelData< T > & | getCellVolumes () const =0 |
virtual const LevelData< T > & | getJ () const =0 |
returns second-order averaged cell-centered J More... | |
virtual const LevelData< Tface > & | getJInverse () const =0 |
returns averaged face-centered 1/J More... | |
virtual const LevelData< Tface > & | getNJinverse () const =0 |
returns averaged face-centered N/J More... | |
Virtual base class encapsulating mapped-grid coordinate systems.
The CoordSys class is a virtual base class providing an API for performing operations in a mapped grid coordinate space. Implementations of specific coordinate systems will be provided by derived classes.
Destructor.
|
pure virtual |
Implemented in FourthOrderCoordSys, and CartesianCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
Implemented in CartesianCoordSys, and FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
given coordinate in mapped space, return its location in real space
Implemented in CartesianCoordSys, and FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
given coordinate in real space, return its location in the mapped space
Implemented in CartesianCoordSys, and FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
given coordinates in mapped space, return locations in real space
Implemented in FourthOrderCoordSys.
|
pure virtual |
given coordinate in real space, return its location in the mapped space
Implemented in FourthOrderCoordSys.
|
pure virtual |
Jacobian evaluated at location X in real space.
Implemented in FourthOrderCoordSys, and CartesianCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
Jacobian evaluated at locations Xi in mapped space.
Implemented in FourthOrderCoordSys.
|
pure virtual |
returns integral of divergence over mapped-grid cells
Implemented in FourthOrderCoordSys, and CartesianCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
reuturns reference to face-averaged N metric terms
Implemented in FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
Implemented in FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
returns second-order averaged cell-centered J
Implemented in FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
returns averaged face-centered 1/J
Implemented in FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().
|
pure virtual |
returns averaged face-centered N/J
Implemented in FourthOrderCoordSys.
Referenced by CoordSys< FArrayBox, FluxBox >::~CoordSys().