11 #ifndef _CODIMCOPYMANAGER_H_ 12 #define _CODIMCOPYMANAGER_H_ 19 #include "NamespaceHeader.H" 83 #include "NamespaceFooter.H"
Helper class to manage CoDim exchange operations.
Definition: CoDimCopyManager.H:27
void define(const DisjointBoxLayout &a_grids, const BoxLayout &a_dest, const IntVect &a_ghostVect, bool a_exchange=false, int a_maxCoDim=SpaceDim)
define
Definition: CoDimCopyManagerI.H:46
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
one dimensional dynamic array
Definition: Vector.H:53
DisjointBoxLayout m_srcGrids
keep source and dest layouts around as well
Definition: CoDimCopyManager.H:71
Vector< Copier * > m_copierVect
Vector of CoDimCopiers.
Definition: CoDimCopyManager.H:64
void manageCopies(const LevelData< T > &a_data, BoxLayoutData< T > &a_dest) const
orchestrates CoDim copies
Definition: CoDimCopyManagerI.H:80
const int SpaceDim
Definition: SPACE.H:38
BoxLayout m_destGrids
Definition: CoDimCopyManager.H:74
const DisjointBoxLayout & srcGrids() const
returns reference to src layout used to define this object
Definition: CoDimCopyManager.H:57
new code
Definition: BoxLayoutData.H:170
Data on a BoxLayout.
Definition: BoxLayoutData.H:97
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
void manageExchanges(LevelData< T > &a_data) const
orchestrates CoDim exchanges
Definition: CoDimCopyManagerI.H:68
CoDimCopyManager()
null constructor
Definition: CoDimCopyManager.H:31
IntVect m_ghostVect
keep ghostVect around just in case
Definition: CoDimCopyManager.H:67
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
IntVect ghostVect() const
returns ghostVect used to define this object (to check for compatibility)
Definition: CoDimCopyManager.H:54
~CoDimCopyManager()
destructor
Definition: CoDimCopyManagerI.H:29
const BoxLayout & destGrids() const
returns reference to dest layout used to define this object
Definition: CoDimCopyManager.H:60