Version: 6.3.1
Functions

2D Meshing Hypotheses

Defining hypotheses
Collaboration diagram for 2D Meshing Hypotheses:

Functions

def smeshDC::Mesh_Triangle.MaxElementArea
 Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle.
def smeshDC::Mesh_Triangle.LengthFromEdges
 Defines "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.

Function Documentation

def smeshDC.Mesh_Triangle.LengthFromEdges (   self) [inherited]

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

Only for algoType == MEFISTO || NETGEN_2D

Definition at line 4913 of file smeshDC.py.

04914                              :
04915         if self.algoType == MEFISTO or self.algoType == NETGEN_2D:
04916             hyp = self.Hypothesis("LengthFromEdges", UseExisting=1, CompareMethod=self.CompareEqualHyp)
04917             return hyp
04918         elif self.algoType == NETGEN:
04919             hyp = self.Parameters(SIMPLE)
04920             hyp.LengthFromEdges()
04921             return hyp

def smeshDC.Mesh_Triangle.MaxElementArea (   self,
  area,
  UseExisting = 0 
) [inherited]

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

Only for algoType == MEFISTO || NETGEN_2D

Definition at line 4895 of file smeshDC.py.

04896                                                  :
04897         if self.algoType == MEFISTO or self.algoType == NETGEN_2D:
04898             hyp = self.Hypothesis("MaxElementArea", [area], UseExisting=UseExisting,
04899                                   CompareMethod=self.CompareMaxElementArea)
04900         elif self.algoType == NETGEN:
04901             hyp = self.Parameters(SIMPLE)
04902         hyp.SetMaxElementArea(area)
04903         return hyp

Copyright © 2007-2011 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