Public Methods |
| Copier () |
| null constructor, copy constructor and operator= can be compiler defined.
|
| Copier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, bool a_exchange=false) |
| Copier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, bool a_exchange=false) |
| this constructor contains support for periodic BC's
|
| Copier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_destGhost, bool a_exchange=false) |
| Copier to copy data into the valid and invalid regions of a_dest from a_level.
|
| Copier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_destGhost, bool a_exchange=false) |
| Copier to copy data into the valid and invalid regions of a_dest from a_level with support for periodic BCs.
|
virtual | ~Copier () |
virtual void | define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, bool a_exchange=false) |
virtual void | define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, bool a_exchange=false) |
| contains support for periodic BCs
|
virtual void | define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_destGhost, bool a_exchange=false) |
virtual void | define (const BoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_destGhost, bool a_exchange=false) |
| contains support for periodic BCs
|
void | ghostDefine (const DisjointBoxLayout &a_src, const DisjointBoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_srcGhost) |
| performs the computation necessary for moving from ghost+valid cells to valid.
|
virtual void | clear () |
bool | check (const DisjointBoxLayout &from, const BoxLayout &to) const |
| check that this Copier object corresponds to these two BoxLayouts.
|
int | print () const |
bool | bufferAllocated () const |
void | setBufferAllocated (bool arg) const |
int | numLocalCellsToCopy () const |
int | numFromCellsToCopy () const |
int | numToCellsToCopy () const |
Protected Attributes |
Vector< MotionItem * > | m_localMotionPlan |
Vector< MotionItem * > | m_fromMotionPlan |
Vector< MotionItem * > | m_toMotionPlan |
bool | buffersAllocated |
Static Protected Attributes |
Pool | s_motionItemPool |
Friends |
class | CopyIterator |
void | dumpmemoryatexit () |
pains have been taken to not have this class be templated. Thus it does not actually perform the copying itself (which would require knowledge of the template class type). It provides an iterator interface to MotionItems that specify the required work. LevelData provides the copyTo methods.