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