Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo-fix by Kunda
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_ViscousLayers2D.hxx
diff --git
a/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx
b/src/StdMeshers/StdMeshers_ViscousLayers2D.hxx
index c2188795f91a3c4d0be3672e15c3b341c6c8bd8b..cff610b17aaa11d6b2f054ea2cbe2b345fa61766 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ViscousLayers2D.hxx
+++ b/
src/StdMeshers/StdMeshers_ViscousLayers2D.hxx
@@
-1,9
+1,9
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
// License as published by the Free Software Foundation; either
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-27,6
+27,7
@@
#include "StdMeshers_ViscousLayers.hxx"
class TopoDS_Face;
#include "StdMeshers_ViscousLayers.hxx"
class TopoDS_Face;
+class StdMeshers_FaceSide;
/*!
* \brief Hypothesis defining parameters of viscous layers
/*!
* \brief Hypothesis defining parameters of viscous layers
@@
-35,9
+36,10
@@
class STDMESHERS_EXPORT StdMeshers_ViscousLayers2D : public StdMeshers_ViscousLa
{
public:
StdMeshers_ViscousLayers2D(int hypId, int studyId, SMESH_Gen* gen);
{
public:
StdMeshers_ViscousLayers2D(int hypId, int studyId, SMESH_Gen* gen);
-
- // Computes temporary 2D mesh to be used by 2D algorithm.
- // Return SMESH_ProxyMesh for the given FACE, or NULL in case of error
+ /*!
+ * \brief Computes temporary 2D mesh to be used by 2D algorithm.
+ * Return SMESH_ProxyMesh for the given FACE, or NULL in case of error
+ */
static SMESH_ProxyMesh::Ptr Compute(SMESH_Mesh& theMesh,
const TopoDS_Face& theShape);
/*!
static SMESH_ProxyMesh::Ptr Compute(SMESH_Mesh& theMesh,
const TopoDS_Face& theShape);
/*!
@@
-46,13
+48,19
@@
public:
*/
void RestoreListeners() const;
*/
void RestoreListeners() const;
+ /*!
+ * \brief Checks compatibility of assigned StdMeshers_ViscousLayers2D hypotheses
+ */
+ static SMESH_ComputeErrorPtr CheckHypothesis(SMESH_Mesh& aMesh,
+ const TopoDS_Shape& aShape,
+ Hypothesis_Status& aStatus);
/*!
* \brief Initialize my parameter values by the mesh built on the geometry
/*!
* \brief Initialize my parameter values by the mesh built on the geometry
-
* \param theMesh - the built mesh
-
* \param theShape - the geometry of interest
-
* \retval bool - true if parameter values have been successfully defined
-
*
-
* Just return false as this hypothesis does not have parameters values
+ * \param theMesh - the built mesh
+ * \param theShape - the geometry of interest
+ * \retval bool - true if parameter values have been successfully defined
+ *
+ * Just return false as this hypothesis does not have parameters values
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
@@
-65,6
+73,9
@@
public:
static const char* GetHypType() { return "ViscousLayers2D"; }
static const char* GetHypType() { return "ViscousLayers2D"; }
+ static void SetProxyMeshOfEdge( const StdMeshers_FaceSide& edgeNodes );
+ static bool HasProxyMesh( const TopoDS_Face& face, SMESH_Mesh& theMesh );
+
private:
};
private:
};