-// 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
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,
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;
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