|
Public Member Functions |
| LevelData () |
| LevelData (const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::TheZeroVector(), const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
virtual | ~LevelData () |
virtual void | define (const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::TheZeroVector(), 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 (const Interval &srcComps, BoxLayoutData< T > &dest, const Interval &destComps, const Copier &copier) const |
virtual void | copyTo (const Interval &srcComps, LevelData< T > &dest, const Interval &destComps) const |
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 | exchange (const Interval &comps) |
virtual void | exchange (const Interval &comps, const Copier &copier) |
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 Member Functions |
void | makeItSo (const Interval &a_srcComps, const LevelData< T > &a_src, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const Copier &a_copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
void | completePendingSends () const |
void | allocateBuffers (const LevelData< T > &a_src, const Interval &a_srcComps, const BoxLayoutData< T > &a_dest, const Interval &a_destComps, const Copier &a_copier, const LDOperator< T > &a_op) const |
void | writeSendDataFromMeIntoBuffers (const LevelData< T > &a_src, const Interval &a_srcComps, const LDOperator< T > &a_op) const |
void | postSendsFromMe () const |
void | postReceivesToMe () const |
void | unpackReceivesToMe (BoxLayoutData< T > &a_dest, const Interval &a_destComps, const LDOperator< T > &a_op) const |
Protected Attributes |
DisjointBoxLayout | m_disjointBoxLayout |
IntVect | m_ghost |
|
void * | m_sendbuffer |
size_t | m_sendcapacity |
void * | m_recbuffer |
size_t | m_reccapacity |