CartesianBlockCS Class Reference

#include <CartesianBlockCS.H>

Inheritance diagram for CartesianBlockCS:

Inheritance graph
[legend]

List of all members.


Detailed Description

Single Cartesian block.

The CartesianBlockCS class implements the NewFourthOrderCoordSys class for a cartesian block.

Public Member Functions

 CartesianBlockCS (int a_blockNum, const IntVect &a_blockIndex, const RealVect &a_dx, const Box &a_blockBox)
 constructor
virtual ~CartesianBlockCS ()
RealVect realCoord (const RealVect &a_Xi) 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
virtual Real dXdXi (const RealVect &a_Xi, int a_dirX, int a_dirXi) const
 note that a_Xi is in mapped space.
virtual void volFlux (FluxBox &a_volFlux, const FluxBox &a_Nt, const Box &a_box) const
 computes the volume flux on the faces

Protected Attributes

int m_blockNum
IntVect m_blockIndex
Box m_blockBox


Constructor & Destructor Documentation

CartesianBlockCS::CartesianBlockCS ( int  a_blockNum,
const IntVect a_blockIndex,
const RealVect a_dx,
const Box a_blockBox 
)

constructor

a_blockNum: block number a_dx: cell spacing a_baseCell: index of bottom-left corner of this block in mapped space.

virtual CartesianBlockCS::~CartesianBlockCS (  )  [virtual]

Destructor.


Member Function Documentation

RealVect CartesianBlockCS::realCoord ( const RealVect a_Xi  )  const [virtual]

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

Implements NewFourthOrderCoordSys.

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

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

Implements NewFourthOrderCoordSys.

virtual Real CartesianBlockCS::dXdXi ( const RealVect a_Xi,
int  a_dirX,
int  a_dirXi 
) const [virtual]

note that a_Xi is in mapped space.

Implements NewFourthOrderCoordSys.

virtual void CartesianBlockCS::volFlux ( FluxBox a_volFlux,
const FluxBox a_Nt,
const Box a_box 
) const [virtual]

computes the volume flux on the faces

Reimplemented from NewFourthOrderCoordSys.


Member Data Documentation


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

Generated on Wed May 24 03:26:59 2017 for Chombo + EB + MF by  doxygen 1.5.5