-// Copyright (C) 2007-2015 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
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,
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:
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