Salome HOME
Intersec bug fix: when intersecting nodes are merged, they were not properly
[tools/medcoupling.git] / src / ParaMEDMEM / ParaMESH.hxx
index 6935acc63a9a6123ad80895967640d74cac23476..b669ac980daeac362a9d866e1f1931ea451392cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  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
 #include <string>
 #include <vector>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class Topology;
   class BlockTopology;
   class DataArrayInt;
 
+  /*!
+   * \anchor ParaMESH-det
+   *
+   * Parallel representation of an unstructured mesh.
+   *
+   * This class is very specific to the requirement of parallel code computations.
+   * Two main constructors are available:
+   * - the most simple one, taking directly a \ref meshes "MEDCoupling mesh" object
+   * - the second one (for an advanced usage), which can be used to specify an explicit topology
+   * in a parallel computation.
+   */
   class ParaMESH
   {
   public:
+    ParaMESH( MEDCouplingPointSet *mesh,
+              const ProcessorGroup& proc_group, const std::string& name);
     ParaMESH( MEDCouplingPointSet *subdomain_mesh,
               MEDCouplingPointSet *subdomain_face,
               DataArrayInt *CorrespElt_local2global,
               DataArrayInt *CorrespFace_local2global,
               DataArrayInt *CorrespNod_local2global,
               const ProcessorGroup& proc_group ) ;
-    ParaMESH( MEDCouplingPointSet *mesh,
-              const ProcessorGroup& proc_group, const std::string& name);
 
     virtual ~ParaMESH();
     void setNodeGlobal(DataArrayInt *nodeGlobal);
@@ -70,7 +81,7 @@ namespace ParaMEDMEM
     int _my_domain_id;
 
     //global topology of the cells
-    ParaMEDMEM::BlockTopology* _block_topology;
+    MEDCoupling::BlockTopology* _block_topology;
     Topology*  _explicit_topology;
     // pointers to global numberings
     DataArrayInt* _node_global;