Base of all NETGEN algorithms. More...
Public Member Functions | |
def | __init__ |
Private constructor. 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 | |
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 |
References NETGEN_Algorithm.algoType, and Mesh_Algorithm.Create().
def SetMaxSize | ( | self, | |
theSize | |||
) |
Sets MaxSize
parameter.
theSize | new value of the MaxSize parameter |
References NETGEN_Algorithm.Parameters().
def SetMinSize | ( | self, | |
theSize | |||
) |
Sets MinSize
parameter.
theSize | new value of the MinSize parameter |
References NETGEN_Algorithm.Parameters().
def SetOptimize | ( | self, | |
theVal | |||
) |
Sets Optimize
flag.
theVal | new value of the Optimize parameter |
References NETGEN_Algorithm.Parameters().
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().
def SetGrowthRate | ( | self, | |
theRate | |||
) |
Sets GrowthRate
parameter.
theRate | new value of the GrowthRate parameter |
References NETGEN_Algorithm.Parameters().
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().
params |
algoType |