-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015 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>
-namespace ParaMEDMEM
+namespace MEDCoupling
{
+ /*!
+ * Abstract class defining a group of processors (computation nodes) in a parallel run of a code.
+ *
+ * See the non-abstract child \ref MPIProcessorGroup-det "MPIProcessorGroup"
+ */
class ProcessorGroup
{
public:
_comm_interface(other.getCommInterface()),_proc_ids(other._proc_ids) { }
ProcessorGroup (const CommInterface& interface, int start, int end);
virtual ~ProcessorGroup() { }
- virtual ProcessorGroup *deepCpy() const = 0;
+ virtual ProcessorGroup *deepCopy() const = 0;
virtual ProcessorGroup* fuse (const ProcessorGroup&) const = 0;
virtual void intersect (ProcessorGroup&) = 0;
bool contains(int rank) const { return _proc_ids.find(rank)!=_proc_ids.end(); }