CartesianCoordSys Class Reference

#include <CartesianCoordSys.H>

Inheritance diagram for CartesianCoordSys:

Inheritance graph
[legend]

List of all members.


Detailed Description

Basic Cartesian Coordinates.

The CartesianCoordSys class implements the FourthOrderCoordSys class for simple Cartesian coordinates

Public Member Functions

 CartesianCoordSys ()
 default constructor
virtual ~CartesianCoordSys ()
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
void stretch (const RealVect &a_stretch)
void regrid (const DisjointBoxLayout &a_newGrids)
RealVect realCoord (const RealVect &a_X) const
 given coordinate in mapped space, return its location in real space
RealVect mappedCoord (const RealVect &a_x) const
 given coordinate in real space, return its location in the mapped space
Real pointwiseJ (const RealVect &a_X) const
 Jacobian evaluated at location X in real space.
RealVect stretch () const
void mappedGridDivergence (LevelData< FArrayBox > &a_divF, const LevelData< FluxBox > &a_F) const
 returns integral of divergence over mapped-grid cells
virtual Real dXdXi (const RealVect &a_X, int a_dirX, int a_dirXi) const
 note that a_X is in real (not mapped) space.

Protected Attributes

Vector< LevelData< FluxBox > * > m_dNdXi
RealVect m_stretch
bool m_isDefined


Constructor & Destructor Documentation

CartesianCoordSys::CartesianCoordSys (  )  [inline]

default constructor

References m_isDefined.

virtual CartesianCoordSys::~CartesianCoordSys (  )  [virtual]

Destructor.


Member Function Documentation

void CartesianCoordSys::define ( const DisjointBoxLayout a_grids,
const ProblemDomain a_domain,
const RealVect a_cellSpacing,
const IntVect a_ghostVect 
) [virtual]

this define should probably be called from the derived-class define

Reimplemented from FourthOrderCoordSys.

void CartesianCoordSys::stretch ( const RealVect a_stretch  )  [inline]

References m_stretch.

void CartesianCoordSys::regrid ( const DisjointBoxLayout a_newGrids  )  [virtual]

Implements FourthOrderCoordSys.

RealVect CartesianCoordSys::realCoord ( const RealVect a_X  )  const [virtual]

given coordinate in mapped space, return its location in real space

Implements FourthOrderCoordSys.

RealVect CartesianCoordSys::mappedCoord ( const RealVect a_x  )  const [virtual]

given coordinate in real space, return its location in the mapped space

Implements FourthOrderCoordSys.

Real CartesianCoordSys::pointwiseJ ( const RealVect a_X  )  const [virtual]

Jacobian evaluated at location X in real space.

Reimplemented from FourthOrderCoordSys.

RealVect CartesianCoordSys::stretch (  )  const [inline]

References m_stretch.

void CartesianCoordSys::mappedGridDivergence ( LevelData< FArrayBox > &  a_divF,
const LevelData< FluxBox > &  a_F 
) const [virtual]

returns integral of divergence over mapped-grid cells

Reimplemented from FourthOrderCoordSys.

virtual Real CartesianCoordSys::dXdXi ( const RealVect a_X,
int  a_dirX,
int  a_dirXi 
) const [virtual]

note that a_X is in real (not mapped) space.

Implements FourthOrderCoordSys.


Member Data Documentation

Referenced by stretch().

Referenced by CartesianCoordSys().


The documentation for this class was generated from the following file:

Generated on Thu Oct 19 03:26:58 2017 for Chombo + EB + MF by  doxygen 1.5.5