#include <patchlink.h>
Inherits LibGeoDecomp::HpxSimulator::PatchLink::Link, and LibGeoDecomp::PatchProvider< GRID_TYPE >.
List of all members.
Public Member Functions |
| Provider (const Region< DIM > ®ion) |
| ~Provider () |
void | charge (long next, long last, long newStride) |
void | get (GRID_TYPE *grid, const Region< DIM > &, const std::size_t nanoStep, const bool remove=true) |
void | get (GRID_TYPE *grid, const Region< DIM > &, const std::size_t nanoStep, hpx::lcos::local::spinlock &gridMutex, const bool remove=true) |
void | recv (long nanoStep) |
void | setBuffer (boost::shared_ptr< BufferType > buffer, long nanoStep) |
Private Types |
typedef hpx::lcos::local::spinlock | MutexType |
typedef boost::shared_ptr
< hpx::lcos::local::promise
< boost::shared_ptr
< BufferType > > > | Receiver |
typedef std::map< std::size_t,
Receiver > | ReceiverMap |
Private Member Functions |
boost::shared_ptr< BufferType > | getBuffer (std::size_t nanoStep) |
ReceiverMap::iterator | createReceiver (std::size_t nanoStep) |
Private Attributes |
MutexType | mutex |
ReceiverMap | receiverMap |
template<class GRID_TYPE, class UPDATE_GROUP>
class LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Provider
Member Typedef Documentation
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
Constructor & Destructor Documentation
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
Member Function Documentation
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
Reimplemented from LibGeoDecomp::PatchProvider< GRID_TYPE >.
References LibGeoDecomp::PatchProvider< GRID_TYPE >::checkNanoStepGet(), LibGeoDecomp::erase_min(), LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Provider::getBuffer(), LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Link::lastNanoStep, LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Provider::recv(), LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Link::region, LibGeoDecomp::PatchProvider< GRID_TYPE >::storedNanoSteps, LibGeoDecomp::HpxSimulator::PatchLink< GRID_TYPE, UPDATE_GROUP >::Link::stride, and LibGeoDecomp::GridVecConv::vectorToGrid().
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
Member Data Documentation
template<class GRID_TYPE , class UPDATE_GROUP >
template<class GRID_TYPE , class UPDATE_GROUP >
The documentation for this class was generated from the following file: