CartesianBlockRotateCS Class Reference

#include <CartesianBlockRotateCS.H>

Inheritance diagram for CartesianBlockRotateCS:

Inheritance graph

List of all members.

Detailed Description

Single Cartesian block.

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

Public Member Functions

 CartesianBlockRotateCS (int a_blockNum, const IntVect &a_blockIndex, const RealVect &a_dx, const Box &a_blockBox, IntVect a_perm=IntVect(D_DECL6(0, 1, 2, 3, 4, 5)), IntVect a_sign=IntVect::Unit)
virtual ~CartesianBlockRotateCS ()
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
RealVect rotateFwd (const RealVect &a_xi) const
RealVect rotateBack (const RealVect &a_xi) const
VectorTransformation vecTransform () const

Protected Attributes

int m_blockNum
IntVect m_blockIndex
Box m_blockBox
IntVect m_perm
IntVect m_sign
RealVect m_blockCenter
VectorTransformation m_vecTransform

Constructor & Destructor Documentation

CartesianBlockRotateCS::CartesianBlockRotateCS ( int  a_blockNum,
const IntVect a_blockIndex,
const RealVect a_dx,
const Box a_blockBox,
IntVect  a_perm = IntVect(D_DECL6(0, 1, 2, 3, 4, 5)),
IntVect  a_sign = IntVect::Unit 


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

virtual CartesianBlockRotateCS::~CartesianBlockRotateCS (  )  [virtual]


Member Function Documentation

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

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

Implements NewFourthOrderCoordSys.

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

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

Implements NewFourthOrderCoordSys.

virtual Real CartesianBlockRotateCS::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 CartesianBlockRotateCS::volFlux ( FluxBox a_volFlux,
const FluxBox a_Nt,
const Box a_box 
) const [virtual]

computes the volume flux on the faces

Reimplemented from NewFourthOrderCoordSys.

RealVect CartesianBlockRotateCS::rotateFwd ( const RealVect a_xi  )  const

RealVect CartesianBlockRotateCS::rotateBack ( const RealVect a_xi  )  const

VectorTransformation CartesianBlockRotateCS::vecTransform (  )  const [inline]

References m_vecTransform.

Member Data Documentation

Referenced by vecTransform().

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

Generated on Mon Mar 25 03:27:36 2019 for Chombo + EB + MF by  doxygen 1.5.5