|
| | MyObserver (int spacetreeId=-1, int counter=0) |
| |
| virtual | ~MyObserver () |
| |
| void | beginTraversal (const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h) override |
| | Begin the traversal.
|
| |
| void | endTraversal (const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h) override |
| |
| void | enterCell (const peano4::grid::GridTraversalEvent &event) override |
| | Event is invoked per cell.
|
| |
| void | leaveCell (const peano4::grid::GridTraversalEvent &event) override |
| |
| TraversalObserver * | clone (int spacetreeId) override |
| | I use the clone to create one observer object per traversal thread.
|
| |
| std::vector< peano4::grid::GridControlEvent > | getGridControlEvents () override |
| |
| virtual | ~TraversalObserver () |
| |
| virtual void | loadCell (const GridTraversalEvent &event)=0 |
| |
| virtual void | storeCell (const GridTraversalEvent &event)=0 |
| |
| virtual std::vector< GridControlEvent > | getGridControlEvents () const =0 |
| |
| virtual void | exchangeAllVerticalDataExchangeStacks (int) |
| | Send local data from top level of local mesh to master and receive its top-down information in return.
|
| |
| virtual void | exchangeAllHorizontalDataExchangeStacks (bool) |
| | Exchange all the data along the domain boundaries.
|
| |
| virtual void | exchangeAllPeriodicBoundaryDataStacks () |
| | Exchange all periodic boundary data.
|
| |
| virtual void | streamDataFromSplittingTreeToNewTree (int) |
| | Stream data from current tree on which this routine is called to the new worker.
|
| |
| virtual void | streamDataFromJoiningTreeToMasterTree (int) |
| |
| virtual void | finishAllOutstandingSendsAndReceives () |
| | Wrap up all sends and receives, i.e.
|
| |
| virtual void | sendVertex (int, int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | sendFace (int, int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | sendCell (int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | receiveAndMergeVertex (int, int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | receiveAndMergeFace (int, int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | receiveAndMergeCell (int, SendReceiveContext, const GridTraversalEvent &) |
| |
| virtual void | deleteAllStacks () |
| |
Definition at line 18 of file MyObserver.h.
Begin the traversal.
This routine is called per spacetree instance, i.e. per subtree (thread) per rank. Within the usual implementation, everything will reside on the call stack anyway. If the routine is called on tree no 0, this operation has to establish the master data of the global root tree, i.e. ensure that the data of level -1 is technically there for the subsequent enterCell event, though this data is ill-defined.
- Parameters
-
| x | Root cell coordinates |
| h | Root cell size |
Implements peano4::grid::TraversalObserver.