Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables
NETGEN_1D2D3D_Algorithm Class Reference

Tetrahedron 1D-2D-3D algorithm. More...

Inheritance diagram for NETGEN_1D2D3D_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def SetSecondOrder
 Sets SecondOrder flag. More...
 
def SetNbSegPerEdge
 Sets NbSegPerEdge parameter. More...
 
def SetNbSegPerRadius
 Sets NbSegPerRadius parameter. More...
 
def SetQuadAllowed
 Sets QuadAllowed flag. More...
 
def SetUseSurfaceCurvature
 Sets UseSurfaceCurvature flag. More...
 
def SetFuseEdges
 Sets FuseEdges flag. More...
 
def SetNumberOfSegments
 Sets number of segments overriding the value set by SetLocalLength() More...
 
def SetLocalLength
 Sets number of segments overriding the value set by SetNumberOfSegments() More...
 
def MaxElementArea
 Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def LengthFromEdges
 Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def LengthFromFaces
 Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def MaxElementVolume
 Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def SetMaxSize
 Sets MaxSize parameter. More...
 
def SetMinSize
 Sets MinSize parameter. More...
 
def SetOptimize
 Sets Optimize flag. More...
 
def SetFineness
 Sets Fineness parameter. More...
 
def SetGrowthRate
 Sets GrowthRate parameter. More...
 
def Parameters
 Creates meshing hypothesis according to the chosen algorithm type and initializes it with default parameters. More...
 
def SetMeshSizeFile
 Defines a file specifying size of elements at points and lines. More...
 

Data Fields

 params
 

Static Public Attributes

string meshMethod = "Tetrahedron"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = NETGEN_1D2D3D
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates tetrahedron 3D algorithm for solids"
 doc string of the method More...
 

Detailed Description

Tetrahedron 1D-2D-3D algorithm.

It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.NETGEN_1D2D3D, geom=0 ). This algorithm generates all 1D (edges), 2D (faces) and 3D (volumes) elements for given geometrical shape.

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

Member Function Documentation

def SetSecondOrder (   self,
  theVal 
)

Sets SecondOrder flag.

Parameters
theValnew value of the SecondOrder parameter

References NETGEN_Algorithm.Parameters().

def SetNbSegPerEdge (   self,
  theVal 
)

Sets NbSegPerEdge parameter.

Parameters
theValnew value of the NbSegPerEdge parameter

References NETGEN_Algorithm.Parameters().

def SetNbSegPerRadius (   self,
  theVal 
)

Sets NbSegPerRadius parameter.

Parameters
theValnew value of the NbSegPerRadius parameter

References NETGEN_Algorithm.Parameters().

def SetQuadAllowed (   self,
  toAllow = True 
)

Sets QuadAllowed flag.

Parameters
toAllownew value of the QuadAllowed parameter (True by default)

References NETGEN_Algorithm.Parameters().

def SetUseSurfaceCurvature (   self,
  toUse = True 
)

Sets UseSurfaceCurvature flag.

Parameters
toUsenew value of the UseSurfaceCurvature parameter (True by default)

References NETGEN_Algorithm.Parameters().

def SetFuseEdges (   self,
  toFuse = False 
)

Sets FuseEdges flag.

Parameters
toFusenew value of the FuseEdges parameter (False by default)

References NETGEN_Algorithm.Parameters().

def SetNumberOfSegments (   self,
  theVal 
)

Sets number of segments overriding the value set by SetLocalLength()

Parameters
theValnew value of number of segments parameter

References NETGEN_Algorithm.Parameters().

def SetLocalLength (   self,
  theVal 
)

Sets number of segments overriding the value set by SetNumberOfSegments()

Parameters
theValnew value of local length parameter

References NETGEN_Algorithm.Parameters().

def MaxElementArea (   self,
  area 
)

Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by LengthFromEdges()

Parameters
areanew value of MaxElementArea parameter

References NETGEN_Algorithm.Parameters().

def LengthFromEdges (   self)

Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by MaxElementArea()

References NETGEN_Algorithm.Parameters().

def LengthFromFaces (   self)

Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by MaxElementVolume()

References NETGEN_Algorithm.Parameters().

def MaxElementVolume (   self,
  vol 
)

Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by LengthFromFaces()

Parameters
volnew value of MaxElementVolume parameter

References NETGEN_Algorithm.Parameters().

def SetMaxSize (   self,
  theSize 
)
inherited

Sets MaxSize parameter.

Parameters
theSizenew value of the MaxSize parameter

References NETGEN_Algorithm.Parameters().

def SetMinSize (   self,
  theSize 
)
inherited

Sets MinSize parameter.

Parameters
theSizenew value of the MinSize parameter

References NETGEN_Algorithm.Parameters().

def SetOptimize (   self,
  theVal 
)
inherited

Sets Optimize flag.

Parameters
theValnew value of the Optimize parameter

References NETGEN_Algorithm.Parameters().

def SetFineness (   self,
  theFineness 
)
inherited

Sets Fineness parameter.

Parameters
theFinenessnew value of the Fineness parameter; it can be: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom

References NETGEN_Algorithm.Parameters().

def SetGrowthRate (   self,
  theRate 
)
inherited

Sets GrowthRate parameter.

Parameters
theRatenew value of the GrowthRate parameter

References NETGEN_Algorithm.Parameters().

def Parameters (   self,
  which = SOLE 
)
inherited

Creates meshing hypothesis according to the chosen algorithm type and initializes it with default parameters.

Parameters
whichhypothesis type; can be either SOLE (default) or SIMPLE
Returns
hypothesis object
def SetMeshSizeFile (   self,
  file 
)
inherited

Defines a file specifying size of elements at points and lines.

Parameters
filename of the file

References NETGEN_Algorithm.Parameters().

Field Documentation

string meshMethod = "Tetrahedron"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = NETGEN_1D2D3D
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates tetrahedron 3D algorithm for solids"
static

doc string of the method

params
inherited