Version: 9.12.0
VISCOUS_2D Namespace Reference

Data Structures

struct  _ProxyMeshOfFace
 Proxy Mesh of FACE with viscous layers. More...
 
struct  _ProxyMeshHolder
 SMESH_subMeshEventListener used to store _ProxyMeshOfFace, computed by _ViscousBuilder2D, in a SMESH_subMesh of the FACE. More...
 
struct  _Segment
 Segment connecting inner ends of two _LayerEdge's. More...
 
struct  _SegmentTree
 Tree of _Segment's used for a faster search of _Segment's. More...
 
struct  _LayerEdge
 Edge normal to FACE boundary, connecting a point on EDGE (_uvOut) and a point of a layer internal boundary (_uvIn) More...
 
struct  _PolyLine
 Poly line composed of _Segment's of one EDGE. More...
 
struct  _SegmentIntersection
 Intersector of _Segment's. More...
 
class  _ViscousBuilder2D
 Builder of viscous layers. More...
 

Typedefs

typedef int TGeomID
 
typedef map< const SMDS_MeshNode *, _LayerEdge *, TIDCompareTNode2Edge
 
typedef StdMeshers_ViscousLayers2D THypVL
 

Functions

bool findHyps (SMESH_Mesh &theMesh, const TopoDS_Face &theFace, vector< const StdMeshers_ViscousLayers2D * > &theHyps, vector< TopoDS_Shape > &theAssignedTo)
 Returns StdMeshers_ViscousLayers2D for the FACE. More...
 
int getEdgesToIgnore (const StdMeshers_ViscousLayers2D *theHyp, const TopoDS_Shape &theFace, const SMESHDS_Mesh *theMesh, set< int > &theEdgeIds)
 Returns ids of EDGEs not to create Viscous Layers on. More...
 

Typedef Documentation

◆ TGeomID

typedef int VISCOUS_2D::TGeomID

◆ THypVL

◆ TNode2Edge

Function Documentation

◆ findHyps()

bool VISCOUS_2D::findHyps ( SMESH_Mesh theMesh,
const TopoDS_Face &  theFace,
vector< const StdMeshers_ViscousLayers2D * > &  theHyps,
vector< TopoDS_Shape > &  theAssignedTo 
)

◆ getEdgesToIgnore()

int VISCOUS_2D::getEdgesToIgnore ( const StdMeshers_ViscousLayers2D theHyp,
const TopoDS_Shape &  theFace,
const SMESHDS_Mesh theMesh,
set< int > &  theEdgeIds 
)

Returns ids of EDGEs not to create Viscous Layers on.

Parameters
[in]theHyp- the hypothesis, holding edges either to ignore or not to.
[in]theFace- the FACE whose EDGEs are checked.
[in]theMesh- the mesh.
[in,out]theEdgeIds- container returning EDGEs to ignore.
Returns
int - number of found EDGEs of the FACE.

References StdMeshers_ViscousLayers::GetBndShapes(), SMESHDS_Mesh::IndexToShape(), SMESH_MesherHelper::IsSubShape(), StdMeshers_ViscousLayers::IsToIgnoreShapes(), and SMESHDS_Mesh::ShapeToIndex().

Referenced by VISCOUS_2D::_ViscousBuilder2D::findEdgesWithLayers().