X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_ViscousLayers.hxx;h=b62e165b03ea82eac45f2b39a0878a5229ab5849;hb=3cd8d693a93135ca68e9bfe2d1a8838716c19a80;hp=4fa07a9efe0f8a8a572717b5c739efa2d1fcffca;hpb=1067ffa6e7e5c394e3a1b17219d8b355a57607cd;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.hxx b/src/StdMeshers/StdMeshers_ViscousLayers.hxx index 4fa07a9ef..b62e165b0 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.hxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -39,10 +39,11 @@ class STDMESHERS_EXPORT StdMeshers_ViscousLayers : public SMESH_Hypothesis public: StdMeshers_ViscousLayers(int hypId, int studyId, SMESH_Gen* gen); - // Set boundary shapes to exclude from treatment, faces in 3D, edges in 2D - void SetBndShapesToIgnore(const std::vector& shapeIds); - std::vector GetBndShapesToIgnore() const { return _ignoreBndShapeIds; } - bool IsIgnoredShape(const int shapeID) const; + // Set boundary shapes, faces in 3D, edges in 2D, either to exclude from + // treatment or to make the Viscous Layers on + void SetBndShapes(const std::vector& shapeIds, bool toIgnore); + std::vector GetBndShapes() const { return _shapeIds; } + bool IsToIgnoreShapes() const { return _isToIgnoreShapes; } // Set total thickness of layers of prisms void SetTotalThickness(double thickness); @@ -86,7 +87,8 @@ public: private: - std::vector _ignoreBndShapeIds; + std::vector _shapeIds; + bool _isToIgnoreShapes; int _nbLayers; double _thickness; double _stretchFactor;