19 #include "NamespaceHeader.H" 55 const Copier& a_exchangeCopier,
69 const Copier& a_exchangeCopier,
109 virtual void copyTo(const Interval& srcComps,
110 BoxLayoutData<T>& dest,
111 const Interval& destComps,
112 const Copier& copier) const;
115 virtual void copyTo(BoxLayoutData<T>& dest,
116 const Copier& copier) const;
261 virtual void apply(
void (*a_Function)(
const Box&,
int, T&) );
366 #include "NamespaceFooter.H"
virtual void operator()(const Box &, int, T &) const =0
void degenerate(LevelData< T > &a_to, const SliceSpec &a_ss) const
Definition: LevelDataI.H:612
LevelData()
Definition: LevelDataI.H:30
DisjointBoxLayout m_disjointBoxLayout
Definition: LevelData.H:313
Definition: LevelData.H:264
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
int size() const
Definition: Interval.H:75
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:152
friend void aliasLevelData(LevelData< T > &a_alias, LevelData< T > *a_original, const Interval &a_interval)
Data over a disjoint union of rectangles.
Definition: LevelData.H:353
Definition: SliceSpec.H:41
IntVect m_ghost
Definition: LevelData.H:315
Copier m_exchangeCopier
Definition: LevelData.H:321
void aliasLevelData(LevelData< T > &a_alias, LevelData< T > *a_original, const Interval &a_interval)
Data over a disjoint union of rectangles.
Definition: LevelData.H:353
virtual void exchange(void)
Simplest case – do all components.
Definition: LevelDataI.H:467
void degenerateLocalOnly(LevelData< T > &a_to, const SliceSpec &a_ss) const
version of degenerate which does strictly local copying
Definition: LevelDataI.H:635
virtual void exchangeBegin(const Copier &copier)
asynchronous exchange start. load and fire off messages.
Definition: LevelDataI.H:530
Factory object to data members of a BoxLayoutData container.
Definition: BoxLayoutData.H:70
virtual void apply(void(*a_Function)(const Box &, int, T &))
Structure for passing component ranges in code.
Definition: Interval.H:23
virtual void localCopyTo(const Interval &srcComps, LevelData< T > &dest, const Interval &destComps) const
only works if source and dest have the same disjointboxlayout
Definition: LevelDataI.H:256
new code
Definition: BoxLayoutData.H:170
Data on a BoxLayout.
Definition: BoxLayoutData.H:97
virtual void define(const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::Zero, const DataFactory< T > &a_factory=DefaultDataFactory< T >())
Definition: LevelDataI.H:90
virtual void copyTo(const Interval &srcComps, BoxLayoutData< T > &dest, const Interval &destComps) const
Definition: LevelDataI.H:218
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
const DisjointBoxLayout & getBoxes() const
Definition: LevelData.H:219
const IntVect & ghostVect() const
Definition: LevelData.H:186
virtual ~ApplyFunctor()
Definition: LevelData.H:266
static const IntVect Zero
Definition: IntVect.H:658
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
const DisjointBoxLayout & disjointBoxLayout() const
Definition: LevelData.H:225
Definition: BoxLayoutData.H:100
virtual ~LevelData()
Definition: LevelDataI.H:37
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Factory object to data members of a BoxLayoutData container.
Definition: BoxLayoutData.H:30
Definition: BoxLayoutData.H:173
virtual void exchangeEnd()
finish asynchronous exchange
Definition: LevelDataI.H:540
virtual void exchangeNoOverlap(const Copier &copier)
Definition: LevelDataI.H:504
virtual void setExchangeCopier(const Copier &copier)
allows one to set the default copier for all exchanges going forward.
Definition: LevelDataI.H:514