X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGHS3DPRLPlugin%2FGHS3DPRLPlugin_GHS3DPRL.hxx;h=f1d112522c602af08fd3f87b1fe2237dc370a9a3;hb=73275ade5a04ca3a7a7a98d56f979746cab2a82c;hp=733cfc21588de38b7321be8aad198509e9bcc981;hpb=473a7325d16b38ae30474da62156f15ac05fcfe1;p=plugins%2Fghs3dprlplugin.git diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.hxx b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.hxx index 733cfc2..f1d1125 100755 --- a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.hxx +++ b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.hxx @@ -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 @@ -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