34 #ifndef NEKTAR_LIB_UTILITIES_COMMMPI_H 35 #define NEKTAR_LIB_UTILITIES_COMMMPI_H 51 namespace LibUtilities
96 int dest,
void *recvbuf,
int recvcount,
99 int pSendProc,
int pRecvProc);
104 virtual void v_AlltoAllv(
void *sendbuf,
int sendcounts[],
int sensdispls[],
106 int recvcounts[],
int rdispls[],
111 void *recvbuf,
int recvcounts[],
int rdispls[],
113 virtual void v_AllGatherv(
void *recvbuf,
int recvcounts[],
int rdispls[],
virtual void v_SendRecvReplace(void *buf, int count, CommDataType dt, int pSendProc, int pRecvProc)
ReduceOperator
Type of operation to perform in AllReduce.
virtual void v_Recv(void *buf, int count, CommDataType dt, int source)
virtual void v_Finalise()
virtual void v_Send(void *buf, int count, CommDataType dt, int dest)
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
virtual void v_AllReduce(void *buf, int count, CommDataType dt, enum ReduceOperator pOp)
virtual void v_AllGather(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype)
virtual void v_AlltoAllv(void *sendbuf, int sendcounts[], int sensdispls[], CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype)
virtual bool v_IsSerial(void)
static CommSharedPtr create(int narg, char *arg[])
Creates an instance of this class.
virtual CommSharedPtr v_CommCreateIf(int flag)
virtual void v_SplitComm(int pRows, int pColumns)
virtual void v_AllGatherv(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype)
virtual bool v_TreatAsRankZero(void)
virtual void v_Scatter(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root)
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
Base communications class.
static std::string className
Name of class.
virtual void v_Exscan(Array< OneD, unsigned long long > &pData, const enum ReduceOperator pOp, Array< OneD, unsigned long long > &ans)
std::shared_ptr< CommMpi > CommMpiSharedPtr
Pointer to a Communicator object.
virtual void v_Bcast(void *buffer, int count, CommDataType dt, int root)
virtual void v_SendRecv(void *sendbuf, int sendcount, CommDataType sendtype, int dest, void *recvbuf, int recvcount, CommDataType recvtype, int source)
virtual void v_Gather(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root)
virtual void v_AlltoAll(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype)