smesh.Mesh_CompositeSegment Class Reference

Class to define a segment 1D algorithm for discretization. More...

Inheritance diagram for smesh.Mesh_CompositeSegment:

Inheritance graph

Public Member Functions

def __init__
 Private constructor.
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def FindHypothesis
def GetSubMesh
 If the algorithm is global, return 0;
else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Assign
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 mesh
 subm

Static Public Attributes

int algo = 0
int mesh = 0
int subm = 0
dictionary hypos = {}

Detailed Description

More details.


Member Function Documentation

def smesh.Mesh_CompositeSegment.__init__   self,
  mesh,
  geom = 0
 

Reimplemented from smesh.Mesh_Segment.

def smesh.Mesh_Segment.LocalLength   self,
  l,
  UseExisting = 0
[inherited]
 

Parameters:
l for the length of segments that cut an edge
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.NumberOfSegments   self,
  n,
  s = [],
  UseExisting = 0
[inherited]
 

Parameters:
n for the number of segments that cut an edge
s for the scale factor (optional)
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.Arithmetic1D   self,
  start,
  end,
  UseExisting = 0
[inherited]
 

Parameters:
start for the length of the first segment
end for the length of the last segment
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.StartEndLength   self,
  start,
  end,
  UseExisting = 0
[inherited]
 

Parameters:
start for the length of the first segment
end for the length of the last segment
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.Deflection1D   self,
  d,
  UseExisting = 0
[inherited]
 

Parameters:
d for the deflection
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.Propagation   self  )  [inherited]
 

def smesh.Mesh_Segment.AutomaticLength   self,
  fineness = 0,
  UseExisting = 0
[inherited]
 

Parameters:
fineness for the fineness [0-1]
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.LengthNearVertex   self,
  length,
  vertex = 0,
  UseExisting = 0
[inherited]
 

Parameters:
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new

def smesh.Mesh_Segment.QuadraticMesh   self  )  [inherited]
 

If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails.

def smesh.Mesh_Algorithm.FindHypothesis   self,
  hypname,
  args
[inherited]
 

def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
 

def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
 

def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
 

def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
 

def smesh.Mesh_Algorithm.Assign   self,
  algo,
  mesh,
  geom
[inherited]
 

def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so",
  UseExisting = 0
[inherited]
 


Field Documentation

int smesh.Mesh_CompositeSegment.algo = 0 [static]
 

Reimplemented from smesh.Mesh_Segment.

smesh.Mesh_Segment.geom [inherited]
 

Reimplemented from smesh.Mesh_Algorithm.

int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
 

smesh.Mesh_Algorithm.mesh [inherited]
 

int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
 

smesh.Mesh_Algorithm.subm [inherited]
 

dictionary smesh.Mesh_Algorithm.hypos = {} [static, inherited]