SALOME - SMESH
NETGENPlugin_Mesher Class Reference

This class calls the NETGEN mesher of OCC geometry. More...

#include <NETGENPlugin_Mesher.hxx>

Collaboration diagram for NETGENPlugin_Mesher:
Collaboration graph

Public Member Functions

 NETGENPlugin_Mesher (SMESH_Mesh *mesh, const TopoDS_Shape &aShape, const bool isVolume)
 
void SetParameters (const NETGENPlugin_Hypothesis *hyp)
 
void SetParameters (const NETGENPlugin_SimpleHypothesis_2D *hyp)
 
bool Compute ()
 
bool Evaluate (MapShapeNbElems &aResMap)
 

Static Public Member Functions

static void PrepareOCCgeometry (netgen::OCCGeometry &occgeom, const TopoDS_Shape &shape, SMESH_Mesh &mesh, std::list< SMESH_subMesh * > *meshedSM=0)
 
static void RemoveTmpFiles ()
 

Protected Member Functions

bool fillNgMesh (netgen::OCCGeometry &occgeom, netgen::Mesh &ngMesh, std::vector< SMDS_MeshNode *> &nodeVec, const std::list< SMESH_subMesh * > &meshedSM)
 
void defaultParameters ()
 

Private Attributes

SMESH_Mesh_mesh
 
const TopoDS_Shape & _shape
 
bool _isVolume
 
bool _optimize
 
const NETGENPlugin_SimpleHypothesis_2D_simpleHyp
 
std::map< int, std::pair< int, int > > _faceDescriptors
 

Detailed Description

This class calls the NETGEN mesher of OCC geometry.

Definition at line 51 of file NETGENPlugin_Mesher.hxx.

Constructor & Destructor Documentation

◆ NETGENPlugin_Mesher()

NETGENPlugin_Mesher::NETGENPlugin_Mesher ( SMESH_Mesh mesh,
const TopoDS_Shape &  aShape,
const bool  isVolume 
)

Member Function Documentation

◆ SetParameters() [1/2]

void NETGENPlugin_Mesher::SetParameters ( const NETGENPlugin_Hypothesis hyp)

◆ SetParameters() [2/2]

void NETGENPlugin_Mesher::SetParameters ( const NETGENPlugin_SimpleHypothesis_2D hyp)

◆ Compute()

bool NETGENPlugin_Mesher::Compute ( )

◆ Evaluate()

bool NETGENPlugin_Mesher::Evaluate ( MapShapeNbElems aResMap)

◆ PrepareOCCgeometry()

static void NETGENPlugin_Mesher::PrepareOCCgeometry ( netgen::OCCGeometry &  occgeom,
const TopoDS_Shape &  shape,
SMESH_Mesh mesh,
std::list< SMESH_subMesh * > *  meshedSM = 0 
)
static

◆ RemoveTmpFiles()

static void NETGENPlugin_Mesher::RemoveTmpFiles ( )
static

◆ fillNgMesh()

bool NETGENPlugin_Mesher::fillNgMesh ( netgen::OCCGeometry &  occgeom,
netgen::Mesh &  ngMesh,
std::vector< SMDS_MeshNode *> &  nodeVec,
const std::list< SMESH_subMesh * > &  meshedSM 
)
protected

◆ defaultParameters()

void NETGENPlugin_Mesher::defaultParameters ( )
protected

Field Documentation

◆ _mesh

SMESH_Mesh* NETGENPlugin_Mesher::_mesh
private

Definition at line 84 of file NETGENPlugin_Mesher.hxx.

◆ _shape

const TopoDS_Shape& NETGENPlugin_Mesher::_shape
private

Definition at line 85 of file NETGENPlugin_Mesher.hxx.

◆ _isVolume

bool NETGENPlugin_Mesher::_isVolume
private

Definition at line 86 of file NETGENPlugin_Mesher.hxx.

◆ _optimize

bool NETGENPlugin_Mesher::_optimize
private

Definition at line 87 of file NETGENPlugin_Mesher.hxx.

◆ _simpleHyp

const NETGENPlugin_SimpleHypothesis_2D* NETGENPlugin_Mesher::_simpleHyp
private

Definition at line 89 of file NETGENPlugin_Mesher.hxx.

◆ _faceDescriptors

std::map< int, std::pair<int,int> > NETGENPlugin_Mesher::_faceDescriptors
private

Definition at line 90 of file NETGENPlugin_Mesher.hxx.