Defines "MaxElementVolume" hypothesis to give the maximun volume of each tetrahedron.
- Parameters:
-
| vol | for the maximum volume of each tetrahedron |
| UseExisting | if ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one |
Definition at line 5309 of file smeshDC.py.
05310 :
05311 if self.algoType == NETGEN:
05312 hyp = self.Hypothesis("MaxElementVolume", [vol], UseExisting=UseExisting,
05313 CompareMethod=self.CompareMaxElementVolume)
05314 hyp.SetMaxElementVolume(vol)
05315 return hyp
05316 elif self.algoType == FULL_NETGEN:
05317 self.Parameters(SIMPLE).SetMaxElementVolume(vol)
05318 return None