TripleCartesianCS Class Reference

#include <TripleCartesianCS.H>

Inheritance diagram for TripleCartesianCS:

Inheritance graph

List of all members.

Detailed Description

MultiBlockCoordSys consisting of three blocks in each dimension.

Public Member Functions

virtual void blockRemapping (RealVect &a_xi_valid, int &a_n_valid, const RealVect &a_xiSrc, int a_nSrc) const
 block mapping conversion function
virtual Vector< RealVectdisplacements (const Vector< RealVect > &a_dstCoords, const Vector< int > &a_dstBlocks, const RealVect &a_srcCoords, int a_srcBlock) const
 return displacements
Constructors, destructor and defines
 TripleCartesianCS ()
virtual ~TripleCartesianCS ()
virtual void define (const ProblemDomain &a_levelDomain, const RealVect &a_dx)

Protected Member Functions

void defineBoundaries ()

Protected Attributes

Tuple< IntVect, NUMBLOCKSm_origin
Box m_blockIndicesBox
BaseFab< int > m_blockIndices

Static Protected Attributes

static const int NUMBLOCKS = D_TERM6(3, *3, *3, *3, *3, *3)

Private Member Functions

void operator= (const TripleCartesianCS &)
 TripleCartesianCS (const TripleCartesianCS &)

Constructor & Destructor Documentation

TripleCartesianCS::TripleCartesianCS (  ) 

Default constructor.

virtual TripleCartesianCS::~TripleCartesianCS (  )  [virtual]


TripleCartesianCS::TripleCartesianCS ( const TripleCartesianCS  )  [inline, private]

Member Function Documentation

virtual void TripleCartesianCS::define ( const ProblemDomain a_levelDomain,
const RealVect a_dx 
) [virtual]

virtual void TripleCartesianCS::blockRemapping ( RealVect a_xi_valid,
int &  a_n_valid,
const RealVect a_xiSrc,
int  a_nSrc 
) const [virtual]

block mapping conversion function

given xi_k in block k, returns which block (k_valid) contains that location in its valid region and its location in that block's computational coordinate space.

Implements MultiBlockCoordSys.

virtual Vector<RealVect> TripleCartesianCS::displacements ( const Vector< RealVect > &  a_dstCoords,
const Vector< int > &  a_dstBlocks,
const RealVect a_srcCoords,
int  a_srcBlock 
) const [virtual]

return displacements

Return a Vector of same length as a_dstCoords and a_dstBlocks, with component i of this Vector being the displacement from point a_srcCoords in mapped coordinates of block a_srcBlock to point a_dstCoords[i] in mapped coordinates of block a_dstBlocks[i].

If this method is not overwritten, then component i of the returned Vector is simply the displacement in physical coordinates from a_srcCoords to a_dstCoords[i].

Reimplemented from MultiBlockCoordSys.

void TripleCartesianCS::defineBoundaries (  )  [protected]

void TripleCartesianCS::operator= ( const TripleCartesianCS  )  [inline, private]

Member Data Documentation

const int TripleCartesianCS::NUMBLOCKS = D_TERM6(3, *3, *3, *3, *3, *3) [static, protected]

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

Generated on Thu Apr 18 03:28:07 2019 for Chombo + EB + MF by  doxygen 1.5.5