Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
StdMeshersBuilder_Segment Class Reference

Defines segment 1D algorithm for edges discretization. More...

Inheritance diagram for StdMeshersBuilder_Segment:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def LocalLength
 Defines "LocalLength" hypothesis to cut an edge in several segments with the same length. More...
 
def MaxSize
 Defines "MaxSize" hypothesis to cut an edge into segments not longer than given value. More...
 
def NumberOfSegments
 Defines "NumberOfSegments" hypothesis to cut an edge in a fixed number of segments. More...
 
def Adaptive
 Defines "Adaptive" hypothesis to cut an edge into segments keeping segment size within the given range and considering (1) deflection of segments from the edge and (2) distance from segments to closest edges and faces to have segment length not longer than two times shortest distances to edges and faces. More...
 
def Arithmetic1D
 Defines "Arithmetic1D" hypothesis to cut an edge in several segments with a length that changes in arithmetic progression. More...
 
def GeometricProgression
 Defines "GeometricProgression" hypothesis to cut an edge in several segments with a length that changes in Geometric progression. More...
 
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 1) More...
 
def StartEndLength
 Defines "StartEndLength" hypothesis to cut an edge in several segments with increasing geometric length. More...
 
def Deflection1D
 Defines "Deflection1D" hypothesis. More...
 
def Propagation
 Defines "Propagation" hypothesis that propagates 1D hypotheses from an edge where this hypothesis is assigned to on all other edges that are at the opposite side in case of quadrangular faces This hypothesis should be assigned to an edge to propagate a hypothesis from. More...
 
def PropagationOfDistribution
 Defines "Propagation of Node Distribution" hypothesis that propagates distribution of nodes from an edge where this hypothesis is assigned to, to opposite edges of quadrangular faces, so that number of segments on all these edges will be the same, as well as relations between segment lengths. More...
 
def AutomaticLength
 Defines "AutomaticLength" hypothesis. More...
 
def LengthNearVertex
 Defines "SegmentLengthAroundVertex" hypothesis. More...
 
def QuadraticMesh
 Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges. More...
 

Data Fields

 geom
 

Static Public Attributes

string meshMethod = "Segment"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = REGULAR
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
 isDefault = True
 flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class More...
 
string docHelper = "Creates segment 1D algorithm for edges"
 doc string of the method More...
 

Private Member Functions

def _compareNumberOfSegments
 Private method. More...
 

Detailed Description

Defines segment 1D algorithm for edges discretization.

It can be created by calling smeshBuilder.Mesh.Segment(geom=0)

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

References StdMeshersBuilder_Segment.algoType, and Mesh_Algorithm.Create().

Member Function Documentation

def _compareNumberOfSegments (   self,
  hyp,
  args 
)
private

Private method.

Checks if the given "NumberOfSegments" hypothesis has the same parameters as the given arguments

References smeshBuilder.IsEqual().

Field Documentation

string meshMethod = "Segment"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = REGULAR
static

type of algorithm used with helper function in smeshBuilder.Mesh class

isDefault = True
static

flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class

string docHelper = "Creates segment 1D algorithm for edges"
static

doc string of the method

geom