SALOME documentation central

Mesh_Tetrahedron Class Reference
[Basic meshing algorithms]

Defines a tetrahedron 3D algorithm. More...

Public Member Functions

def __init__
 Private constructor.
def MaxElementVolume
 Defines "MaxElementVolume" hypothesis to give the maximun volume of each tetrahedron.
def CompareMaxElementVolume
 Checks if the given "MaxElementVolume" hypothesis has the same parameters as the given arguments.
def Parameters
 Defines hypothesis having several parameters.
def SetMaxSize
 Sets MaxSize Parameter of FULL_NETGEN.
def SetSecondOrder
 Sets SecondOrder flag Parameter of FULL_NETGEN.
def SetOptimize
 Sets Optimize flag Parameter of FULL_NETGEN.
def SetFineness
 Sets Fineness.
def SetGrowthRate
 Sets GrowthRate Parameter of FULL_NETGEN.
def SetNbSegPerEdge
 Sets NbSegPerEdge Parameter of FULL_NETGEN.
def SetNbSegPerRadius
 Sets NbSegPerRadius Parameter of FULL_NETGEN.
def SetNumberOfSegments
 Sets number of segments overriding value set by SetLocalLength() Only for algoType == NETGEN_FULL.
def SetLocalLength
 Sets number of segments overriding value set by SetNumberOfSegments() Only for algoType == NETGEN_FULL.
def MaxElementArea
 Defines "MaxElementArea" parameter of NETGEN_SimpleParameters_3D hypothesis.
def LengthFromEdges
 Defines "LengthFromEdges" parameter of NETGEN_SimpleParameters_3D hypothesis Overrides value set by MaxElementArea() Only for algoType == NETGEN_FULL.
def LengthFromFaces
 Defines "LengthFromFaces" parameter of NETGEN_SimpleParameters_3D hypothesis Overrides value set by MaxElementVolume() Only for algoType == NETGEN_FULL.
def SetToMeshHoles
 To mesh "holes" in a solid or not.
def SetOptimizationLevel
 Set Optimization level: None_Optimization, Light_Optimization, Standard_Optimization, StandardPlus_Optimization, Strong_Optimization.
def SetMaximumMemory
 Maximal size of memory to be used by the algorithm (in Megabytes).
def SetInitialMemory
 Initial size of memory to be used by the algorithm (in Megabytes) in automatic memory adjustment mode.
def SetWorkingDirectory
 Path to working directory.
def SetKeepFiles
 To keep working files or remove them.
def SetVerboseLevel
 To set verbose level [0-10].
def SetToCreateNewNodes
 To create new nodes.
def SetToUseBoundaryRecoveryVersion
 To use boundary recovery version which tries to create mesh on a very poor quality surface mesh.
def SetTextOption
 Sets command line option as text.
def SetMEDName
 Sets MED files name and path.
def SetNbPart
 Sets the number of partition of the initial mesh.
def SetBackground
 When big mesh, start tepal in background.
def __init__
def FindHypothesis
 Finds a hypothesis in the study by its type name and parameters.
def FindAlgorithm
 Finds the algorithm in the study by its type name.
def GetSubMesh
 If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
def GetAlgorithm
 Returns the wrapped mesher.
def GetCompatibleHypothesis
 Gets the list of hypothesis that can be used with this algorithm.
def GetName
 Gets the name of the algorithm.
def SetName
 Sets the name to the algorithm.
def GetId
 Gets the id of the algorithm.
def Create
 Private method.
def Assign
 Private method.
def CompareHyp
def CompareEqualHyp
def Hypothesis
 Private method.
def MainShapeEntry
 Returns entry of the shape to mesh in the study.

Data Fields

 algoType
 params
 mesh
 geom
 subm
 algo

Static Public Attributes

int params = 0
int algoType = 0

Detailed Description

Defines a tetrahedron 3D algorithm.


Member Function Documentation

def __init__ (   self,
  mesh,
  algoType,
  geom = 0 
)

Private constructor.

def CompareMaxElementVolume (   self,
  hyp,
  args 
)

Checks if the given "MaxElementVolume" hypothesis has the same parameters as the given arguments.

def SetMEDName (   self,
  value 
)

Sets MED files name and path.

def SetNbPart (   self,
  value 
)

Sets the number of partition of the initial mesh.

def SetBackground (   self,
  value 
)

When big mesh, start tepal in background.

def __init__ (   self  )  [inherited]
def FindHypothesis (   self,
  hypname,
  args,
  CompareMethod,
  smeshpyD 
) [inherited]

Finds a hypothesis in the study by its type name and parameters.

Finds only the hypotheses created in smeshpyD engine.

Returns:
SMESH.SMESH_Hypothesis
def FindAlgorithm (   self,
  algoname,
  smeshpyD 
) [inherited]

Finds the algorithm in the study by its type name.

Finds only the algorithms, which have been created in smeshpyD engine.

Returns:
SMESH.SMESH_Algo
def GetSubMesh (   self  )  [inherited]

If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.

def GetAlgorithm (   self  )  [inherited]

Returns the wrapped mesher.

def GetCompatibleHypothesis (   self  )  [inherited]

Gets the list of hypothesis that can be used with this algorithm.

def GetName (   self  )  [inherited]

Gets the name of the algorithm.

def SetName (   self,
  name 
) [inherited]

Sets the name to the algorithm.

def GetId (   self  )  [inherited]

Gets the id of the algorithm.

def Create (   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]

Private method.

def Assign (   self,
  algo,
  mesh,
  geom 
) [inherited]

Private method.

def CompareHyp (   self,
  hyp,
  args 
) [inherited]
def CompareEqualHyp (   self,
  hyp,
  args 
) [inherited]
def Hypothesis (   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so",
  UseExisting = 0,
  CompareMethod = "" 
) [inherited]

Private method.

def MainShapeEntry (   self  )  [inherited]

Returns entry of the shape to mesh in the study.


Field Documentation

int params = 0 [static]
int algoType = 0 [static]
mesh [inherited]
geom [inherited]

Reimplemented in Mesh_Segment.

subm [inherited]
algo [inherited]
 All Data Structures Namespaces Files Functions Variables

Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS