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

Tetrahedron 3D algorithm. More...

Inheritance diagram for NETGEN_3D_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def MaxElementVolume
 Defines MaxElementVolume hypothesis to specify the maximum volume value of each tetrahedron. 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
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
 isDefault = True
 flag pointing either this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class More...
 
string docHelper = "Creates tetrahedron 3D algorithm for solids"
 doc string of the method More...
 

Detailed Description

Tetrahedron 3D algorithm.

It can be created by calling smeshBuilder.Mesh.Tetrahedron() or smeshBuilder.Mesh.Tetrahedron( smeshBuilder.NETGEN, geom=0 )

This algorithm generates only 3D (volumes) elements for given geometrical shape and, in contrast to NETGEN_1D2D3D_Algorithm class, should be used in conjunction with other 1D and 2D meshing algorithms.

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 MaxElementVolume (   self,
  vol,
  UseExisting = 0 
)

Defines MaxElementVolume hypothesis to specify the maximum volume value of each tetrahedron.

Parameters
volmaximum volume value of each tetrahedron
UseExistingif True - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one
Returns
hypothesis object

References Mesh_Algorithm.Hypothesis().

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
static

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

isDefault = True
static

flag pointing either this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class

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

doc string of the method

params
inherited