|
| 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...
|
|
template<class Tcell, class Tface>
class CoordSys< Tcell, Tface >
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.