Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Data Fields | Static Public Attributes
NETGEN_2D_Only_Algorithm Class Reference

Triangle NETGEN 2D algorithm It is created by calling Mesh.Triangle( NETGEN_2D, geom=0 ) More...

Public Member Functions

def __init__
 Private constructor.
def MaxElementArea
 Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle.
def LengthFromEdges
 Defines "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.
def SetQuadAllowed
 Sets QuadAllowed flag.
def SetMaxSize
 Sets MaxSize.
def SetMinSize
 Sets MinSize.
def SetOptimize
 Sets Optimize flag.
def SetFineness
 Sets Fineness.
def SetGrowthRate
 Sets GrowthRate.
def Parameters
 Defines hypothesis having several parameters.

Data Fields

 params

Static Public Attributes

string meshMethod = "Triangle"
 algoType = NETGEN_2D

Detailed Description

Triangle NETGEN 2D algorithm It is created by calling Mesh.Triangle( NETGEN_2D, geom=0 )

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Reimplemented from NETGEN_Algorithm.

Member Function Documentation

def MaxElementArea (   self,
  area,
  UseExisting = 0 
)

Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle.

Parameters
areafor the maximum area of each triangle
UseExistingif ==true - searches for an existing hypothesis created with the same parameters, else (default) - creates a new one
def LengthFromEdges (   self)

Defines "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.

def SetQuadAllowed (   self,
  toAllow = True 
)

Sets QuadAllowed flag.

References NETGEN_Algorithm.Parameters(), and NETGEN_Algorithm.params.

def SetMaxSize (   self,
  theSize 
)
inherited

Sets MaxSize.

References NETGEN_Algorithm.Parameters().

def SetMinSize (   self,
  theSize 
)
inherited

Sets MinSize.

References NETGEN_Algorithm.Parameters().

def SetOptimize (   self,
  theVal 
)
inherited

Sets Optimize flag.

References NETGEN_Algorithm.Parameters().

def SetFineness (   self,
  theFineness 
)
inherited

Sets Fineness.

Parameters
theFinenessis: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom

References NETGEN_Algorithm.Parameters().

def SetGrowthRate (   self,
  theRate 
)
inherited

Sets GrowthRate.

References NETGEN_Algorithm.Parameters().

def Parameters (   self,
  which = SOLE 
)
inherited

Defines hypothesis having several parameters.

Field Documentation

string meshMethod = "Triangle"
static
algoType = NETGEN_2D
static
params
inherited
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS