]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
authoreap <eap@opencascade.com>
Tue, 4 Jun 2013 14:58:08 +0000 (14:58 +0000)
committereap <eap@opencascade.com>
Tue, 4 Jun 2013 14:58:08 +0000 (14:58 +0000)
 = Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Make const GetNodeU()

src/SMESH/SMESH_MesherHelper.cxx
src/SMESH/SMESH_MesherHelper.hxx

index 314a0f5c7bcfd13f9e5f79811eef5d769783ff20..65a19e286c96bad7e4e20d3433964b09c56187f9 100644 (file)
@@ -845,7 +845,7 @@ gp_XY SMESH_MesherHelper::GetCenterUV(const gp_XY& uv1,
 double SMESH_MesherHelper::GetNodeU(const TopoDS_Edge&   E,
                                     const SMDS_MeshNode* n,
                                     const SMDS_MeshNode* inEdgeNode,
-                                    bool*                check)
+                                    bool*                check) const
 {
   double param = Precision::Infinite();
 
index e6f5bb239c80002e69e24a73eb229f4ac852faab..f2b4d9ffc5d241c4499ae8f0136a2a9c52dbbd88 100644 (file)
@@ -420,7 +420,7 @@ public:
   double GetNodeU(const TopoDS_Edge&   theEdge,
                   const SMDS_MeshNode* theNode,
                   const SMDS_MeshNode* inEdgeNode=0,
-                  bool*                check=0);
+                  bool*                check=0) const;
   /*!
    * \brief Return node UV on face
    *  \param inFaceNode - a node of element being created located inside a face