Version: 9.12.0
StdMeshers_Penta_3D Class Reference

#include <StdMeshers_Penta_3D.hxx>

Public Member Functions

 StdMeshers_Penta_3D ()
 
 ~StdMeshers_Penta_3D ()
 
bool Compute (SMESH_Mesh &, const TopoDS_Shape &)
 
int ErrorStatus () const
 
SMESH_ComputeErrorPtr GetComputeError () const
 
void SetTolerance (const double theTol3D)
 
double Tolerance () const
 
bool LoadIJNodes (StdMeshers_IJNodeMap &theIJNodes, const TopoDS_Face &theFace, const TopoDS_Edge &theBaseEdge, SMESHDS_Mesh *theMesh)
 
bool Evaluate (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
 

Protected Member Functions

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_MeshGetMesh () const
 

Protected Attributes

TopoDS_Shape myShape
 
StdMeshers_SMESHBlock myBlock
 
void * myMesh
 
SMESH_ComputeErrorPtr myErrorStatus
 
std::vector< StdMeshers_TNodemyTNodes
 
int myISize
 
int myJSize
 
double myTol3D
 
std::map< int, int > myConnectingMap
 
std::vector< StdMeshers_IJNodeMapmyWallNodesMaps
 
std::vector< gp_XYZ > myShapeXYZ
 
bool myCreateQuadratic
 
SMESH_MesherHelpermyTool
 

Constructor & Destructor Documentation

◆ StdMeshers_Penta_3D()

StdMeshers_Penta_3D::StdMeshers_Penta_3D ( )

◆ ~StdMeshers_Penta_3D()

StdMeshers_Penta_3D::~StdMeshers_Penta_3D ( )

Member Function Documentation

◆ CheckData()

void StdMeshers_Penta_3D::CheckData ( )
protected

References MESSAGE, myErrorStatus, and myShape.

Referenced by Compute().

◆ ClearMeshOnFxy1()

◆ Compute()

◆ CreateNode()

◆ ErrorStatus()

int StdMeshers_Penta_3D::ErrorStatus ( ) const

Referenced by ComputePentahedralMesh().

◆ Evaluate()

◆ FindNodeOnShape()

◆ GetComputeError()

SMESH_ComputeErrorPtr StdMeshers_Penta_3D::GetComputeError ( ) const

Referenced by ComputePentahedralMesh().

◆ GetIndexOnLayer()

int StdMeshers_Penta_3D::GetIndexOnLayer ( const int  aID)
protected

References myConnectingMap, and myErrorStatus.

Referenced by MakeMeshOnFxy1(), and MakeVolumeMesh().

◆ GetMesh()

SMESH_Mesh* StdMeshers_Penta_3D::GetMesh ( ) const
protected

◆ LoadIJNodes()

◆ MakeBlock()

◆ MakeConnectingMap()

void StdMeshers_Penta_3D::MakeConnectingMap ( )
protected

◆ MakeMeshOnFxy1()

◆ MakeNodes()

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(), SMESH_Mesh::GetMeshDS(), SMESHDS_SubMesh::GetNodes(), SMESH_MesherHelper::GetNodeUV(), SMDS_MeshNode::GetPosition(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), 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(), SMESHDS_Mesh::SetNodeOnFace(), 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().

◆ MakeVolumeMesh()

◆ SetHorizEdgeXYZ()

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

◆ SetMesh()

void StdMeshers_Penta_3D::SetMesh ( SMESH_Mesh theMesh)
protected

Referenced by Compute().

◆ SetTolerance()

void StdMeshers_Penta_3D::SetTolerance ( const double  theTol3D)

◆ ShapeSupportID()

◆ Tolerance()

double StdMeshers_Penta_3D::Tolerance ( ) const

Field Documentation

◆ myBlock

◆ myConnectingMap

std::map< int, int > StdMeshers_Penta_3D::myConnectingMap
protected

◆ myCreateQuadratic

bool StdMeshers_Penta_3D::myCreateQuadratic
protected

◆ myErrorStatus

◆ myISize

int StdMeshers_Penta_3D::myISize
protected

◆ myJSize

int StdMeshers_Penta_3D::myJSize
protected

◆ myMesh

void* StdMeshers_Penta_3D::myMesh
protected

◆ myShape

TopoDS_Shape StdMeshers_Penta_3D::myShape
protected

◆ myShapeXYZ

std::vector<gp_XYZ> StdMeshers_Penta_3D::myShapeXYZ
protected

◆ myTNodes

std::vector<StdMeshers_TNode> StdMeshers_Penta_3D::myTNodes
protected

◆ myTol3D

double StdMeshers_Penta_3D::myTol3D
protected

◆ myTool

◆ myWallNodesMaps

std::vector<StdMeshers_IJNodeMap> StdMeshers_Penta_3D::myWallNodesMaps
protected