Salome HOME
#18963 Minimize compiler warnings (finish)
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_GHS3DPRL.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 175d4cc..7b49768
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  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
@@ -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,
@@ -48,17 +48,13 @@ public:
 
   virtual bool Compute(SMESH_Mesh&         aMesh,
                        const TopoDS_Shape& aShape);
-  virtual bool ComputeForTepal(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape); //obsolescent
+
+  virtual bool Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper);
 
   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);
-
 protected:
   const GHS3DPRLPlugin_Hypothesis* _hypothesis;
 private:
@@ -66,15 +62,16 @@ 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
+  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
-  bool  _ToMergeSubdomains;
-  bool  _ToTagSubdomains;
-  bool  _ToOutputInterfaces;
-  bool  _ToDiscardSubdomains;
+  float       _Gradation;
+  float       _MinSize;
+  float       _MaxSize;
+  std::string _AdvOptions;
 };
 
 #endif