Version: 8.3.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, intmyConnectingMap
 
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 ( )

Member Function Documentation

void StdMeshers_Penta_3D::CheckData ( )
protected

References MESSAGE, myErrorStatus, and myShape.

Referenced by Compute().

void StdMeshers_Penta_3D::ClearMeshOnFxy1 ( )
protected
int StdMeshers_Penta_3D::ErrorStatus ( ) const

Referenced by ComputePentahedralMesh().

SMESH_ComputeErrorPtr StdMeshers_Penta_3D::GetComputeError ( ) const

Referenced by ComputePentahedralMesh().

int StdMeshers_Penta_3D::GetIndexOnLayer ( const int  aID)
protected

References myConnectingMap, and myErrorStatus.

Referenced by MakeMeshOnFxy1(), and MakeVolumeMesh().

SMESH_Mesh* StdMeshers_Penta_3D::GetMesh ( ) const
protected
void StdMeshers_Penta_3D::MakeConnectingMap ( )
protected
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().

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
void StdMeshers_Penta_3D::SetMesh ( SMESH_Mesh theMesh)
protected

Referenced by Compute().

void StdMeshers_Penta_3D::SetTolerance ( const double  theTol3D)
double StdMeshers_Penta_3D::Tolerance ( ) const

Field Documentation

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
std::vector<StdMeshers_TNode> StdMeshers_Penta_3D::myTNodes
protected
double StdMeshers_Penta_3D::myTol3D
protected
std::vector<StdMeshers_IJNodeMap> StdMeshers_Penta_3D::myWallNodesMaps
protected