Defines a segment 1D algorithm for discretization with python function. More...
Public Member Functions | |
def | __init__ |
Private constructor. | |
def | PythonSplit1D |
Defines "PythonSplit1D" hypothesis. | |
def | ComparePythonSplit1D |
Checks if the given "PythonSplit1D" hypothesis has the same parameters as the given arguments. | |
def | __init__ |
def | LocalLength |
Defines "LocalLength" hypothesis to cut an edge in several segments with the same length. | |
def | CompareLocalLength |
Private method Checks if the given "LocalLength" hypothesis has the same parameters as the given arguments. | |
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 | CompareNumberOfSegments |
Private method Checks if the given "NumberOfSegments" hypothesis has the same parameters as the given arguments. | |
def | Arithmetic1D |
Defines "Arithmetic1D" hypothesis to cut an edge in several segments with increasing arithmetic length. | |
def | CompareArithmetic1D |
Private method Check if the given "Arithmetic1D" hypothesis has the same parameters as the given arguments. | |
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 | CompareFixedPoints1D |
Private method Check if the given "FixedPoints1D" hypothesis has the same parameters as the given arguments. | |
def | StartEndLength |
Defines "StartEndLength" hypothesis to cut an edge in several segments with increasing geometric length. | |
def | CompareStartEndLength |
Check if the given "StartEndLength" hypothesis has the same parameters as the given arguments. | |
def | Deflection1D |
Defines "Deflection1D" hypothesis. | |
def | CompareDeflection1D |
Check if the given "Deflection1D" hypothesis has the same parameters as the given arguments. | |
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 | CompareAutomaticLength |
Checks if the given "AutomaticLength" hypothesis has the same parameters as the given arguments. | |
def | LengthNearVertex |
Defines "SegmentLengthAroundVertex" hypothesis. | |
def | CompareLengthNearVertex |
Checks if the given "LengthNearVertex" hypothesis has the same parameters as the given arguments. | |
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. | |
Data Fields | |
geom | |
mesh | |
subm | |
algo |
Defines a segment 1D algorithm for discretization with python function.
def __init__ | ( | self, | ||
mesh, | ||||
geom = 0 | ||||
) |
Private constructor.
Reimplemented from Mesh_Segment.
def ComparePythonSplit1D | ( | self, | ||
hyp, | ||||
args | ||||
) |
Checks if the given "PythonSplit1D" hypothesis has the same parameters as the given arguments.
def __init__ | ( | self | ) | [inherited] |
def CompareLocalLength | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Private method Checks if the given "LocalLength" hypothesis has the same parameters as the given arguments.
def CompareNumberOfSegments | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Private method Checks if the given "NumberOfSegments" hypothesis has the same parameters as the given arguments.
def CompareArithmetic1D | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Private method Check if the given "Arithmetic1D" hypothesis has the same parameters as the given arguments.
def CompareFixedPoints1D | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Private method Check if the given "FixedPoints1D" hypothesis has the same parameters as the given arguments.
def CompareStartEndLength | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Check if the given "StartEndLength" hypothesis has the same parameters as the given arguments.
def CompareDeflection1D | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Check if the given "Deflection1D" hypothesis has the same parameters as the given arguments.
def CompareAutomaticLength | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
Checks if the given "AutomaticLength" hypothesis has the same parameters as the given arguments.
def FindHypothesis | ( | self, | ||
hypname, | ||||
args, | ||||
CompareMethod, | ||||
smeshpyD | ||||
) | [inherited] |
Finds a hypothesis in the study by its type name and parameters.
Finds only the hypotheses created in smeshpyD engine.
def FindAlgorithm | ( | self, | ||
algoname, | ||||
smeshpyD | ||||
) | [inherited] |
Finds the algorithm in the study by its type name.
Finds only the algorithms, which have been created in smeshpyD engine.
def GetSubMesh | ( | self | ) | [inherited] |
If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
def GetAlgorithm | ( | self | ) | [inherited] |
Returns the wrapped mesher.
def GetCompatibleHypothesis | ( | self | ) | [inherited] |
Gets the list of hypothesis that can be used with this algorithm.
def GetName | ( | self | ) | [inherited] |
Gets the name of the algorithm.
def SetName | ( | self, | ||
name | ||||
) | [inherited] |
Sets the name to the algorithm.
def GetId | ( | self | ) | [inherited] |
Gets the id of the algorithm.
def Create | ( | self, | ||
mesh, | ||||
geom, | ||||
hypo, | ||||
so = "libStdMeshersEngine.so" | ||||
) | [inherited] |
Private method.
def Assign | ( | self, | ||
algo, | ||||
mesh, | ||||
geom | ||||
) | [inherited] |
Private method.
def CompareHyp | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
def CompareEqualHyp | ( | self, | ||
hyp, | ||||
args | ||||
) | [inherited] |
def Hypothesis | ( | self, | ||
hyp, | ||||
args = [] , |
||||
so = "libStdMeshersEngine.so" , |
||||
UseExisting = 0 , |
||||
CompareMethod = "" | ||||
) | [inherited] |
Private method.
def MainShapeEntry | ( | self | ) | [inherited] |
Returns entry of the shape to mesh in the study.
geom [inherited] |
Reimplemented from Mesh_Algorithm.
mesh [inherited] |
subm [inherited] |
algo [inherited] |