Salome HOME
MED33 porting
[tools/medcoupling.git] / src / ParaMEDMEM / DisjointDEC.hxx
index aec6bb901c1b14faca452d897253437257689555..8cf754248277a529f7c4c470bf6b01e48b012e9b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  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
@@ -32,7 +32,7 @@ namespace ICoCo
   class MEDField;
 }
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class ProcessorGroup;
   class ParaFIELD;
@@ -41,8 +41,9 @@ namespace ParaMEDMEM
   {
   public:
     DisjointDEC():_local_field(0),_union_group(0),_source_group(0),_target_group(0),
-      _owns_field(false),_owns_groups(false),
-      _comm_interface(0), _union_comm(MPI_COMM_NULL)
+    _comm_interface(0),
+    _owns_field(false),_owns_groups(false),
+    _union_comm(MPI_COMM_NULL)
     { }
     DisjointDEC(ProcessorGroup& source_group, ProcessorGroup& target_group);
     DisjointDEC(const DisjointDEC&);
@@ -73,6 +74,7 @@ namespace ParaMEDMEM
     void compareFieldAndMethod() const throw(INTERP_KERNEL::Exception);
     void cleanInstance();
     void copyInstance(const DisjointDEC& other);
+    void checkPartitionGroup() const;
   protected:
     const ParaFIELD* _local_field;
     //! Processor group representing the union of target and source processors