|
| LevelData () |
|
| LevelData (const DisjointBoxLayout &dp, int comps, const IntVect &ghost=IntVect::Zero, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
|
| LevelData (const DisjointBoxLayout &dp, int comps, const Copier &a_exchangeCopier, const IntVect &ghost=IntVect::Zero, const DataFactory< T > &a_factory=DefaultDataFactory< T >()) |
| constructor which also takes a copier for use in exchanges. More...
|
|
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 DisjointBoxLayout &dp, int comps, const Copier &a_exchangeCopier, 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 | localCopyTo (const Interval &srcComps, LevelData< T > &dest, const Interval &destComps) const |
| only works if source and dest have the same disjointboxlayout More...
|
|
virtual void | localCopyTo (LevelData< T > &dest) const |
| assumes source and dest have same interval More...
|
|
virtual void | copyTo (BoxLayoutData< T > &dest) const |
| Simplest case – assumes source and dest have same interval. More...
|
|
virtual void | copyTo (const Interval &srcComps, BoxLayoutData< T > &dest, const Interval &destComps, const Copier &copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
|
virtual void | copyTo (BoxLayoutData< T > &dest, const Copier &copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
| Simplest case – assumes source and dest have same interval. More...
|
|
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. More...
|
|
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. More...
|
|
virtual void | exchange (void) |
| Simplest case – do all components. More...
|
|
virtual void | exchange (const Copier &copier) |
| Simplest case – do all components. Accepts a pre-built copier. More...
|
|
virtual void | exchange (const Interval &comps) |
| Accepts an arbitrary component range. More...
|
|
virtual void | exchange (const Interval &comps, const Copier &copier, const LDOperator< T > &a_op=LDOperator< T >()) |
|
virtual void | exchangeBegin (const Copier &copier) |
| asynchronous exchange start. load and fire off messages. More...
|
|
virtual void | exchangeEnd () |
| finish asynchronous exchange More...
|
|
virtual void | exchangeNoOverlap (const Copier &copier) |
|
virtual void | setExchangeCopier (const Copier &copier) |
| allows one to set the default copier for all exchanges going forward. More...
|
|
const IntVect & | ghostVect () const |
|
const DisjointBoxLayout & | getBoxes () const |
|
const DisjointBoxLayout & | disjointBoxLayout () const |
|
virtual void | apply (void(*a_Function)(const Box &, int, T &)) |
|
virtual void | apply (const ApplyFunctor &) |
|
void | degenerate (LevelData< T > &a_to, const SliceSpec &a_ss) const |
|
void | degenerateLocalOnly (LevelData< T > &a_to, const SliceSpec &a_ss) const |
| version of degenerate which does strictly local copying More...
|
|
|
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 its valid defines into runtime errors also and make its 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. More...
|
|
| BoxLayoutData () |
|
virtual | ~BoxLayoutData () |
|
| BoxLayoutData (const BoxLayout &boxes, int comps, const DataFactory< T > &factory=DefaultDataFactory< T >()) |
|
virtual bool | threadSafe () const |
|
int | nComp () const |
|
Interval | interval () const |
|
void | generalCopyTo (const BoxLayout &a_destGrids, LayoutData< Vector< RefCountedPtr< T > > > &a_dest, const Interval &a_interval, const ProblemDomain &a_domain, const DataFactory< T > &factory=DefaultDataFactory< T >()) const |
| General data copying operation. More...
|
|
void | generalCopyTo (const BoxLayout &a_destGrids, LayoutData< Vector< RefCountedPtr< T > > > &a_dest, const Interval &a_interval, const ProblemDomain &a_domain, const Copier &a_copier, const DataFactory< T > &factory=DefaultDataFactory< T >()) const |
|
void | addTo (const Interval &a_srcComps, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const ProblemDomain &a_domain) const |
|
void | addTo (const Interval &a_srcComps, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const ProblemDomain &a_domain, const Copier &a_copier) const |
|
virtual void | apply (void(*a_Function)(const Box &box, int comps, T &t)) |
|
virtual bool | isDefined () const |
|
virtual void | clear () |
|
| LayoutData () |
|
| LayoutData (const BoxLayout &a_dp) |
|
virtual | ~LayoutData () |
|
DataIterator | dataIterator () const |
|
TimedDataIterator | timedDataIterator () const |
|
const T & | operator[] (const DataIndex &a_index) const |
| const accessor function More...
|
|
const T & | operator[] (const DataIterator &a_iterator) const |
| const accessor function More...
|
|
T & | operator[] (const DataIndex &a_index) |
| non-const accessor function More...
|
|
T & | operator[] (const DataIterator &a_iterator) |
| non-const accessor function More...
|
|
Box | box (const DataIndex &a_index) const |
|
Box | box (const DataIterator &a_iterator) const |
|
const BoxLayout & | boxLayout () const |
|
|
static int | s_verbosity = 0 |
|
void | setVector (const BoxLayoutData< T > &da, const Interval &srcComps, const Interval &destComps) |
|
void | allocateGhostVector (const DataFactory< T > &factory, const IntVect &ghost=IntVect::Zero) |
|
void | makeItSo (const Interval &a_srcComps, const BoxLayoutData< T > &a_src, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const Copier &a_copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
|
void | makeItSoBegin (const Interval &a_srcComps, const BoxLayoutData< T > &a_src, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const Copier &a_copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
|
void | makeItSoLocalCopy (const Interval &a_srcComps, const BoxLayoutData< T > &a_src, BoxLayoutData< T > &a_dest, const Interval &a_destComps, const Copier &a_copier, const LDOperator< T > &a_op=LDOperator< T >()) const |
|
void | makeItSoEnd (BoxLayoutData< T > &a_dest, const Interval &a_destComps, const LDOperator< T > &a_op=LDOperator< T >()) const |
|
void | completePendingSends () const |
|
void | allocateBuffers (const BoxLayoutData< 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 BoxLayoutData< 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 |
|
void | unpackReceivesToMe_append (LayoutData< Vector< RefCountedPtr< T > > > &a_dest, const Interval &a_destComps, int ncomp, const DataFactory< T > &factory, const LDOperator< T > &a_op) const |
|