Base of all NETGEN algorithms. More...

Public Member Functions | |
| def | __init__ (self, mesh, geom=0) |
| Private constructor. 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 | |
| meshMethod | |
| params | |
| algoType | |
Base of all NETGEN algorithms.
This class provides common methods for all algorithms implemented by NETGEN plugin.
| 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 in NETGEN_1D2D3D_Algorithm_2, NETGEN_1D2D_Algorithm_2, NETGEN_2D_Remote_Algorithm, NETGEN_3D_Remote_Algorithm, NETGEN_3D_Algorithm, NETGEN_2D_Only_Algorithm, NETGEN_1D2D_Algorithm, and NETGEN_1D2D3D_Algorithm.
| def SetMaxSize | ( | self, | |
| theSize | |||
| ) |
Sets MaxSize parameter.
| theSize | new value of the MaxSize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
| def SetMinSize | ( | self, | |
| theSize | |||
| ) |
Sets MinSize parameter.
| theSize | new value of the MinSize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
| def SetOptimize | ( | self, | |
| theVal | |||
| ) |
Sets Optimize flag.
| theVal | new value of the Optimize parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
| def SetFineness | ( | self, | |
| theFineness | |||
| ) |
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.
| def SetGrowthRate | ( | self, | |
| theRate | |||
| ) |
Sets GrowthRate parameter.
| theRate | new value of the GrowthRate parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
| def SetNbThreads | ( | self, | |
| theNumber | |||
| ) |
Sets NbThreads parameter.
| theRate | new value of the NbThreads parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
| def Parameters | ( | self, | |
which = SOLE |
|||
| ) |
| def SetMeshSizeFile | ( | self, | |
| file | |||
| ) |
Defines a file specifying size of elements at points and lines.
| file | name of the file |
References NETGEN_Algorithm.Parameters().
| def SetLocalSizeOnShape | ( | self, | |
| shape, | |||
| size | |||
| ) |
Set size of elements on a shape.
| shape | - geometry |
| size | - element size |
References NETGEN_Algorithm.Parameters().
| meshMethod |
| params |
| algoType |