Salome HOME
23288: [CEA 1626] Meshgems v2.3
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_GHS3DPRL.hxx
index 2ed2f90465b57d2f17e56a5b7dc499edd5448791..f1d112522c602af08fd3f87b1fe2237dc370a9a3 100755 (executable)
@@ -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
@@ -27,7 +27,7 @@
 
 #include "GHS3DPRLPlugin_Defs.hxx"
 
-#include "SMESH_3D_Algo.hxx"
+#include "SMESH_Algo.hxx"
 #include "SMESH_Mesh.hxx"
 #include "Utils_SALOME_Exception.hxx"
 
@@ -47,15 +47,11 @@ public:
   void SetParameters(const GHS3DPRLPlugin_Hypothesis* hyp);
 
   virtual bool Compute(SMESH_Mesh&         aMesh,
-                      const TopoDS_Shape& aShape);
+                       const TopoDS_Shape& aShape);
 
-  virtual bool Evaluate(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape,
-                       MapShapeNbElems& aResMap);
-
-  ostream & SaveTo(ostream & save);
-  istream & LoadFrom(istream & load);
-  friend ostream & operator << (ostream & save, GHS3DPRLPlugin_GHS3DPRL & hyp);
-  friend istream & operator >> (istream & load, GHS3DPRLPlugin_GHS3DPRL & hyp);
+  virtual bool Evaluate(SMESH_Mesh&         aMesh,
+                        const TopoDS_Shape& aShape,
+                        MapShapeNbElems&    aResMap);
 
 protected:
   const GHS3DPRLPlugin_Hypothesis* _hypothesis;
@@ -64,11 +60,15 @@ private:
   int   _countTotal;
   int   _nodeRefNumber;
 
-  string _MEDName;
-  int   _NbPart;      //number of partitions
-  bool  _KeepFiles;   //tepal file .noboite binary or not
-  bool  _Background;  //true for big meshes
-  bool  _ToMeshHoles;
+  std::string _MEDName;
+  int         _NbPart;      //number of partitions
+  bool        _KeepFiles;   //tepal file .noboite binary or not
+  bool        _Background;  //true for big meshes
+  bool        _Multithread; //true for mg_tetra_hpc false for mg_tetra_hpc_mpi
+  //ToMergeSubdomains ToTagSubdomains ToOutputInterfaces ToDiscardSubdomains
+  float       _Gradation;
+  float       _MinSize;
+  float       _MaxSize;
 };
 
 #endif