|
Public Member Functions |
| LevelData () |
| LevelData (const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::Zero, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
virtual | ~LevelData () |
virtual void | define (const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::Zero, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
virtual void | define (const LevelData< T > &da, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
virtual void | define (const LevelData< T > &da, const Interval &comps, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
virtual void | copyTo (const Interval &srcComps, BoxLayoutData< T > &dest, const Interval &destComps) const |
virtual void | copyTo (BoxLayoutData< T > &dest) const |
| Simplest case -- assumes source and dest have same interval.
|
virtual void | copyTo (const Interval &srcComps, BoxLayoutData< T > &dest, const Interval &destComps, const Copier &copier) const |
virtual void | copyTo (BoxLayoutData< T > &dest, const Copier &copier) const |
| Simplest case -- assumes source and dest have same interval.
|
virtual void | copyTo (const Interval &srcComps, LevelData< T > &dest, const Interval &destComps) const |
virtual void | copyTo (LevelData< T > &dest) const |
| Simplest case -- assumes source and dest have same interval.
|
virtual void | copyTo (const Interval &srcComps, LevelData< T > &dest, const Interval &destComps, const Copier &copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
virtual void | copyTo (LevelData< T > &dest, const Copier &copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
| Simplest case -- assumes source and dest have same interval.
|
virtual void | exchange (const Interval &comps) |
virtual void | exchange (void) |
| Simplest case -- do all components.
|
virtual void | exchange (const Interval &comps, const Copier &copier) |
virtual void | exchange (const Copier &copier) |
| Simplest case -- do all components.
|
const IntVect & | ghostVect () const |
const DisjointBoxLayout & | getBoxes () const |
const DisjointBoxLayout & | disjointBoxLayout () const |
virtual void | apply (void(*a_Function)(const Box &box, int comps, T &t)) |
|
These functions will invoke error messages when invoked. C++ will ensure that constructors are not called for the base class by a user, but a 'define' function has no such protection, hence the need to prevent such usage. A runtime error is not a perfect solution...(strong construction gets around this *sigh*). classes that derive from LevelData will have to turn it's valid defines into runtime errors also and make it's own defines. Thus taking over the job of the compiler. |
virtual void | define (const BoxLayout &dp, int comps, const DataFactory< T > &factory) |
virtual void | define (const BoxLayoutData< T > &da, const DataFactory< T > &factory=DefaultDataFactory< T >()) |
virtual void | define (const BoxLayoutData< T > &da, const Interval &comps, const DataFactory< T > &factory=DefaultDataFactory< T >()) |
virtual void | define (const BoxLayout &deadFunction) |
| overridden and throws an error.
|
Protected Attributes |
DisjointBoxLayout | m_disjointBoxLayout |
IntVect | m_ghost |
Friends |
void | aliasLevelData (LevelData< T > &a_alias, LevelData< T > *a_original, const Interval &a_interval) |
| Data over a disjoint union of rectangles.
|