|
Data Structures | |
| class | smeshDC.Mesh_Segment |
| Class to define a segment 1D algorithm for discretization. More... | |
| class | smeshDC.Mesh_CompositeSegment |
| Defines a segment 1D algorithm for discretization. More... | |
| class | smeshDC.Mesh_Segment_Python |
| Defines a segment 1D algorithm for discretization with python function. More... | |
| class | smeshDC.Mesh_Triangle |
| Defines a triangle 2D algorithm. More... | |
| class | smeshDC.Mesh_Quadrangle |
| Defines a quadrangle 2D algorithm. More... | |
| class | smeshDC.Mesh_Tetrahedron |
| Defines a tetrahedron 3D algorithm. More... | |
| class | smeshDC.Mesh_Hexahedron |
| Defines a hexahedron 3D algorithm. More... | |
| class | smeshDC.Mesh_Netgen |
| Defines a NETGEN-based 2D or 3D algorithm that needs no discrete boundary (i.e. More... | |
| class | smeshDC.Mesh_UseExistingElements |
| Defines a Radial Quadrangle 1D2D algorithm. More... | |
Functions | |
| def | smeshDC::Mesh.Segment |
| Creates a segment discretization 1D algorithm. | |
| def | smeshDC::Mesh.UseExisting1DElements |
| Creates 1D algorithm importing segments conatined in groups of other mesh. | |
| def | smeshDC::Mesh.UseExisting2DElements |
| Creates 2D algorithm importing faces conatined in groups of other mesh. | |
| def | smeshDC::Mesh.UseExistingSegments |
| Enables creation of nodes and segments usable by 2D algoritms. | |
| def | smeshDC::Mesh.UseExistingFaces |
| Enables creation of nodes and faces usable by 3D algoritms. | |
| def | smeshDC::Mesh.Triangle |
| Creates a triangle 2D algorithm for faces. | |
| def | smeshDC::Mesh.Quadrangle |
| Creates a quadrangle 2D algorithm for faces. | |
| def | smeshDC::Mesh.Tetrahedron |
| Creates a tetrahedron 3D algorithm for solids. | |
| def | smeshDC::Mesh.Hexahedron |
| Creates a hexahedron 3D algorithm for solids. | |
| def | smeshDC::Mesh.Netgen |
| Deprecated, used only for compatibility! | |
| def | smeshDC::Mesh.AutomaticTetrahedralization |
| Computes a tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN. | |
| def | smeshDC::Mesh.AutomaticHexahedralization |
| Computes an hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron. | |
| def smeshDC.Mesh.AutomaticHexahedralization | ( | self, | |
fineness = 0 |
|||
| ) | [inherited] |
Computes an hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron.
| fineness | [0.0, 1.0] defines mesh fineness |
Definition at line 1597 of file smeshDC.py.
| def smeshDC.Mesh.AutomaticTetrahedralization | ( | self, | |
fineness = 0 |
|||
| ) | [inherited] |
Computes a tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN.
| fineness | [0.0,1.0] defines mesh fineness |
Definition at line 1580 of file smeshDC.py.
01581 : 01582 dim = self.MeshDimension() 01583 # assign hypotheses 01584 self.RemoveGlobalHypotheses() 01585 self.Segment().AutomaticLength(fineness) 01586 if dim > 1 : 01587 self.Triangle().LengthFromEdges() 01588 pass 01589 if dim > 2 : 01590 self.Tetrahedron(NETGEN) 01591 pass 01592 return self.Compute()
| def smeshDC.Mesh.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) |
Definition at line 1347 of file smeshDC.py.
01348 : 01349 ## if Hexahedron(geom, algo) or Hexahedron(geom) is called by mistake 01350 if ( isinstance(algo, geompyDC.GEOM._objref_GEOM_Object) ): 01351 if geom in [Hexa, Hexotic]: algo, geom = geom, algo 01352 elif geom == 0: algo, geom = Hexa, algo 01353 return Mesh_Hexahedron(self, algo, geom)
| def smeshDC.Mesh.Netgen | ( | self, | |
| is3D, | |||
geom = 0 |
|||
| ) | [inherited] |
Deprecated, used only for compatibility!
Definition at line 1357 of file smeshDC.py.
| def smeshDC.Mesh.Quadrangle | ( | self, | |
geom = 0, |
|||
algo = QUADRANGLE |
|||
| ) | [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) |
| algo | values are: smesh.QUADRANGLE || smesh.RADIAL_QUAD |
Definition at line 1318 of file smeshDC.py.
| def smeshDC.Mesh.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 |
Definition at line 1240 of file smeshDC.py.
01241 : 01242 ## if Segment(geom) is called by mistake 01243 if isinstance( algo, geompyDC.GEOM._objref_GEOM_Object): 01244 algo, geom = geom, algo 01245 if not algo: algo = REGULAR 01246 pass 01247 if algo == REGULAR: 01248 return Mesh_Segment(self, geom) 01249 elif algo == PYTHON: 01250 return Mesh_Segment_Python(self, geom) 01251 elif algo == COMPOSITE: 01252 return Mesh_CompositeSegment(self, geom) 01253 else: 01254 return Mesh_Segment(self, geom)
| def smeshDC.Mesh.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) |
Definition at line 1332 of file smeshDC.py.
| def smeshDC.Mesh.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) |
Definition at line 1304 of file smeshDC.py.
| def smeshDC.Mesh.UseExisting1DElements | ( | self, | |
geom = 0 |
|||
| ) | [inherited] |
Creates 1D algorithm importing segments conatined in groups of other mesh.
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 is to be meshed |
Definition at line 1261 of file smeshDC.py.
| def smeshDC.Mesh.UseExisting2DElements | ( | self, | |
geom = 0 |
|||
| ) | [inherited] |
Creates 2D algorithm importing faces conatined in groups of other mesh.
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 is to be meshed |
Definition at line 1270 of file smeshDC.py.
| def smeshDC.Mesh.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 |
Definition at line 1293 of file smeshDC.py.
| def smeshDC.Mesh.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 |
Definition at line 1281 of file smeshDC.py.