Tetrahedron 3D algorithm. More...

Public Member Functions | |
| def | __init__ (self, mesh, geom=0) |
| Private constructor. More... | |
| def | MaxElementVolume (self, vol, UseExisting=0) |
Defines MaxElementVolume hypothesis to specify the maximum volume value of each tetrahedron. More... | |
| def | SetMaxSize (self, theSize) |
Sets MaxSize parameter. More... | |
| def | SetMinSize (self, theSize) |
Sets MinSize parameter. More... | |
| def | SetOptimize (self, theVal) |
Sets Optimize flag. More... | |
| def | SetFineness (self, theFineness) |
Sets Fineness parameter. More... | |
| def | SetGrowthRate (self, theRate) |
Sets GrowthRate parameter. More... | |
| def | SetNbThreads (self, theNumber) |
Sets NbThreads parameter. More... | |
| def | Parameters (self, which=SOLE) |
| Creates meshing hypothesis according to the chosen algorithm type and initializes it with default parameters. More... | |
| def | SetMeshSizeFile (self, file) |
| Defines a file specifying size of elements at points and lines. More... | |
| def | SetLocalSizeOnShape (self, shape, size) |
| Set size of elements on a shape. 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... | |
| bool | 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... | |
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.
| def __init__ | ( | self, | |
| mesh, | |||
geom = 0 |
|||
| ) |
Private constructor.
| mesh | parent mesh object algorithm is assigned to |
| geom | geometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape |
Reimplemented from NETGEN_Algorithm.
Reimplemented in NETGEN_3D_Remote_Algorithm.
| def MaxElementVolume | ( | self, | |
| vol, | |||
UseExisting = 0 |
|||
| ) |
Defines MaxElementVolume hypothesis to specify the maximum volume value of each tetrahedron.
| vol | maximum volume value of each tetrahedron |
| UseExisting | if True - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References Mesh_Algorithm.Hypothesis().
|
inherited |
Sets MaxSize parameter.
| theSize | new value of the MaxSize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets MinSize parameter.
| theSize | new value of the MinSize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets Optimize flag.
| theVal | new value of the Optimize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets Fineness parameter.
| theFineness | new value of the Fineness parameter; it can be: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets GrowthRate parameter.
| theRate | new value of the GrowthRate parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets NbThreads parameter.
| theRate | new value of the NbThreads parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
|
inherited |
Defines a file specifying size of elements at points and lines.
| file | name of the file |
References NETGEN_Algorithm.Parameters().
|
inherited |
Set size of elements on a shape.
| shape | - geometry |
| size | - element size |
References NETGEN_Algorithm.Parameters().
|
static |
name of the dynamic method in smeshBuilder.Mesh class
|
static |
type of algorithm used with helper function in smeshBuilder.Mesh class
|
static |
flag pointing either this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class
|
static |
doc string of the method
|
inherited |