Shrink FACE data used to find periodic FACEs. More...
Data Structures | |
| struct | BndPart |
| < part of FACE boundary, either shrink or no-shrink More... | |
Public Member Functions | |
| void | Init (SMESH_subMesh *sm, _SolidData *sd1, _SolidData *sd2) |
| bool | IsSame (const TopoDS_Face &face) const |
| bool | IsShrunk (const TopTools_MapOfShape &shrunkFaces) const |
| bool | IsPeriodic (ShrinkFace &other, PeriodicFaces &periodic) |
| Check if meshes on two FACEs are equal. More... | |
| bool | IsSameNbElements (ShrinkFace &other) |
| void | Reverse (std::list< BndPart > &boundary) |
| void | SetBoundary () |
| void | GetElements (std::set< const SMDS_MeshElement * > &theElems) |
| void | GetBoundaryPoints (std::vector< gp_XYZ > &points) |
Data Fields | |
| SMESH_subMesh * | _subMesh |
| _SolidData * | _data1 |
| _SolidData * | _data2 |
| std::list< BndPart > | _boundary |
| int | _boundarySize |
| int | _nbBoundaryParts |
Shrink FACE data used to find periodic FACEs.
| void VISCOUS_3D::ShrinkFace::GetBoundaryPoints | ( | std::vector< gp_XYZ > & | points | ) |
References _boundary, and _boundarySize.
Referenced by IsPeriodic().
| void VISCOUS_3D::ShrinkFace::GetElements | ( | std::set< const SMDS_MeshElement * > & | theElems | ) |
References _subMesh, and SMESH_subMesh::GetSubMeshDS().
Referenced by IsPeriodic().
| void VISCOUS_3D::ShrinkFace::Init | ( | SMESH_subMesh * | sm, |
| _SolidData * | sd1, | ||
| _SolidData * | sd2 | ||
| ) |
| bool VISCOUS_3D::ShrinkFace::IsPeriodic | ( | ShrinkFace & | other, |
| PeriodicFaces & | periodic | ||
| ) |
Check if meshes on two FACEs are equal.
References _boundary, _boundarySize, _nbBoundaryParts, VISCOUS_3D::PeriodicFaces::_nnMap, VISCOUS_3D::PeriodicFaces::_trsf, SMESH_MeshEditor::FindMatchingNodes(), GetBoundaryPoints(), GetElements(), IsSameNbElements(), Reverse(), SetBoundary(), SMESH_MeshEditor::SEW_OK, StdMeshers_ProjectionUtils::TrsfFinder3D::Solve(), and StdMeshers_ProjectionUtils::TrsfFinder3D::Transform().
Referenced by VISCOUS_3D::_ViscousBuilder::findPeriodicFaces().
| bool VISCOUS_3D::ShrinkFace::IsSame | ( | const TopoDS_Face & | face | ) | const |
References _subMesh, and SMESH_subMesh::GetSubShape().
Referenced by VISCOUS_3D::PeriodicFaces::MoveNodes().
| bool VISCOUS_3D::ShrinkFace::IsSameNbElements | ( | ShrinkFace & | other | ) |
References _subMesh, SMESH_subMesh::GetSubMeshDS(), SMESHDS_SubMesh::NbElements(), and SMESHDS_SubMesh::NbNodes().
Referenced by IsPeriodic().
| bool VISCOUS_3D::ShrinkFace::IsShrunk | ( | const TopTools_MapOfShape & | shrunkFaces | ) | const |
References _subMesh, and SMESH_subMesh::GetSubShape().
| void VISCOUS_3D::ShrinkFace::Reverse | ( | std::list< BndPart > & | boundary | ) |
Referenced by IsPeriodic().
| void VISCOUS_3D::ShrinkFace::SetBoundary | ( | ) |
References _boundary, _boundarySize, _data1, _data2, VISCOUS_3D::ShrinkFace::BndPart::_edgeWOLLen, VISCOUS_3D::_EdgesOnShape::_hyp, VISCOUS_3D::ShrinkFace::BndPart::_hyp, VISCOUS_3D::ShrinkFace::BndPart::_isShrink, _nbBoundaryParts, VISCOUS_3D::ShrinkFace::BndPart::_nbSegments, VISCOUS_3D::ShrinkFace::BndPart::_nodes, VISCOUS_3D::_SolidData::_noShrinkShapes, VISCOUS_3D::_EdgesOnShape::_shapeID, _subMesh, VISCOUS_3D::ShrinkFace::BndPart::_tol, VISCOUS_3D::ShrinkFace::BndPart::_vertHyp, VISCOUS_3D::ShrinkFace::BndPart::_vertSWOLType, StdMeshers_FaceSide::EdgeID(), StdMeshers_FaceSide::EdgeLength(), Face, StdMeshers_FaceSide::FirstVertex(), SMESH_subMesh::GetFather(), SMESH_Block::GetOrderedEdges(), StdMeshers_FaceSide::GetOrderedNodes(), VISCOUS_3D::_SolidData::GetShapeEdges(), SMESH_subMesh::GetSubShape(), SMESH::if(), StdMeshers_FaceSide::LastVertex(), StdMeshers_FaceSide::NbSegments(), and VISCOUS_3D::_EdgesOnShape::SWOLType().
Referenced by IsPeriodic().
| std::list< BndPart > VISCOUS_3D::ShrinkFace::_boundary |
Referenced by GetBoundaryPoints(), IsPeriodic(), and SetBoundary().
| int VISCOUS_3D::ShrinkFace::_boundarySize |
Referenced by GetBoundaryPoints(), IsPeriodic(), and SetBoundary().
| _SolidData* VISCOUS_3D::ShrinkFace::_data1 |
Referenced by Init(), VISCOUS_3D::PeriodicFaces::MoveNodes(), and SetBoundary().
| _SolidData* VISCOUS_3D::ShrinkFace::_data2 |
Referenced by Init(), and SetBoundary().
| int VISCOUS_3D::ShrinkFace::_nbBoundaryParts |
Referenced by IsPeriodic(), and SetBoundary().
| SMESH_subMesh* VISCOUS_3D::ShrinkFace::_subMesh |
Referenced by GetElements(), Init(), IsSame(), IsSameNbElements(), IsShrunk(), VISCOUS_3D::PeriodicFaces::MoveNodes(), and SetBoundary().