Salome HOME
Various fixes for test runs - introducing MEDCOUPLING_RESOURCE_DIR env variable
[tools/medcoupling.git] / src / ParaMEDMEM / ParaGRID.hxx
index 8cf8bf1290418c71e51e68bd786b6fec379f8618..57c7afa0ebac43e91f8d961c1459e13cce8308cb 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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 <vector>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class Topology;
   class BlockTopology;
   class MEDCouplingCMesh;
 
+  /*!
+   * This class
+   * Equivalent of a ParaMESH for a structured mesh
+   */
   class ParaGRID
   {
   public:
-    ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology) throw(INTERP_KERNEL::Exception);
+    ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology)
     BlockTopology * getBlockTopology() const { return _block_topology; }
     virtual ~ParaGRID();
     MEDCouplingCMesh* getGrid() const { return _grid; }
   private:
     MEDCouplingCMesh* _grid;
     // structured grid topology
-    ParaMEDMEM::BlockTopology* _block_topology;
+    MEDCoupling::BlockTopology* _block_topology;
     // stores the x,y,z axes on the global grid
     std::vector<std::vector<double> > _global_axis;
-    //id of the local grid
-    int _my_domain_id;
   };
 }