#include <UniformMPIDatatypeInfo.h>
Public Member Functions | |
UniformMPIDatatypeInfo (BlockDataID blockDataID) | |
UniformMPIDatatypeInfo (BlockDataID blockDataID, const uint_t numberOfGhostLayers) | |
~UniformMPIDatatypeInfo () override=default | |
shared_ptr< mpi::Datatype > | getSendDatatype (IBlock *block, const stencil::Direction dir) override |
Return the MPI data type that should be used for sending to neighbor in specified direction. More... | |
shared_ptr< mpi::Datatype > | getRecvDatatype (IBlock *block, const stencil::Direction dir) override |
Return the MPI data type that should be used for receiving from neighbor in specified direction. More... | |
void * | getSendPointer (IBlock *block, const stencil::Direction) override |
Return pointer to data that should be send to neighbor in specified direction. More... | |
void * | getRecvPointer (IBlock *block, const stencil::Direction) override |
Return pointer to memory where received data is written to. More... | |
Public Member Functions inherited from walberla::communication::UniformMPIDatatypeInfo | |
UniformMPIDatatypeInfo ()=default | |
virtual int | getNumberOfItemsToCommunicate (IBlock *, const stencil::Direction) |
Return how many data items of the datatype should be communicated per block and direction Due to custom aggregated MPI datatypes this is usually 1. More... | |
Private Member Functions | |
GhostLayerField_T * | getField (IBlock *block) |
uint_t | numberOfGhostLayersToCommunicate (IBlock *block) |
Private Attributes | |
BlockDataID | blockDataID_ |
bool | communicateAllGhostLayers_ |
uint_t | numberOfGhostLayers_ |
|
inline |
|
inline |
|
overridevirtualdefault |
Reimplemented from walberla::communication::UniformMPIDatatypeInfo.
|
inlineprivate |
|
inlineoverridevirtual |
Return the MPI data type that should be used for receiving from neighbor in specified direction.
Implements walberla::communication::UniformMPIDatatypeInfo.
|
inlineoverridevirtual |
Return pointer to memory where received data is written to.
Implements walberla::communication::UniformMPIDatatypeInfo.
|
inlineoverridevirtual |
Return the MPI data type that should be used for sending to neighbor in specified direction.
Implements walberla::communication::UniformMPIDatatypeInfo.
|
inlineoverridevirtual |
Return pointer to data that should be send to neighbor in specified direction.
Implements walberla::communication::UniformMPIDatatypeInfo.
|
inlineprivate |
|
private |
|
private |
|
private |