Triangle NETGEN 2D algorithm. More...

Public Member Functions | |
| def | __init__ |
| Private constructor. More... | |
| def | MaxElementArea |
Defines MaxElementArea parameter of hypothesis basing on the definition of the maximum area of each triangle. More... | |
| def | LengthFromEdges |
Defines LengthFromEdges hypothesis to build triangles based on the length of the edges taken from the wire. More... | |
| def | SetUseSurfaceCurvature |
Sets UseSurfaceCurvature flag. More... | |
| def | SetQuadAllowed |
Sets QuadAllowed flag. 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 = "Triangle" |
| name of the dynamic method in smeshBuilder.Mesh class More... | |
| algoType = NETGEN_2D | |
| type of algorithm used with helper function in smeshBuilder.Mesh class More... | |
| string | docHelper = "Creates triangle 2D algorithm for faces" |
| doc string of the method More... | |
Triangle NETGEN 2D algorithm.
It can be created by calling smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN_2D, geom=0 )
This algorithm generates only 2D (faces) elements for given geometrical shape and, in contrast to NETGEN_1D2D_Algorithm class, should be used in conjunction with other 1D meshing algorithm.
| 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 |
| def MaxElementArea | ( | self, | |
| area, | |||
UseExisting = 0 |
|||
| ) |
Defines MaxElementArea parameter of hypothesis basing on the definition of the maximum area of each triangle.
| area | maximum area value of each triangle |
| UseExisting | if True - searches for an existing hypothesis created with the same parameters, else (default) - creates a new one |
References Mesh_Algorithm.Hypothesis().
| def LengthFromEdges | ( | self | ) |
Defines LengthFromEdges hypothesis to build triangles based on the length of the edges taken from the wire.
References Mesh_Algorithm.CompareEqualHyp(), and Mesh_Algorithm.Hypothesis().
| def SetUseSurfaceCurvature | ( | self, | |
toUse = True |
|||
| ) |
Sets UseSurfaceCurvature flag.
| toUse | new value of the UseSurfaceCurvature parameter (True by default) |
References NETGEN_Algorithm.Parameters().
| def SetQuadAllowed | ( | self, | |
toAllow = True |
|||
| ) |
Sets QuadAllowed flag.
| toAllow | new value of the QuadAllowed parameter (True by default) |
References Mesh_Algorithm.CompareEqualHyp(), Mesh_Algorithm.geom, Mesh_Algorithm.Hypothesis(), NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets MaxSize parameter.
| theSize | new value of the MaxSize parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
Sets MinSize parameter.
| theSize | new value of the MinSize parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
Sets Optimize flag.
| theVal | new value of the Optimize parameter |
References NETGEN_Algorithm.Parameters().
|
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().
|
inherited |
Sets GrowthRate parameter.
| theRate | new value of the GrowthRate parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
|
inherited |
Defines a file specifying size of elements at points and lines.
| file | name of the file |
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 |
doc string of the method
|
inherited |