Salome HOME
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
authoreap <eap@opencascade.com>
Thu, 30 May 2013 14:21:55 +0000 (14:21 +0000)
committereap <eap@opencascade.com>
Thu, 30 May 2013 14:21:55 +0000 (14:21 +0000)
  interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis
  {
+    void SetEdges(in SMESH::long_array edgeIDs,
+                  in boolean           toIgnore) raises (SALOME::SALOME_Exception);
+    SMESH::long_array GetEdges();
+    boolean           GetIsToIgnoreEdges();

idl/SMESH_BasicHypothesis.idl

index 312f173720a2875e75fee2bc97864e4cec151ab6..b2bca113cd43759713429f1a2a48f96ad12776c2 100644 (file)
@@ -875,6 +875,14 @@ module StdMeshers
     void SetIgnoreEdges(in SMESH::long_array edgeIDs) raises (SALOME::SALOME_Exception);
     SMESH::long_array GetIgnoreEdges();
 
     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
      */
     /*!
      * Set total thickness of layers of prisms
      */
@@ -918,7 +926,7 @@ module StdMeshers
     boolean IsGridBySpacing(in short axis);
 
     /*!
     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);
      */
     void SetGrid(in SMESH::double_array coords,
                  in short               axis) raises (SALOME::SALOME_Exception);