MultiCartesianCS Class Reference

#include <MultiCartesianCS.H>

Inheritance diagram for MultiCartesianCS:

Inheritance graph

List of all members.

Detailed Description

MultiBlockCoordSys consisting of rectangular array of boxes, with Cartesian mapping in each.

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
 MultiCartesianCS ()
 MultiCartesianCS (IntVect a_count, IntVect a_wraparound)
virtual ~MultiCartesianCS ()
virtual void define (const ProblemDomain &a_levelDomain, const RealVect &a_dx)

Protected Member Functions

void defineBoundaries ()

Protected Attributes

IntVect m_count
IntVect m_wraparound
Box m_blockIndicesBox
int m_numBlocks
BaseFab< int > m_blockIndices
Vector< IntVectm_origin

Private Member Functions

void operator= (const MultiCartesianCS &)
 MultiCartesianCS (const MultiCartesianCS &)

Constructor & Destructor Documentation

MultiCartesianCS::MultiCartesianCS (  ) 

Default constructor.

MultiCartesianCS::MultiCartesianCS ( IntVect  a_count,
IntVect  a_wraparound 


virtual MultiCartesianCS::~MultiCartesianCS (  )  [virtual]


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

Member Function Documentation

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

virtual void MultiCartesianCS::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> MultiCartesianCS::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 MultiCartesianCS::defineBoundaries (  )  [protected]

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

Member Data Documentation

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

Generated on Thu Apr 27 03:27:19 2017 for Chombo + EB + MF by  doxygen 1.5.5