Tetrahedron (helper) 1D-2D-3D algorithm. More...

Public Member Functions | |
| def | __init__ (self, mesh, geom=0) |
| Private constructor. More... | |
| def | SetSecondOrder (self, theVal) |
Sets SecondOrder flag. More... | |
| def | SetNbSegPerEdge (self, theVal) |
Sets NbSegPerEdge parameter. More... | |
| def | SetNbSegPerRadius (self, theVal) |
Sets NbSegPerRadius parameter. More... | |
| def | SetChordalError (self, theVal) |
Sets ChordalError parameter. More... | |
| def | SetRidgeAngle (self, theVal) |
Sets RidgeAngle parameter. More... | |
| def | SetQuadAllowed (self, toAllow=True) |
Sets QuadAllowed flag. More... | |
| def | SetUseSurfaceCurvature (self, toUse=True) |
Sets UseSurfaceCurvature flag. More... | |
| def | SetFuseEdges (self, toFuse=False) |
Sets FuseEdges flag. More... | |
| def | SetNumberOfSegments (self, theVal) |
| Sets number of segments overriding the value set by SetLocalLength() More... | |
| def | SetLocalLength (self, theVal) |
| Sets number of segments overriding the value set by SetNumberOfSegments() More... | |
| def | MaxElementArea (self, area) |
Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis. More... | |
| def | LengthFromEdges (self) |
Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis. More... | |
| def | LengthFromFaces (self) |
Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis. More... | |
| def | MaxElementVolume (self, vol) |
Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis. 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 = "Netgen" |
| name of the dynamic method in smeshBuilder.Mesh class More... | |
| string | docHelper = "Deprecated, used only for compatibility! See Tetrahedron() method." |
| doc string of the method More... | |
| algoType = NETGEN_1D2D3D | |
| type of algorithm used with helper function in smeshBuilder.Mesh class More... | |
Tetrahedron (helper) 1D-2D-3D algorithm.
This is the helper class that is used just to allow creating of create NETGEN_1D2D3D by calling smeshBuilder.Mesh.Netgen(); this is required for backward compatibility with old Python scripts.
| 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_1D2D3D_Algorithm.
|
inherited |
Sets SecondOrder flag.
| theVal | new value of the SecondOrder parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets NbSegPerEdge parameter.
| theVal | new value of the NbSegPerEdge parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets NbSegPerRadius parameter.
| theVal | new value of the NbSegPerRadius parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets ChordalError parameter.
| theVal | new value of the ChordalError parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets RidgeAngle parameter.
| theVal | new value of the RidgeAngle parameter |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets QuadAllowed flag.
| toAllow | new value of the QuadAllowed parameter (True by default) |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets UseSurfaceCurvature flag.
| toUse | new value of the UseSurfaceCurvature parameter (True by default) |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets FuseEdges flag.
| toFuse | new value of the FuseEdges parameter (False by default) |
References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.
|
inherited |
Sets number of segments overriding the value set by SetLocalLength()
| theVal | new value of number of segments parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
Sets number of segments overriding the value set by SetNumberOfSegments()
| theVal | new value of local length parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis.
Overrides value set by LengthFromEdges()
| area | new value of MaxElementArea parameter |
References NETGEN_Algorithm.Parameters().
|
inherited |
Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis.
Overrides value set by MaxElementArea()
References NETGEN_Algorithm.Parameters().
|
inherited |
Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis.
Overrides value set by MaxElementVolume()
References NETGEN_Algorithm.Parameters().
|
inherited |
Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis.
Overrides value set by LengthFromFaces()
| vol | new value of MaxElementVolume parameter |
References NETGEN_Algorithm.Parameters().
|
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 |
doc string of the method
|
staticinherited |
type of algorithm used with helper function in smeshBuilder.Mesh class
|
inherited |