Class to define a REGULAR 1D algorithm for discretization. More...
Public Member Functions | |
def | __init__ |
Private constructor. | |
def | LocalLength |
Defines "LocalLength" hypothesis to cut an edge in several segments with the same length. | |
def | MaxSize |
Defines "MaxSize" hypothesis to cut an edge into segments not longer than given value. | |
def | NumberOfSegments |
Defines "NumberOfSegments" hypothesis to cut an edge in a fixed number of segments. | |
def | Arithmetic1D |
Defines "Arithmetic1D" hypothesis to cut an edge in several segments with increasing arithmetic length. | |
def | FixedPoints1D |
Defines "FixedPoints1D" hypothesis to cut an edge using parameter on curve from 0 to 1 (additionally it is neecessary to check orientation of edges and create list of reversed edges if it is needed) and sets numbers of segments between given points (default values are equals 1. | |
def | StartEndLength |
Defines "StartEndLength" hypothesis to cut an edge in several segments with increasing geometric length. | |
def | Deflection1D |
Defines "Deflection1D" hypothesis. | |
def | Propagation |
Defines "Propagation" hypothesis that propagates all other hypotheses on all other edges that are at the opposite side in case of quadrangular faces. | |
def | AutomaticLength |
Defines "AutomaticLength" hypothesis. | |
def | LengthNearVertex |
Defines "SegmentLengthAroundVertex" hypothesis. | |
def | QuadraticMesh |
Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges. | |
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 | |
geom | |
0D algorithm | |
mesh | |
subm | |
algo |
Static Public Attributes | |
string | meshMethod = "Segment" |
Name of method of class Mesh creating an instance of this class. | |
algoType = REGULAR | |
Name of algorithm type. | |
isDefault = True |
Private Member Functions | |
def | _compareNumberOfSegments |
Private method Checks if the given "NumberOfSegments" hypothesis has the same parameters as the given arguments. |
Class to define a REGULAR 1D algorithm for discretization.
It is created by calling Mesh.Segment(geom=0)
def __init__ | ( | self, | |
mesh, | |||
geom = 0 |
|||
) |
Private constructor.
Reimplemented in StdMeshersDC_CompositeSegment.
References StdMeshersDC_Segment.algoType, and Mesh_Algorithm.Create().
|
private |
Private method Checks if the given "NumberOfSegments" hypothesis has the same parameters as the given arguments.
References smesh.IsEqual().
|
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.
|
static |
geom |
0D algorithm
|
inherited |
|
inherited |
|
inherited |