Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

LibGeoDecomp::PatchProvider< GRID_TYPE > Class Template Reference

PatchProvider fills in grid patches into a Stepper, which is important for ghostzone synchronization, but could be used for steering, too. More...

#include <patchprovider.h>

Inherited by LibGeoDecomp::HiParSimulator::SteererAdapter< GRID_TYPE, CELL_TYPE >, LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Provider, and LibGeoDecomp::PatchLink< GRID_TYPE >::Provider.

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

List of all members.

Public Types

typedef GRID_TYPE::CellType CellType

Public Member Functions

virtual ~PatchProvider ()
virtual void setRegion (const Region< DIM > &region)
virtual void get (GRID_TYPE *destinationGrid, const Region< DIM > &patchableRegion, const std::size_t nanoStep, const bool remove=true)=0
virtual void get (GRID_TYPE *destinationGrid, const Region< DIM > &patchableRegion, const std::size_t nanoStep, hpx::lcos::local::spinlock &mutex, const bool remove=true)
virtual std::size_t nextAvailableNanoStep () const

Static Public Member Functions

static std::size_t infinity ()

Static Public Attributes

static const int DIM = GRID_TYPE::DIM

Protected Member Functions

void checkNanoStepGet (const std::size_t nanoStep) const

Protected Attributes

std::set< std::size_t > storedNanoSteps

Detailed Description

template<class GRID_TYPE>
class LibGeoDecomp::PatchProvider< GRID_TYPE >

PatchProvider fills in grid patches into a Stepper, which is important for ghostzone synchronization, but could be used for steering, too.


Member Typedef Documentation

template<class GRID_TYPE>
typedef GRID_TYPE::CellType LibGeoDecomp::PatchProvider< GRID_TYPE >::CellType

Constructor & Destructor Documentation

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

Member Function Documentation

template<class GRID_TYPE>
void LibGeoDecomp::PatchProvider< GRID_TYPE >::checkNanoStepGet ( const std::size_t  nanoStep  )  const [inline, protected]
template<class GRID_TYPE>
virtual void LibGeoDecomp::PatchProvider< GRID_TYPE >::get ( GRID_TYPE *  destinationGrid,
const Region< DIM > &  patchableRegion,
const std::size_t  nanoStep,
hpx::lcos::local::spinlock &  mutex,
const bool  remove = true 
) [inline, virtual]
template<class GRID_TYPE>
virtual void LibGeoDecomp::PatchProvider< GRID_TYPE >::get ( GRID_TYPE *  destinationGrid,
const Region< DIM > &  patchableRegion,
const std::size_t  nanoStep,
const bool  remove = true 
) [pure virtual]
template<class GRID_TYPE>
static std::size_t LibGeoDecomp::PatchProvider< GRID_TYPE >::infinity (  )  [inline, static]
template<class GRID_TYPE>
virtual std::size_t LibGeoDecomp::PatchProvider< GRID_TYPE >::nextAvailableNanoStep (  )  const [inline, virtual]
template<class GRID_TYPE>
virtual void LibGeoDecomp::PatchProvider< GRID_TYPE >::setRegion ( const Region< DIM > &  region  )  [inline, virtual]

Member Data Documentation

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

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