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

Triangle NETGEN 1D-2D algorithm. More...

Inheritance diagram for NETGEN_1D2D_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def SetSecondOrder
 Sets SecondOrder flag. More...
 
def SetNbSegPerEdge
 Sets NbSegPerEdge parameter. More...
 
def SetNbSegPerRadius
 Sets NbSegPerRadius parameter. More...
 
def SetQuadAllowed
 Sets QuadAllowed flag. More...
 
def SetUseSurfaceCurvature
 Sets UseSurfaceCurvature flag. More...
 
def SetFuseEdges
 Sets FuseEdges flag. More...
 
def SetNumberOfSegments
 Sets number of segments overriding the value set by SetLocalLength() More...
 
def SetLocalLength
 Sets number of segments overriding the value set by SetNumberOfSegments() More...
 
def MaxElementArea
 Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def LengthFromEdges
 Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def LengthFromFaces
 Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def MaxElementVolume
 Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis. More...
 
def SetMaxSize
 Sets MaxSize parameter. More...
 
def SetMinSize
 Sets MinSize parameter. More...
 
def SetOptimize
 Sets Optimize flag. More...
 
def SetFineness
 Sets Fineness parameter. More...
 
def SetGrowthRate
 Sets GrowthRate parameter. More...
 
def Parameters
 Creates meshing hypothesis according to the chosen algorithm type and initializes it with default parameters. More...
 
def SetMeshSizeFile
 Defines a file specifying size of elements at points and lines. More...
 

Data Fields

 params
 

Static Public Attributes

string meshMethod = "Triangle"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = NETGEN_1D2D
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates triangle 2D algorithm for faces"
 doc string of the method More...
 

Detailed Description

Triangle NETGEN 1D-2D algorithm.

It can be created by calling smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN_1D2D, geom=0 )

This algorithm generates 1D (edges) and 2D (faces) elements for given geometrical shape.

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

Member Function Documentation

def SetSecondOrder (   self,
  theVal 
)
inherited

Sets SecondOrder flag.

Parameters
theValnew value of the SecondOrder parameter

References NETGEN_Algorithm.Parameters().

def SetNbSegPerEdge (   self,
  theVal 
)
inherited

Sets NbSegPerEdge parameter.

Parameters
theValnew value of the NbSegPerEdge parameter

References NETGEN_Algorithm.Parameters().

def SetNbSegPerRadius (   self,
  theVal 
)
inherited

Sets NbSegPerRadius parameter.

Parameters
theValnew value of the NbSegPerRadius parameter

References NETGEN_Algorithm.Parameters().

def SetQuadAllowed (   self,
  toAllow = True 
)
inherited

Sets QuadAllowed flag.

Parameters
toAllownew value of the QuadAllowed parameter (True by default)

References NETGEN_Algorithm.Parameters().

def SetUseSurfaceCurvature (   self,
  toUse = True 
)
inherited

Sets UseSurfaceCurvature flag.

Parameters
toUsenew value of the UseSurfaceCurvature parameter (True by default)

References NETGEN_Algorithm.Parameters().

def SetFuseEdges (   self,
  toFuse = False 
)
inherited

Sets FuseEdges flag.

Parameters
toFusenew value of the FuseEdges parameter (False by default)

References NETGEN_Algorithm.Parameters().

def SetNumberOfSegments (   self,
  theVal 
)
inherited

Sets number of segments overriding the value set by SetLocalLength()

Parameters
theValnew value of number of segments parameter

References NETGEN_Algorithm.Parameters().

def SetLocalLength (   self,
  theVal 
)
inherited

Sets number of segments overriding the value set by SetNumberOfSegments()

Parameters
theValnew value of local length parameter

References NETGEN_Algorithm.Parameters().

def MaxElementArea (   self,
  area 
)
inherited

Defines MaxElementArea parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by LengthFromEdges()

Parameters
areanew value of MaxElementArea parameter

References NETGEN_Algorithm.Parameters().

def LengthFromEdges (   self)
inherited

Defines LengthFromEdges parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by MaxElementArea()

References NETGEN_Algorithm.Parameters().

def LengthFromFaces (   self)
inherited

Defines LengthFromFaces parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by MaxElementVolume()

References NETGEN_Algorithm.Parameters().

def MaxElementVolume (   self,
  vol 
)
inherited

Defines MaxElementVolume parameter of NETGEN_SimpleParameters_3D hypothesis.

Overrides value set by LengthFromFaces()

Parameters
volnew value of MaxElementVolume parameter

References NETGEN_Algorithm.Parameters().

def SetMaxSize (   self,
  theSize 
)
inherited

Sets MaxSize parameter.

Parameters
theSizenew value of the MaxSize parameter

References NETGEN_Algorithm.Parameters().

def SetMinSize (   self,
  theSize 
)
inherited

Sets MinSize parameter.

Parameters
theSizenew value of the MinSize parameter

References NETGEN_Algorithm.Parameters().

def SetOptimize (   self,
  theVal 
)
inherited

Sets Optimize flag.

Parameters
theValnew value of the Optimize parameter

References NETGEN_Algorithm.Parameters().

def SetFineness (   self,
  theFineness 
)
inherited

Sets Fineness parameter.

Parameters
theFinenessnew value of the Fineness parameter; it can be: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom

References NETGEN_Algorithm.Parameters().

def SetGrowthRate (   self,
  theRate 
)
inherited

Sets GrowthRate parameter.

Parameters
theRatenew value of the GrowthRate parameter

References NETGEN_Algorithm.Parameters().

def Parameters (   self,
  which = SOLE 
)
inherited

Creates meshing hypothesis according to the chosen algorithm type and initializes it with default parameters.

Parameters
whichhypothesis type; can be either SOLE (default) or SIMPLE
Returns
hypothesis object
def SetMeshSizeFile (   self,
  file 
)
inherited

Defines a file specifying size of elements at points and lines.

Parameters
filename of the file

References NETGEN_Algorithm.Parameters().

Field Documentation

string meshMethod = "Triangle"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = NETGEN_1D2D
static

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

string docHelper = "Creates triangle 2D algorithm for faces"
static

doc string of the method

params
inherited