class NETGEN_2D_Only_Algorithm(NETGEN_Algorithm):

...
+    def SetQuadAllowed(self, toAllow=True):
This commit is contained in:
eap 2012-07-23 10:44:44 +00:00
parent eb09a83f3d
commit 238b9bc557

View File

@ -211,6 +211,11 @@ class NETGEN_2D_Only_Algorithm(NETGEN_Algorithm):
def __init__(self, mesh, geom=0):
NETGEN_Algorithm.__init__(self, mesh, geom)
## Sets QuadAllowed flag.
def SetQuadAllowed(self, toAllow=True):
if self.Parameters():
self.params.SetQuadAllowed(toAllow)
## Defines "MaxElementArea" hypothesis basing on the definition of the maximum area of each triangle
# @param area for the maximum area of each triangle
# @param UseExisting if ==true - searches for an existing hypothesis created with the