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

Base of all NETGEN algorithms. More...

Inheritance diagram for NETGEN_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. 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
 
 algoType
 

Detailed Description

Base of all NETGEN algorithms.

This class provides common methods for all algorithms implemented by NETGEN plugin.

Note
This class must not be instantiated directly.

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 NETGEN_Algorithm.algoType, and Mesh_Algorithm.Create().

Member Function Documentation

def SetMaxSize (   self,
  theSize 
)

Sets MaxSize parameter.

Parameters
theSizenew value of the MaxSize parameter

References NETGEN_Algorithm.Parameters().

def SetMinSize (   self,
  theSize 
)

Sets MinSize parameter.

Parameters
theSizenew value of the MinSize parameter

References NETGEN_Algorithm.Parameters().

def SetOptimize (   self,
  theVal 
)

Sets Optimize flag.

Parameters
theValnew value of the Optimize parameter

References NETGEN_Algorithm.Parameters().

def SetFineness (   self,
  theFineness 
)

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 
)

Sets GrowthRate parameter.

Parameters
theRatenew value of the GrowthRate parameter

References NETGEN_Algorithm.Parameters().

def Parameters (   self,
  which = SOLE 
)

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 
)

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

Parameters
filename of the file

References NETGEN_Algorithm.Parameters().

Field Documentation

params
algoType