#include <StdMeshers_Penta_3D.hxx>

Public Member Functions

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

Protected Member Functions

void CheckData ()
 
void ClearMeshOnFxy1 ()
 
void CreateNode (const bool theIsUpperLayer, const gp_XYZ &aParams, StdMeshers_TNode &aTN)
 
void FindNodeOnShape (const TopoDS_Shape &aS, const gp_XYZ &aParams, const int z, StdMeshers_TNode &aTN)
 
int GetIndexOnLayer (const int aID)
 
SMESH_MeshGetMesh () const
 
void MakeBlock ()
 
void MakeConnectingMap ()
 
void MakeMeshOnFxy1 ()
 
void MakeNodes ()
 
void MakeVolumeMesh ()
 
double SetHorizEdgeXYZ (const gp_XYZ &aBNXYZ, const int aFaceID, std::vector< const SMDS_MeshNode * > *&aCol1, std::vector< const SMDS_MeshNode * > *&aCol2)
 
void SetMesh (SMESH_Mesh &theMesh)
 
void ShapeSupportID (const bool theIsUpperLayer, const SMESH_Block::TShapeID theBNSSID, SMESH_Block::TShapeID &theSSID)
 

Protected Attributes

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

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 myErrorStatus, and myShape.

Referenced by Compute().

◆ ClearMeshOnFxy1()

◆ Compute()

◆ CreateNode()

◆ ErrorStatus()

int StdMeshers_Penta_3D::ErrorStatus ( ) const

◆ Evaluate()

bool StdMeshers_Penta_3D::Evaluate ( SMESH_Mesh aMesh,
const TopoDS_Shape &  aShape,
MapShapeNbElems &  aResMap 
)

◆ FindNodeOnShape()

◆ GetComputeError()

SMESH_ComputeErrorPtr StdMeshers_Penta_3D::GetComputeError ( ) const

◆ 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()

bool StdMeshers_Penta_3D::LoadIJNodes ( StdMeshers_IJNodeMap &  theIJNodes,
const TopoDS_Face &  theFace,
const TopoDS_Edge &  theBaseEdge,
SMESHDS_Mesh theMesh 
)

◆ MakeBlock()

◆ MakeConnectingMap()

void StdMeshers_Penta_3D::MakeConnectingMap ( )
protected

◆ MakeMeshOnFxy1()

◆ MakeNodes()

void StdMeshers_Penta_3D::MakeNodes ( )
protected

References StdMeshers_TNode::BaseNodeID(), StdMeshers_SMESHBlock::ComputeParameters(), CreateNode(), StdMeshers_SMESHBlock::ErrorStatus(), 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(), 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(), myBlock, myCreateQuadratic, myErrorStatus, myISize, myJSize, myShapeXYZ, myTNodes, myTool, myWallNodesMaps, 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(), draftgeoutils.general::v1(), 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

Member Data Documentation

◆ myBlock

◆ myConnectingMap

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

◆ myCreateQuadratic

bool StdMeshers_Penta_3D::myCreateQuadratic
protected

◆ myErrorStatus

SMESH_ComputeErrorPtr StdMeshers_Penta_3D::myErrorStatus
protected

◆ 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

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/3rdParty/salomesmesh/inc/StdMeshers_Penta_3D.hxx
  • Sources/FreeCAD/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Penta_3D.cpp