|
template<typename... Args> |
| CombinedInPlaceCpuPackInfo (std::shared_ptr< lbm::TimestepTracker > &tracker, Args &&... args) |
|
| ~CombinedInPlaceCpuPackInfo () override=default |
|
bool | constantDataExchange () const override |
| Should return true if the amount of data that is packed for a given block in direction "dir" is guaranteed to remain constant over time. More...
|
|
bool | threadsafeReceiving () const override |
| Must return false if calling unpackData and/or communicateLocal is not thread-safe. More...
|
|
void | unpackData (IBlock *receiver, stencil::Direction dir, mpi::RecvBuffer &buffer) override |
| Unpacks received Data. More...
|
|
void | communicateLocal (const IBlock *sender, IBlock *receiver, stencil::Direction dir) override |
| Function to copy data from one local block to another local block. More...
|
|
void | packDataImpl (const IBlock *sender, stencil::Direction dir, mpi::SendBuffer &outBuffer) const override |
| Packs data from a block into a send buffer. More...
|
|
void | pack (stencil::Direction dir, unsigned char *buffer, IBlock *block) const |
|
void | unpack (stencil::Direction dir, unsigned char *buffer, IBlock *block) const |
|
uint_t | size (stencil::Direction dir, IBlock *block) const |
|
| UniformPackInfo ()=default |
|
virtual | ~UniformPackInfo ()=default |
|
void | packData (const IBlock *sender, stencil::Direction dir, mpi::SendBuffer &buffer) const |
| Packs data from a block into a send buffer. More...
|
|
virtual void | beforeStartCommunication () |
| This function is called once before the communication is started by the UniformBufferedScheme. More...
|
|
virtual void | afterStartCommunication () |
| This function is called once after the communication has been started by the UniformBufferedScheme. More...
|
|
virtual void | beforeWait () |
| This function is called once before the UniformBufferedScheme waits for the communication to finish. More...
|
|
virtual void | afterWait () |
| This function is called once after the communication has been finished by the UniformBufferedScheme. More...
|
|
template<typename EvenPackInfo , typename OddPackInfo >
Should return true if the amount of data that is packed for a given block in direction "dir" is guaranteed to remain constant over time.
False otherwise. If you are not sure what to return, return false! Returning false is always save. Falsely return true will lead to errors! However, if the data can be guaranteed to remain constant over time, returning true enables performance optimizations during the communication.
Implements walberla::communication::UniformPackInfo.
template<typename EvenPackInfo , typename OddPackInfo >
Must return false if calling unpackData and/or communicateLocal is not thread-safe.
True otherwise. If you are not sure what to return, return false! Returning false is always save. Falsely return true will most likely lead to errors! However, if both unpackData AND communicateLocal are thread-safe, returning true can lead to performance improvements.
Implements walberla::communication::UniformPackInfo.