Defines a Prism 3D algorithm, which is either "Extrusion 3D" or "Radial Prism" depending on geometry It is created by calling Mesh.Prism(geom=0) More...
Public Member Functions | |
| def | __init__ |
| Private constructor. | |
| def | Get3DHypothesis |
| Return 3D hypothesis holding the 1D one. | |
| def | OwnHypothesis |
| Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis. | |
| def | NumberOfLayers |
| Defines "NumberOfLayers" hypothesis, specifying the number of layers of prisms to build between the inner and outer shells. | |
| def | LocalLength |
| Defines "LocalLength" hypothesis, specifying the segment length to build between the inner and the outer shells. | |
| def | NumberOfSegments |
| Defines "NumberOfSegments" hypothesis, specifying the number of layers of prisms to build between the inner and the outer shells. | |
| def | Arithmetic1D |
| Defines "Arithmetic1D" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in arithmetic progression. | |
| def | StartEndLength |
| Defines "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and the outer shells as geometric length increasing. | |
| def | AutomaticLength |
| Defines "AutomaticLength" hypothesis, specifying the number of segments to build between the inner and outer shells. | |
| def | FindHypothesis |
| Finds a hypothesis in the study by its type name and parameters. | |
| def | FindAlgorithm |
| Finds the algorithm in the study by its type name. | |
| def | GetSubMesh |
| If the algorithm is global, returns 0; else returns the submesh associated to this algorithm. | |
| def | GetAlgorithm |
| Returns the wrapped mesher. | |
| def | GetCompatibleHypothesis |
| Gets the list of hypothesis that can be used with this algorithm. | |
| def | GetName |
| Gets the name of the algorithm. | |
| def | SetName |
| Sets the name to the algorithm. | |
| def | GetId |
| Gets the id of the algorithm. | |
| def | Create |
| Private method. | |
| def | Assign |
| Private method. | |
| def | CompareHyp |
| def | CompareEqualHyp |
| def | Hypothesis |
| Private method. | |
| def | MainShapeEntry |
| Returns entry of the shape to mesh in the study. | |
| def | ViscousLayers |
| Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary. | |
| def | ReversedEdgeIndices |
| Transform a list of ether edges or tuples (edge 1st_vertex_of_edge) into a list acceptable to SetReversedEdges() of some 1D hypotheses. | |
Data Fields | |
| algoType | |
| distribHyp | |
| nbLayers | |
| mesh | |
| geom | |
| subm | |
| algo | |
Static Public Attributes | |
| string | meshMethod = "Prism" |
| Name of method of class Mesh creating an instance of this class. | |
| string | algoType = "Prism_3D" |
| Name of algorithm type. | |
Defines a Prism 3D algorithm, which is either "Extrusion 3D" or "Radial Prism" depending on geometry It is created by calling Mesh.Prism(geom=0)
| def __init__ | ( | self, | |
| mesh, | |||
geom = 0 |
|||
| ) |
Private constructor.
References Mesh_Algorithm.Create().
| def Get3DHypothesis | ( | self | ) |
Return 3D hypothesis holding the 1D one.
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.distribHyp.
| def OwnHypothesis | ( | self, | |
| hypType, | |||
args = [], |
|||
so = "libStdMeshersEngine.so" |
|||
| ) |
Private method creating a 1D hypothesis and storing it in the LayerDistribution hypothesis.
Returns the created hypothesis
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, StdMeshersDC_Prism3D.distribHyp, Mesh.geom, Mesh_Algorithm.geom, and StdMeshersDC_Prism3D.nbLayers.
| def NumberOfLayers | ( | self, | |
| n, | |||
UseExisting = 0 |
|||
| ) |
Defines "NumberOfLayers" hypothesis, specifying the number of layers of prisms to build between the inner and outer shells.
| n | number of layers |
| UseExisting | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, StdMeshersDC_Prism3D.distribHyp, Mesh.geom, Mesh_Algorithm.geom, Mesh_Algorithm.Hypothesis(), smesh.IsEqual(), and StdMeshersDC_Prism3D.nbLayers.
| def LocalLength | ( | self, | |
| l, | |||
p = 1e-07 |
|||
| ) |
Defines "LocalLength" hypothesis, specifying the segment length to build between the inner and the outer shells.
| l | the length of segments |
| p | the precision of rounding |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.OwnHypothesis().
| def NumberOfSegments | ( | self, | |
| n, | |||
s = [] |
|||
| ) |
Defines "NumberOfSegments" hypothesis, specifying the number of layers of prisms to build between the inner and the outer shells.
| n | the number of layers |
| s | the scale factor (optional) |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.OwnHypothesis().
| def Arithmetic1D | ( | self, | |
| start, | |||
| end | |||
| ) |
Defines "Arithmetic1D" hypothesis, specifying the distribution of segments to build between the inner and the outer shells with a length that changes in arithmetic progression.
| start | the length of the first segment |
| end | the length of the last segment |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.OwnHypothesis().
| def StartEndLength | ( | self, | |
| start, | |||
| end | |||
| ) |
Defines "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and the outer shells as geometric length increasing.
| start | for the length of the first segment |
| end | for the length of the last segment |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.OwnHypothesis().
| def AutomaticLength | ( | self, | |
fineness = 0 |
|||
| ) |
Defines "AutomaticLength" hypothesis, specifying the number of segments to build between the inner and outer shells.
| fineness | defines the quality of the mesh within the range [0-1] |
References StdMeshersDC_Segment.algoType, StdMeshersDC_CompositeSegment.algoType, StdMeshersDC_Segment_Python.algoType, StdMeshersDC_Triangle_MEFISTO.algoType, StdMeshersDC_Quadrangle.algoType, StdMeshersDC_Hexahedron.algoType, StdMeshersDC_Projection1D.algoType, StdMeshersDC_Projection2D.algoType, StdMeshersDC_Projection1D2D.algoType, StdMeshersDC_Projection3D.algoType, StdMeshersDC_Prism3D.algoType, and StdMeshersDC_Prism3D.OwnHypothesis().
|
inherited |
Finds a hypothesis in the study by its type name and parameters.
Finds only the hypotheses created in smeshpyD engine.
|
inherited |
Finds the algorithm in the study by its type name.
Finds only the algorithms, which have been created in smeshpyD engine.
|
inherited |
If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
References Mesh_Algorithm.subm.
|
inherited |
Returns the wrapped mesher.
References Mesh_Algorithm.algo.
|
inherited |
Gets the list of hypothesis that can be used with this algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Gets the name of the algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Sets the name to the algorithm.
References Mesh_Algorithm.algo.
|
inherited |
Gets the id of the algorithm.
|
inherited |
Private method.
References Mesh_Algorithm.algo, Mesh_Algorithm.Assign(), and Mesh_Algorithm.FindAlgorithm().
|
inherited |
Private method.
References Mesh_Algorithm.algo, smesh.AssureGeomPublished(), Mesh.geom, Mesh_Algorithm.geom, Mesh_Algorithm.GetName(), Mesh.mesh, Mesh_Algorithm.mesh, Mesh_Algorithm.subm, and smesh.TreatHypoStatus().
|
inherited |
|
inherited |
References Mesh_Algorithm.Hypothesis().
|
inherited |
Private method.
References Mesh_Algorithm.CompareHyp(), Mesh_Algorithm.FindHypothesis(), Mesh.geom, Mesh_Algorithm.geom, Mesh_Algorithm.GetName(), and smesh.TreatHypoStatus().
|
inherited |
Returns entry of the shape to mesh in the study.
References Mesh.mesh, and Mesh_Algorithm.mesh.
|
static |
Name of method of class Mesh creating an instance of this class.
|
static |
Name of algorithm type.
| algoType |
| distribHyp |
| nbLayers |
|
inherited |
|
inherited |
|
inherited |
|
inherited |