Salome HOME
updated copyright message
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_GHS3DPRL.hxx
old mode 100755 (executable)
new mode 100644 (file)
index a975b3a..857eac3
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023  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
@@ -37,7 +37,7 @@ class GHS3DPRLPlugin_Hypothesis;
 class GHS3DPRLPLUGIN_EXPORT GHS3DPRLPlugin_GHS3DPRL: public SMESH_3D_Algo
 {
 public:
-  GHS3DPRLPlugin_GHS3DPRL(int hypId, int studyId, SMESH_Gen* gen);
+  GHS3DPRLPlugin_GHS3DPRL(int hypId, SMESH_Gen* gen);
   virtual ~GHS3DPRLPlugin_GHS3DPRL();
 
   virtual bool CheckHypothesis(SMESH_Mesh&                          aMesh,
@@ -47,28 +47,32 @@ 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);
+  virtual bool Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper);
 
-  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;
+  std::string _genericName;
 private:
   int   _countSubMesh;
   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;
+  std::string _AdvOptions;
 };
 
 #endif