Proto  3.2
Public Member Functions | Private Attributes | List of all members
Proto::MBDataPoint Class Reference

#include <Proto_MBDataPoint.H>

Public Member Functions

 MBDataPoint ()=default
 
 MBDataPoint (const MBDataPoint &a_rhs)
 
 MBDataPoint (MBIndex a_dstIndex, Point a_dstPoint, const MBDisjointBoxLayout &a_layout)
 
 MBDataPoint (MBIndex a_dstIndex, Point a_dstPoint, MBIndex a_srcIndex, Point a_srcPoint, const MBDisjointBoxLayout &a_layout)
 
MBDataPoint & operator= (const MBDataPoint &a_rhs)=default
 
bool operator== (const MBDataPoint &a_rhs) const
 
bool operator< (const MBDataPoint &a_rhs) const
 
bool inBoundary () const
 
const Point & dstPoint () const
 
const MBIndex & dstIndex () const
 
const BlockIndex & dstBlock () const
 
const Point & srcPoint () const
 
const MBIndex & srcIndex () const
 
const BlockIndex & srcBlock () const
 
const Point & boundaryDir () const
 
template<typename T , unsigned int C, MemType MEM, Centering CTR>
BoxData< T, C, MEM > & dstPatch (MBLevelBoxData< T, C, MEM, CTR > &a_data) const
 
template<typename T , unsigned int C, MemType MEM, Centering CTR>
BoxData< T, C, MEM > & srcPatch (MBLevelBoxData< T, C, MEM, CTR > &a_data) const
 
MBDataPoint shift (Point a_dstShift, const MBDisjointBoxLayout &a_layout) const
 

Private Attributes

MBIndex m_dstIndex
 
MBIndex m_srcIndex
 
Point m_srcPoint
 
Point m_dstPoint
 
BlockIndex m_srcBlock
 
BlockIndex m_dstBlock
 
Point m_boundaryDir
 

Constructor & Destructor Documentation

◆ MBDataPoint() [1/4]

Proto::MBDataPoint::MBDataPoint ( )
inlinedefault

◆ MBDataPoint() [2/4]

Proto::MBDataPoint::MBDataPoint ( const MBDataPoint &  a_rhs)
inline

◆ MBDataPoint() [3/4]

Proto::MBDataPoint::MBDataPoint ( MBIndex  a_dstIndex,
Point  a_dstPoint,
const MBDisjointBoxLayout &  a_layout 
)
inline

◆ MBDataPoint() [4/4]

Proto::MBDataPoint::MBDataPoint ( MBIndex  a_dstIndex,
Point  a_dstPoint,
MBIndex  a_srcIndex,
Point  a_srcPoint,
const MBDisjointBoxLayout &  a_layout 
)
inline

Member Function Documentation

◆ operator=()

MBDataPoint& Proto::MBDataPoint::operator= ( const MBDataPoint &  a_rhs)
inlinedefault

◆ operator==()

bool Proto::MBDataPoint::operator== ( const MBDataPoint &  a_rhs) const
inline

◆ operator<()

bool Proto::MBDataPoint::operator< ( const MBDataPoint &  a_rhs) const
inline

◆ inBoundary()

bool Proto::MBDataPoint::inBoundary ( ) const
inline

◆ dstPoint()

const Point& Proto::MBDataPoint::dstPoint ( ) const
inline

References m_dstPoint.

Referenced by Proto::operator<<().

◆ dstIndex()

const MBIndex& Proto::MBDataPoint::dstIndex ( ) const
inline

References m_dstIndex.

◆ dstBlock()

const BlockIndex& Proto::MBDataPoint::dstBlock ( ) const
inline

References m_dstBlock.

Referenced by Proto::operator<<().

◆ srcPoint()

const Point& Proto::MBDataPoint::srcPoint ( ) const
inline

References m_srcPoint.

Referenced by Proto::operator<<().

◆ srcIndex()

const MBIndex& Proto::MBDataPoint::srcIndex ( ) const
inline

References m_srcIndex.

◆ srcBlock()

const BlockIndex& Proto::MBDataPoint::srcBlock ( ) const
inline

References m_srcBlock.

Referenced by Proto::operator<<().

◆ boundaryDir()

const Point& Proto::MBDataPoint::boundaryDir ( ) const
inline

References dstPatch(), and m_boundaryDir.

Referenced by Proto::operator<<().

◆ dstPatch()

template<typename T , unsigned int C, MemType MEM, Centering CTR>
BoxData< T, C, MEM > & Proto::MBDataPoint::dstPatch ( MBLevelBoxData< T, C, MEM, CTR > &  a_data) const
inline

Referenced by boundaryDir().

◆ srcPatch()

template<typename T , unsigned int C, MemType MEM, Centering CTR>
BoxData< T, C, MEM > & Proto::MBDataPoint::srcPatch ( MBLevelBoxData< T, C, MEM, CTR > &  a_data) const
inline

◆ shift()

MBDataPoint Proto::MBDataPoint::shift ( Point  a_dstShift,
const MBDisjointBoxLayout &  a_layout 
) const
inline

Member Data Documentation

◆ m_dstIndex

MBIndex Proto::MBDataPoint::m_dstIndex
private

Referenced by dstIndex().

◆ m_srcIndex

MBIndex Proto::MBDataPoint::m_srcIndex
private

Referenced by srcIndex().

◆ m_srcPoint

Point Proto::MBDataPoint::m_srcPoint
private

Referenced by srcPoint().

◆ m_dstPoint

Point Proto::MBDataPoint::m_dstPoint
private

Referenced by dstPoint().

◆ m_srcBlock

BlockIndex Proto::MBDataPoint::m_srcBlock
private

Referenced by srcBlock().

◆ m_dstBlock

BlockIndex Proto::MBDataPoint::m_dstBlock
private

Referenced by dstBlock().

◆ m_boundaryDir

Point Proto::MBDataPoint::m_boundaryDir
private

Referenced by boundaryDir(), and inBoundary().


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