Data Structures | |
class | Mesh_Segment |
Class to define a segment 1D algorithm for discretization. More... | |
class | Mesh_CompositeSegment |
Defines a segment 1D algorithm for discretization. More... | |
class | Mesh_Segment_Python |
Defines a segment 1D algorithm for discretization with python function. More... | |
class | Mesh_Triangle |
Defines a triangle 2D algorithm. More... | |
class | Mesh_Quadrangle |
Defines a quadrangle 2D algorithm. More... | |
class | Mesh_Tetrahedron |
Defines a tetrahedron 3D algorithm. More... | |
class | Mesh_Hexahedron |
Defines a hexahedron 3D algorithm. More... | |
class | Mesh_Netgen |
Defines a NETGEN-based 2D or 3D algorithm that needs no discrete boundary (i.e. More... | |
Functions | |
def | Segment |
Creates a segment discretization 1D algorithm. | |
def | UseExistingSegments |
Enables creation of nodes and segments usable by 2D algoritms. | |
def | UseExistingFaces |
Enables creation of nodes and faces usable by 3D algoritms. | |
def | Triangle |
Creates a triangle 2D algorithm for faces. | |
def | Quadrangle |
Creates a quadrangle 2D algorithm for faces. | |
def | Tetrahedron |
Creates a tetrahedron 3D algorithm for solids. | |
def | Hexahedron |
Creates a hexahedron 3D algorithm for solids. | |
def | Netgen |
Deprecated, used only for compatibility! | |
def | AutomaticTetrahedralization |
Computes a tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN. | |
def | AutomaticHexahedralization |
Computes an hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron. |
def Segment | ( | self, | ||
algo = REGULAR , |
||||
geom = 0 | ||||
) | [inherited] |
Creates a segment discretization 1D algorithm.
If the optional algo parameter is not set, this algorithm is REGULAR.
If the optional geom parameter is not set, this algorithm is global. Otherwise, this algorithm defines a submesh based on geom subshape.
algo | the type of the required algorithm. Possible values are:
| |
geom | If defined is the subshape to be meshed |
def UseExistingSegments | ( | self, | ||
geom = 0 | ||||
) | [inherited] |
Enables creation of nodes and segments usable by 2D algoritms.
The added nodes and segments must be bound to edges and vertices by SetNodeOnVertex(), SetNodeOnEdge() and SetMeshElementOnShape() If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
geom | the subshape to be manually meshed |
def UseExistingFaces | ( | self, | ||
geom = 0 | ||||
) | [inherited] |
Enables creation of nodes and faces usable by 3D algoritms.
The added nodes and faces must be bound to geom faces by SetNodeOnFace() and SetMeshElementOnShape() If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
geom | the subshape to be manually meshed |
def Triangle | ( | self, | ||
algo = MEFISTO , |
||||
geom = 0 | ||||
) | [inherited] |
Creates a triangle 2D algorithm for faces.
If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
algo | values are: smesh.MEFISTO || smesh.NETGEN_1D2D || smesh.NETGEN_2D || smesh.BLSURF | |
geom | If defined, the subshape to be meshed (GEOM_Object) |
def Quadrangle | ( | self, | ||
geom = 0 | ||||
) | [inherited] |
Creates a quadrangle 2D algorithm for faces.
If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
geom | If defined, the subshape to be meshed (GEOM_Object) |
def Tetrahedron | ( | self, | ||
algo = NETGEN , |
||||
geom = 0 | ||||
) | [inherited] |
Creates a tetrahedron 3D algorithm for solids.
The parameter algo permits to choose the algorithm: NETGEN or GHS3D If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
algo | values are: smesh.NETGEN, smesh.GHS3D, smesh.GHS3DPRL, smesh.FULL_NETGEN | |
geom | If defined, the subshape to be meshed (GEOM_Object) |
def Hexahedron | ( | self, | ||
algo = Hexa , |
||||
geom = 0 | ||||
) | [inherited] |
Creates a hexahedron 3D algorithm for solids.
If the optional geom parameter is not set, this algorithm is global.
Otherwise, this algorithm defines a submesh based on geom subshape.
algo | possible values are: smesh.Hexa, smesh.Hexotic | |
geom | If defined, the subshape to be meshed (GEOM_Object) |
def Netgen | ( | self, | ||
is3D, | ||||
geom = 0 | ||||
) | [inherited] |
Deprecated, used only for compatibility!
def AutomaticTetrahedralization | ( | self, | ||
fineness = 0 | ||||
) | [inherited] |
Computes a tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN.
fineness | [0,-1] defines mesh fineness |
def AutomaticHexahedralization | ( | self, | ||
fineness = 0 | ||||
) | [inherited] |
Computes an hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron.
fineness | [0,-1] defines mesh fineness |