Salome HOME
Merge branch 'master' of ssh://git.salome-platform.org/tools/medcoupling
[tools/medcoupling.git] / src / MEDPartitioner / MEDPARTITIONER_ParaDomainSelector.hxx
index cfe465a9a8d10a89992b10d3b379ff3a7eefeaa8..97502406f36cb3ed441c931b90a596adff9433e5 100644 (file)
@@ -1,9 +1,9 @@
-// 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
@@ -25,7 +25,7 @@
 #include <memory>
 #include <vector>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class MEDCouplingUMesh;
 }
@@ -64,7 +64,7 @@ namespace MEDPARTITIONER
     int getNbTotalFaces() { return _face_shift_by_domain.back(); };
 
     //Collect nb of entities on procs
-    void gatherNbOf(const std::vector<ParaMEDMEM::MEDCouplingUMesh*>& domain_meshes);
+    void gatherNbOf(const std::vector<MEDCoupling::MEDCouplingUMesh*>& domain_meshes);
   
     //distribution of the graph vertices among the processors
     int* getProcVtxdist() const;
@@ -97,8 +97,8 @@ namespace MEDPARTITIONER
     //Evaluate current memory usage and return the maximal one in KB
     int evaluateMemory() const;
 
-    void sendMesh(const ParaMEDMEM::MEDCouplingUMesh& mesh, int target) const;
-    void recvMesh(ParaMEDMEM::MEDCouplingUMesh*& mesh, int source) const;
+    void sendMesh(const MEDCoupling::MEDCouplingUMesh& mesh, int target) const;
+    void recvMesh(MEDCoupling::MEDCouplingUMesh*& mesh, int source) const;
   private:
     int _rank; //my rank
     int _world_size; //nb of processors