X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_BasicHypothesis.idl;h=b2bca113cd43759713429f1a2a48f96ad12776c2;hp=5ec9ebbf0273e389a3dc267098a03f6c1f67ff35;hb=29d50dfec3732d701f39a099fd64239185404f98;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6 diff --git a/idl/SMESH_BasicHypothesis.idl b/idl/SMESH_BasicHypothesis.idl index 5ec9ebbf0..b2bca113c 100644 --- a/idl/SMESH_BasicHypothesis.idl +++ b/idl/SMESH_BasicHypothesis.idl @@ -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 // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -861,6 +861,47 @@ module StdMeshers double GetStretchFactor(); }; + /*! + * interface of "Viscous Layers 2D" hypothesis. + * This hypothesis specifies parameters of layers of quadrilaterals to build + * near mesh boundary. This hypothesis can be used by several 2D algorithms: + * Mefisto, Quadrangle (mapping), NETGEN, BLSURF + */ + interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis + { + /*! + * Set edges to exclude from treatment + */ + void SetIgnoreEdges(in SMESH::long_array edgeIDs) raises (SALOME::SALOME_Exception); + SMESH::long_array GetIgnoreEdges(); + + /*! + * Set edges either to exclude from treatment or to make the Viscous Layers on. + */ + void SetEdges(in SMESH::long_array edgeIDs, + in boolean toIgnore) raises (SALOME::SALOME_Exception); + SMESH::long_array GetEdges(); + boolean GetIsToIgnoreEdges(); + + /*! + * Set total thickness of layers of prisms + */ + void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception); + double GetTotalThickness(); + + /*! + * Set number of layers of prisms + */ + void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception); + short GetNumberLayers(); + + /*! + * Set factor (>1.0) of growth of layer thickness towards inside of mesh + */ + void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception); + double GetStretchFactor(); + }; + /*! * interface of "Body fitting Parameters" hypothesis. * This hypothesis specifies @@ -885,7 +926,7 @@ module StdMeshers boolean IsGridBySpacing(in short axis); /*! - * Set coordinates of nodes along an axis (counterd from zero) + * Set coordinates of nodes along an axis (countered from zero) */ void SetGrid(in SMESH::double_array coords, in short axis) raises (SALOME::SALOME_Exception);