35 #ifndef NEKTAR_LIB_UTILITIES_COMMSERIAL_H
36 #define NEKTAR_LIB_UTILITIES_COMMSERIAL_H
46 namespace LibUtilities
virtual void v_SplitComm(int pRows, int pColumns)
virtual void v_SendRecvReplace(int pSendProc, int pRecvProc, Array< OneD, NekDouble > &pSendData)
ReduceOperator
Type of operation to perform in AllReduce.
virtual void v_Send(int pProc, Array< OneD, NekDouble > &pData)
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
virtual bool v_TreatAsRankZero(void)
virtual void v_Recv(int pProc, Array< OneD, NekDouble > &pData)
virtual void v_AlltoAllv(Array< OneD, NekDouble > &pSendData, Array< OneD, int > &pSendDataSizeMap, Array< OneD, int > &pSendDataOffsetMap, Array< OneD, NekDouble > &pRecvData, Array< OneD, int > &pRecvDataSizeMap, Array< OneD, int > &pRecvDataOffsetMap)
boost::shared_ptr< CommSerial > CommSerialSharedPtr
Pointer to a Communicator object.
virtual void v_AlltoAll(Array< OneD, NekDouble > &pSendData, Array< OneD, NekDouble > &pRecvData)
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
virtual void v_Finalise()
#define LIB_UTILITIES_EXPORT
static CommSharedPtr create(int narg, char *arg[])
Creates an instance of this class.
Base communications class.
virtual void v_SendRecv(int pSendProc, Array< OneD, NekDouble > &pSendData, int pRecvProc, Array< OneD, NekDouble > &pRecvData)
CommSerial(int argc, char *argv[])
static std::string className
Name of class.
virtual void v_AllReduce(NekDouble &pData, enum ReduceOperator pOp)