Back to index

salome-smesh  6.5.0
Functions
2D Meshing Hypotheses
Defining hypotheses
Collaboration diagram for 2D Meshing Hypotheses:

Functions

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

Function Documentation

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

Definition at line 407 of file StdMeshersDC.py.

00407 
00408     def LengthFromEdges(self):
00409         hyp = self.Hypothesis("LengthFromEdges", UseExisting=1, CompareMethod=self.CompareEqualHyp)
00410         return hyp
00411 
00412 # Public class: Mesh_Quadrangle
00413 # -----------------------------

Here is the call graph for this function:

def StdMeshersDC.StdMeshersDC_Triangle_MEFISTO.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

Definition at line 396 of file StdMeshersDC.py.

00396 
00397     def MaxElementArea(self, area, UseExisting=0):
00398         comparator = lambda hyp, args: IsEqual(hyp.GetMaxElementArea(), args[0])
00399         hyp = self.Hypothesis("MaxElementArea", [area], UseExisting=UseExisting,
00400                               CompareMethod=comparator)
00401         hyp.SetMaxElementArea(area)
00402         return hyp

Here is the call graph for this function: