X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_CartesianParameters3D.hxx;h=a913e830cd4e8c1712a8c2533ced5e21ac9c3cf5;hb=0eea513c934f0925f9b9ec6cc56892feafc04c0d;hp=97973667ac48a33fb56c8eacef40829786451e17;hpb=274fd4f2db8d3a7fa23701764280ea1d175b194b;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx b/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx index 97973667a..a913e830c 100644 --- a/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx +++ b/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -157,6 +157,19 @@ public: void SetToCreateFaces(bool toCreate); bool GetToCreateFaces() const { return _toCreateFaces; } + /*! + * \brief Enables use of quanta for hexahedrons at the solid external boundary + */ + void SetToUseQuanta(bool toUseQuanta); + bool GetToUseQuanta() const { return _toUseQuanta; } + + /*! + * \brief Value of the quanta (volPolyhedron/volHexahedron) to use + * \remark value [0.1, 1.0] + */ + void SetQuanta(const double quanta ); + double GetQuanta() const { return _quanta; } + /*! * \brief Return true if parameters are well defined @@ -193,6 +206,8 @@ public: bool _toConsiderInternalFaces; bool _toUseThresholdForInternalFaces; bool _toCreateFaces; + bool _toUseQuanta; + double _quanta; }; #endif