#include <StdMeshers_Penta_3D.hxx>
|
void | CheckData () |
|
void | MakeBlock () |
|
void | MakeNodes () |
|
double | SetHorizEdgeXYZ (const gp_XYZ &aBNXYZ, const int aFaceID, std::vector< const SMDS_MeshNode * > *&aCol1, std::vector< const SMDS_MeshNode * > *&aCol2) |
|
void | ShapeSupportID (const bool theIsUpperLayer, const SMESH_Block::TShapeID theBNSSID, SMESH_Block::TShapeID &theSSID) |
|
void | FindNodeOnShape (const TopoDS_Shape &aS, const gp_XYZ &aParams, const int z, StdMeshers_TNode &aTN) |
|
void | CreateNode (const bool theIsUpperLayer, const gp_XYZ &aParams, StdMeshers_TNode &aTN) |
|
void | ClearMeshOnFxy1 () |
|
void | MakeMeshOnFxy1 () |
|
void | MakeConnectingMap () |
|
int | GetIndexOnLayer (const int aID) |
|
void | MakeVolumeMesh () |
|
void | SetMesh (SMESH_Mesh &theMesh) |
|
SMESH_Mesh * | GetMesh () const |
|
StdMeshers_Penta_3D::StdMeshers_Penta_3D |
( |
| ) |
|
StdMeshers_Penta_3D::~StdMeshers_Penta_3D |
( |
| ) |
|
void StdMeshers_Penta_3D::CheckData |
( |
| ) |
|
|
protected |
void StdMeshers_Penta_3D::ClearMeshOnFxy1 |
( |
| ) |
|
|
protected |
bool StdMeshers_Penta_3D::Compute |
( |
SMESH_Mesh & |
aMesh, |
|
|
const TopoDS_Shape & |
aShape |
|
) |
| |
References CheckData(), ClearMeshOnFxy1(), SMESH_MesherHelper::IsQuadraticSubMesh(), MakeBlock(), MakeConnectingMap(), MakeMeshOnFxy1(), MakeNodes(), MakeVolumeMesh(), myCreateQuadratic, myErrorStatus, myShape, myTool, and SetMesh().
Referenced by ComputePentahedralMesh().
void StdMeshers_Penta_3D::CreateNode |
( |
const bool |
theIsUpperLayer, |
|
|
const gp_XYZ & |
aParams, |
|
|
StdMeshers_TNode & |
aTN |
|
) |
| |
|
protected |
References SMESHDS_Mesh::AddNode(), GetMesh(), SMESH_Block::ID_E0y1, SMESH_Block::ID_E1y1, SMESH_Block::ID_Ex01, SMESH_Block::ID_Ex11, SMESH_Block::ID_V001, SMESH_Block::ID_V011, SMESH_Block::ID_V101, SMESH_Block::ID_V111, myShapeXYZ, StdMeshers_TNode::SetNode(), and SMESH_Block::ShellPoint().
Referenced by MakeNodes().
int StdMeshers_Penta_3D::ErrorStatus |
( |
| ) |
const |
References COMPERR_ALGO_FAILED, SMESH_MesherHelper::IsQuadraticSubMesh(), Max(), myErrorStatus, SMDSEntity_Edge, SMDSEntity_Last, SMDSEntity_Node, SMDSEntity_Penta, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, and SMDSEntity_Triangle.
Referenced by EvaluatePentahedralMesh().
void StdMeshers_Penta_3D::FindNodeOnShape |
( |
const TopoDS_Shape & |
aS, |
|
|
const gp_XYZ & |
aParams, |
|
|
const int |
z, |
|
|
StdMeshers_TNode & |
aTN |
|
) |
| |
|
protected |
References StdMeshers_TNode::BaseNodeID(), faceID, GetMesh(), SMESH_Block::GetShapeIDByParams(), SMESH_Block::IsFaceID(), SMESH_MesherHelper::IsMedium(), myBlock, myTol3D, myTool, myWallNodesMaps, StdMeshers_SMESHBlock::Point(), StdMeshers_TNode::SetNode(), StdMeshers_SMESHBlock::ShapeID(), SMESH_Block::ShapeIndex(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by MakeNodes().
int StdMeshers_Penta_3D::GetIndexOnLayer |
( |
const int |
aID | ) |
|
|
protected |
SMESH_Mesh* StdMeshers_Penta_3D::GetMesh |
( |
| ) |
const |
|
protected |
References Edge, SMESH_MeshAlgos::FindFaceInSet(), SMESHDS_SubMesh::GetElements(), SMESHDS_SubMesh::GetNodes(), SMDS_MeshNode::GetPosition(), SMDS_MeshElement::GetType(), SMDS_EdgePosition::GetUParameter(), SMESH_MesherHelper::IsMedium(), SMESHDS_Mesh::MeshElements(), MESSAGE, myCreateQuadratic, myTool, NB_WALL_FACES, SMESHDS_SubMesh::NbNodes(), SMDS_MeshElement::NbNodes(), SMDS_MeshElement::nodesIterator(), and SMDSAbs_Face.
Referenced by MakeNodes().
void StdMeshers_Penta_3D::MakeBlock |
( |
| ) |
|
|
protected |
References Edge, StdMeshers_SMESHBlock::ErrorStatus(), SMESHDS_SubMesh::GetElements(), StdMeshers_SMESHBlock::GetError(), GetMesh(), SMDS_MeshElement::GetType(), SMDS_MeshElement::IsQuadratic(), StdMeshers_SMESHBlock::Load(), MESSAGE, myBlock, myErrorStatus, myShape, NB_WALL_FACES, SMDS_MeshElement::NbNodes(), and SMDSAbs_Face.
Referenced by Compute().
void StdMeshers_Penta_3D::MakeConnectingMap |
( |
| ) |
|
|
protected |
void StdMeshers_Penta_3D::MakeMeshOnFxy1 |
( |
| ) |
|
|
protected |
References SMESH_MesherHelper::AddFace(), SMESH_subMesh::CHECK_COMPUTE_STATE, Face, SMESHDS_SubMesh::GetElements(), SMDS_MeshElement::GetID(), GetIndexOnLayer(), GetMesh(), SMESHDS_SubMesh::GetNodes(), SMESH_MesherHelper::GetSubShape(), SMDS_MeshElement::GetType(), SMESH_Block::ID_Fxy0, SMESH_Block::ID_Fxy1, SMESH_MesherHelper::IsMedium(), SMESH_subMeshEventListenerData::MakeData(), MESSAGE, myBlock, myCreateQuadratic, myErrorStatus, myISize, myJSize, myShape, myTNodes, myTool, SMESHDS_SubMesh::NbNodes(), SMDS_MeshElement::NbNodes(), StdMeshers_TNode::Node(), SMDS_MeshElement::nodesIterator(), SMESHDS_Mesh::SetMeshElementOnShape(), SMESH_MesherHelper::SetSubShape(), StdMeshers_SMESHBlock::Shape(), and SMDSAbs_Face.
Referenced by Compute().
void StdMeshers_Penta_3D::MakeNodes |
( |
| ) |
|
|
protected |
References StdMeshers_TNode::BaseNodeID(), COMPERR_BAD_INPUT_MESH, StdMeshers_SMESHBlock::ComputeParameters(), CreateNode(), Edge, StdMeshers_SMESHBlock::ErrorStatus(), Face, FindNodeOnShape(), StdMeshers_SMESHBlock::GetError(), SMDS_MeshElement::GetID(), GetMesh(), SMESHDS_SubMesh::GetNodes(), SMESH_MesherHelper::GetNodeUV(), SMDS_MeshNode::GetPosition(), SMDS_EdgePosition::GetUParameter(), SMESH_Block::ID_E00z, SMESH_Block::ID_E0y0, SMESH_Block::ID_E1y0, SMESH_Block::ID_Ex00, SMESH_Block::ID_Ex10, SMESH_Block::ID_F0yz, SMESH_Block::ID_F1yz, SMESH_Block::ID_Fx0z, SMESH_Block::ID_Fx1z, SMESH_Block::ID_Fxy0, SMESH_Block::ID_Fxy1, SMESH_Block::ID_NONE, SMESH_Block::ID_Shell, SMESH_Block::ID_V000, SMESH_Block::ID_V001, SMESH_Block::ID_V010, SMESH_Block::ID_V011, SMESH_Block::ID_V100, SMESH_Block::ID_V101, SMESH_Block::ID_V110, SMESH_Block::ID_V111, SMESH_Block::IsEdgeID(), SMESH_MesherHelper::IsMedium(), SMESH_Block::IsVertexID(), LoadIJNodes(), SMESHDS_Mesh::MeshElements(), MESSAGE, myBlock, myCreateQuadratic, myErrorStatus, myISize, myJSize, myShapeXYZ, myTNodes, myTool, myWallNodesMaps, NB_WALL_FACES, SMESHDS_SubMesh::NbNodes(), StdMeshers_TNode::Node(), StdMeshers_TNode::NormCoord(), StdMeshers_TNode::SetBaseNodeID(), SetHorizEdgeXYZ(), StdMeshers_TNode::SetNode(), StdMeshers_TNode::SetNormCoord(), StdMeshers_TNode::SetShapeSupportID(), StdMeshers_SMESHBlock::Shape(), SMESH_Block::ShapeIndex(), StdMeshers_TNode::ShapeSupportID(), ShapeSupportID(), SMESHDS_Mesh::ShapeToIndex(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by Compute().
void StdMeshers_Penta_3D::MakeVolumeMesh |
( |
| ) |
|
|
protected |
References SMESH_MesherHelper::AddVolume(), Face, SMESHDS_SubMesh::GetElements(), SMDS_MeshElement::GetID(), GetIndexOnLayer(), GetMesh(), SMDS_MeshElement::GetNode(), SMESH_Block::ID_Fxy0, SMESH_Block::ID_NONE, SMDS_VolumeTool::IsForward(), MESSAGE, myBlock, myCreateQuadratic, myErrorStatus, myISize, myJSize, myShape, myTNodes, myTool, SMDS_MeshElement::NbNodes(), StdMeshers_TNode::Node(), SMDS_VolumeTool::Set(), SMESHDS_Mesh::SetMeshElementOnShape(), SMESHDS_Mesh::SetNodeInVolume(), StdMeshers_SMESHBlock::Shape(), StdMeshers_TNode::ShapeSupportID(), and SMESHDS_Mesh::ShapeToIndex().
Referenced by Compute().
double StdMeshers_Penta_3D::SetHorizEdgeXYZ |
( |
const gp_XYZ & |
aBNXYZ, |
|
|
const int |
aFaceID, |
|
|
std::vector< const SMDS_MeshNode * > *& |
aCol1, |
|
|
std::vector< const SMDS_MeshNode * > *& |
aCol2 |
|
) |
| |
|
protected |
References StdMeshers_SMESHBlock::Block(), SMESH_Block::EdgePoint(), SMESH_Block::GetCoordIndOnEdge(), SMESH_Block::GetFaceEdgesIDs(), StdMeshers_SMESHBlock::IsForwadEdge(), myBlock, myShapeXYZ, myWallNodesMaps, SMESH_Block::ShapeIndex(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by MakeNodes().
void StdMeshers_Penta_3D::SetMesh |
( |
SMESH_Mesh & |
theMesh | ) |
|
|
protected |
void StdMeshers_Penta_3D::SetTolerance |
( |
const double |
theTol3D | ) |
|
References SMESH_Block::ID_E00z, SMESH_Block::ID_E01z, SMESH_Block::ID_E0y0, SMESH_Block::ID_E0y1, SMESH_Block::ID_E10z, SMESH_Block::ID_E11z, SMESH_Block::ID_E1y0, SMESH_Block::ID_E1y1, SMESH_Block::ID_Ex00, SMESH_Block::ID_Ex01, SMESH_Block::ID_Ex10, SMESH_Block::ID_Ex11, SMESH_Block::ID_F0yz, SMESH_Block::ID_F1yz, SMESH_Block::ID_Fx0z, SMESH_Block::ID_Fx1z, SMESH_Block::ID_Fxy0, SMESH_Block::ID_NONE, SMESH_Block::ID_V000, SMESH_Block::ID_V001, SMESH_Block::ID_V010, SMESH_Block::ID_V011, SMESH_Block::ID_V100, SMESH_Block::ID_V101, SMESH_Block::ID_V110, SMESH_Block::ID_V111, and myErrorStatus.
Referenced by MakeNodes().
double StdMeshers_Penta_3D::Tolerance |
( |
| ) |
const |
std::map< int, int > StdMeshers_Penta_3D::myConnectingMap |
|
protected |
bool StdMeshers_Penta_3D::myCreateQuadratic |
|
protected |
int StdMeshers_Penta_3D::myISize |
|
protected |
int StdMeshers_Penta_3D::myJSize |
|
protected |
void* StdMeshers_Penta_3D::myMesh |
|
protected |
TopoDS_Shape StdMeshers_Penta_3D::myShape |
|
protected |
std::vector<gp_XYZ> StdMeshers_Penta_3D::myShapeXYZ |
|
protected |
double StdMeshers_Penta_3D::myTol3D |
|
protected |