X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_ViscousLayers2D.hxx;h=f1b50ebd5b1bad0c8919cf8752a451702bc1b7c2;hp=e508f173e6b87e7b8291d00c3ef7c967970c2930;hb=a274ade365bd0f0e19d56c577acc4a13aa1972a7;hpb=251f8c052dd12dd29922210dc901b295fe999a0e diff --git a/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx b/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx index e508f173e..f1b50ebd5 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 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 @@ -27,6 +27,7 @@ #include "StdMeshers_ViscousLayers.hxx" class TopoDS_Face; +class StdMeshers_FaceSide; /*! * \brief Hypothesis defining parameters of viscous layers @@ -34,7 +35,7 @@ class TopoDS_Face; class STDMESHERS_EXPORT StdMeshers_ViscousLayers2D : public StdMeshers_ViscousLayers { public: - StdMeshers_ViscousLayers2D(int hypId, int studyId, SMESH_Gen* gen); + StdMeshers_ViscousLayers2D(int hypId, SMESH_Gen* gen); /*! * \brief Computes temporary 2D mesh to be used by 2D algorithm. * Return SMESH_ProxyMesh for the given FACE, or NULL in case of error @@ -67,11 +68,14 @@ public: * \brief Initialize my parameter values by default parameters. * \retval bool - true if parameter values have been successfully defined */ - virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0) + virtual bool SetParametersByDefaults(const TDefaults& /*dflts*/, const SMESH_Mesh* /*theMesh*/=0) { return false; } static const char* GetHypType() { return "ViscousLayers2D"; } + static void SetProxyMeshOfEdge( const StdMeshers_FaceSide& edgeNodes ); + static bool HasProxyMesh( const TopoDS_Face& face, SMESH_Mesh& theMesh ); + private: };