add more options to BLSURF

This commit is contained in:
eap 2008-05-05 10:23:44 +00:00
parent 2c990d2d24
commit b8d390c6f9
2 changed files with 28 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -2921,6 +2921,20 @@ class Mesh_Triangle(Mesh_Algorithm):
self.Parameters()
self.params.SetPhySize(theVal)
## Sets lower boundary of mesh element size (PhySize)
# Parameter of BLSURF algo
def SetPhyMin(self, theVal=-1):
if self.params == 0:
self.Parameters()
self.params.SetPhyMin(theVal)
## Sets upper boundary of mesh element size (PhySize)
# Parameter of BLSURF algo
def SetPhyMax(self, theVal=-1):
if self.params == 0:
self.Parameters()
self.params.SetPhyMax(theVal)
## Sets a way to define maximum angular deflection of mesh from CAD model
# @param theGeometricMesh is: DefaultGeom or Custom
# Parameter of BLSURF algo
@ -2946,6 +2960,20 @@ class Mesh_Triangle(Mesh_Algorithm):
if self.params.GetGeometricMesh() == 0: theVal = self._angleMeshS
self.params.SetAngleMeshC(theVal)
## Sets lower boundary of mesh element size computed to respect angular deflection
# Parameter of BLSURF algo
def SetGeoMin(self, theVal=-1):
if self.params == 0:
self.Parameters()
self.params.SetGeoMin(theVal)
## Sets upper boundary of mesh element size computed to respect angular deflection
# Parameter of BLSURF algo
def SetGeoMax(self, theVal=-1):
if self.params == 0:
self.Parameters()
self.params.SetGeoMax(theVal)
## Sets maximal allowed ratio between the lengths of two adjacent edges
# Parameter of BLSURF algo
def SetGradation(self, theVal=_gradation):