The PatchAccepter collects grid snippets from steppers, either for IO or for ghostzone synchronization. More...
#include <patchaccepter.h>
Inherited by LibGeoDecomp::HiParSimulator::MockPatchAccepter< GRID_TYPE >, LibGeoDecomp::HiParSimulator::ParallelWriterAdapter< GRID_TYPE, CELL_TYPE >, LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Accepter, and LibGeoDecomp::PatchLink< GRID_TYPE >::Accepter.
Public Member Functions | |
virtual | ~PatchAccepter () |
virtual void | put (const GRID_TYPE &grid, const Region< DIM > &validRegion, const std::size_t nanoStep)=0 |
virtual void | setRegion (const Region< DIM > ®ion) |
virtual std::size_t | nextRequiredNanoStep () const |
void | pushRequest (const std::size_t nanoStep) |
Static Public Member Functions | |
static std::size_t | infinity () |
Static Public Attributes | |
static const int | DIM = GRID_TYPE::DIM |
Protected Member Functions | |
bool | checkNanoStepPut (const std::size_t nanoStep) const |
Protected Attributes | |
std::set< std::size_t > | requestedNanoSteps |
Friends | |
class | PatchBufferTest |
The PatchAccepter collects grid snippets from steppers, either for IO or for ghostzone synchronization.
virtual LibGeoDecomp::PatchAccepter< GRID_TYPE >::~PatchAccepter | ( | ) | [inline, virtual] |
bool LibGeoDecomp::PatchAccepter< GRID_TYPE >::checkNanoStepPut | ( | const std::size_t | nanoStep | ) | const [inline, protected] |
static std::size_t LibGeoDecomp::PatchAccepter< GRID_TYPE >::infinity | ( | ) | [inline, static] |
virtual std::size_t LibGeoDecomp::PatchAccepter< GRID_TYPE >::nextRequiredNanoStep | ( | ) | const [inline, virtual] |
Reimplemented in LibGeoDecomp::HiParSimulator::MockPatchAccepter< GRID_TYPE >.
void LibGeoDecomp::PatchAccepter< GRID_TYPE >::pushRequest | ( | const std::size_t | nanoStep | ) | [inline] |
Reimplemented in LibGeoDecomp::HiParSimulator::MockPatchAccepter< GRID_TYPE >.
Referenced by LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Accepter::charge(), LibGeoDecomp::HiParSimulator::ParallelWriterAdapter< GRID_TYPE, CELL_TYPE >::ParallelWriterAdapter(), LibGeoDecomp::HiParSimulator::ParallelWriterAdapter< GRID_TYPE, CELL_TYPE >::put(), LibGeoDecomp::HiParSimulator::CommonStepper< CELL_TYPE >::saveKernel(), and LibGeoDecomp::HiParSimulator::CommonStepper< CELL_TYPE >::saveRim().
virtual void LibGeoDecomp::PatchAccepter< GRID_TYPE >::put | ( | const GRID_TYPE & | grid, | |
const Region< DIM > & | validRegion, | |||
const std::size_t | nanoStep | |||
) | [pure virtual] |
virtual void LibGeoDecomp::PatchAccepter< GRID_TYPE >::setRegion | ( | const Region< DIM > & | region | ) | [inline, virtual] |
friend class PatchBufferTest [friend] |
const int LibGeoDecomp::PatchAccepter< GRID_TYPE >::DIM = GRID_TYPE::DIM [static] |
Reimplemented in LibGeoDecomp::HiParSimulator::MockPatchAccepter< GRID_TYPE >.
std::set<std::size_t> LibGeoDecomp::PatchAccepter< GRID_TYPE >::requestedNanoSteps [protected] |
Reimplemented in LibGeoDecomp::HiParSimulator::MockPatchAccepter< GRID_TYPE >.
Referenced by LibGeoDecomp::PatchAccepter< GRID_TYPE1 >::checkNanoStepPut(), LibGeoDecomp::PatchAccepter< GRID_TYPE1 >::nextRequiredNanoStep(), LibGeoDecomp::PatchAccepter< GRID_TYPE1 >::pushRequest(), LibGeoDecomp::HiParSimulator::ParallelWriterAdapter< GRID_TYPE, CELL_TYPE >::put(), LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Accepter::put(), and LibGeoDecomp::PatchLink< GRID_TYPE >::Accepter::sendHeader().