- //setting up a processor group with proc 0
- set<int> procs;
- procs.insert(0);
- ParaMEDMEM::ProcessorGroup group(procs, comm_interface);
+ /*!
+ * Generalized AllGather collective communication.
+ * This method send input \a array to all procs.
+ */
+ int CommInterface::allGatherArrays(MPI_Comm comm, const DataArrayIdType *array, std::unique_ptr<mcIdType[]>& result, std::unique_ptr<mcIdType[]>& resultIndex) const
+ {
+ return this->allGatherArraysT<mcIdType>(comm,array,result,resultIndex);
+ }