26#ifndef dftefeMPICommunicatorP2P_h
27#define dftefeMPICommunicatorP2P_h
42 template <
typename ValueType, MemorySpace memorySpace>
52 const size_type communicationChannel = 0);
57 const size_type communicationChannel = 0);
62 const size_type communicationChannel = 0);
70 const size_type communicationChannel = 0);
76 std::shared_ptr<const MPIPatternP2P<memorySpace>>
92#ifdef DFTEFE_WITH_DEVICE
94 d_ghostDataCopyHostPinned;
97 d_sendRecvBufferHostPinned;
Definition: MemoryStorage.h:38
Definition: MPICommunicatorP2P.h:44
std::shared_ptr< const MPIPatternP2P< memorySpace > > getMPIPatternP2P() const
Definition: MPICommunicatorP2P.t.cpp:473
MemoryStorage< ValueType, memorySpace > d_ghostDataBuffer
Definition: MPICommunicatorP2P.h:89
std::shared_ptr< const MPIPatternP2P< memorySpace > > d_mpiPatternP2P
Definition: MPICommunicatorP2P.h:83
size_type d_blockSize
Definition: MPICommunicatorP2P.h:85
MPIComm d_mpiCommunicator
Definition: MPICommunicatorP2P.h:102
void updateGhostValuesBegin(MemoryStorage< ValueType, memorySpace > &dataArray, const size_type communicationChannel=0)
Definition: MPICommunicatorP2P.t.cpp:89
void updateGhostValuesEnd(MemoryStorage< ValueType, memorySpace > &dataArray)
Definition: MPICommunicatorP2P.t.cpp:226
MemoryStorage< ValueType, memorySpace > d_targetDataBuffer
Definition: MPICommunicatorP2P.h:87
int getBlockSize() const
Definition: MPICommunicatorP2P.t.cpp:480
void accumulateAddLocallyOwnedEnd(MemoryStorage< ValueType, memorySpace > &dataArray)
Definition: MPICommunicatorP2P.t.cpp:425
void accumulateAddLocallyOwned(MemoryStorage< ValueType, memorySpace > &dataArray, const size_type communicationChannel=0)
Definition: MPICommunicatorP2P.t.cpp:278
std::vector< MPIRequest > d_requestsUpdateGhostValues
Definition: MPICommunicatorP2P.h:100
std::vector< MPIRequest > d_requestsAccumulateAddLocallyOwned
Definition: MPICommunicatorP2P.h:101
void accumulateAddLocallyOwnedBegin(MemoryStorage< ValueType, memorySpace > &dataArray, const size_type communicationChannel=0)
Definition: MPICommunicatorP2P.t.cpp:289
void updateGhostValues(MemoryStorage< ValueType, memorySpace > &dataArray, const size_type communicationChannel=0)
Definition: MPICommunicatorP2P.t.cpp:77
A class template to store the communication pattern (i.e., which entries/nodes to receive from which ...
Definition: MPIPatternP2P.h:197
int MPIComm
Definition: MPITypes.h:83
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8