Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends

LibGeoDecomp::PatchAccepter< GRID_TYPE > Class Template Reference

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.

Collaboration diagram for LibGeoDecomp::PatchAccepter< GRID_TYPE >:
Collaboration graph
[legend]

List of all members.

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 > &region)
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

Detailed Description

template<class GRID_TYPE>
class LibGeoDecomp::PatchAccepter< GRID_TYPE >

The PatchAccepter collects grid snippets from steppers, either for IO or for ghostzone synchronization.


Constructor & Destructor Documentation

template<class GRID_TYPE>
virtual LibGeoDecomp::PatchAccepter< GRID_TYPE >::~PatchAccepter (  )  [inline, virtual]

Member Function Documentation

template<class GRID_TYPE>
bool LibGeoDecomp::PatchAccepter< GRID_TYPE >::checkNanoStepPut ( const std::size_t  nanoStep  )  const [inline, protected]
template<class GRID_TYPE>
static std::size_t LibGeoDecomp::PatchAccepter< GRID_TYPE >::infinity (  )  [inline, static]
template<class GRID_TYPE>
virtual std::size_t LibGeoDecomp::PatchAccepter< GRID_TYPE >::nextRequiredNanoStep (  )  const [inline, virtual]
template<class GRID_TYPE>
void LibGeoDecomp::PatchAccepter< GRID_TYPE >::pushRequest ( const std::size_t  nanoStep  )  [inline]
template<class GRID_TYPE>
virtual void LibGeoDecomp::PatchAccepter< GRID_TYPE >::put ( const GRID_TYPE &  grid,
const Region< DIM > &  validRegion,
const std::size_t  nanoStep 
) [pure virtual]
template<class GRID_TYPE>
virtual void LibGeoDecomp::PatchAccepter< GRID_TYPE >::setRegion ( const Region< DIM > &  region  )  [inline, virtual]

Friends And Related Function Documentation

template<class GRID_TYPE>
friend class PatchBufferTest [friend]

Member Data Documentation

template<class GRID_TYPE>
const int LibGeoDecomp::PatchAccepter< GRID_TYPE >::DIM = GRID_TYPE::DIM [static]
template<class GRID_TYPE>
std::set<std::size_t> LibGeoDecomp::PatchAccepter< GRID_TYPE >::requestedNanoSteps [protected]

The documentation for this class was generated from the following file: