-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <set>
#include <mpi.h>
-namespace ParaMEDMEM
+namespace MEDCoupling
{
class CommInterface;
MPIProcessorGroup(const CommInterface& interface,int pstart, int pend, const MPI_Comm& world_comm=MPI_COMM_WORLD);
MPIProcessorGroup(const MPIProcessorGroup& other);
virtual ~MPIProcessorGroup();
- virtual ProcessorGroup *deepCpy() const;
+ virtual MPIProcessorGroup *deepCopy() const;
virtual ProcessorGroup* fuse (const ProcessorGroup&) const;
void intersect (ProcessorGroup&) { }
int myRank() const;
private:
void updateMPISpecificAttributes();
private:
- const MPI_Comm _world_comm;
+ const MPI_Comm _world_comm; // just an observer - current instance is not responsible for the management of this comm
MPI_Group _group;
MPI_Comm _comm;
};