mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-03 08:25:40 +05:00
mesingparameter.sloppy is int
This commit is contained in:
parent
14fe2975e0
commit
318a6092e3
@ -1246,7 +1246,7 @@ namespace netgen
|
||||
/// if non-zero, baseelement must have baseelnp points
|
||||
int baseelnp = 0;
|
||||
/// quality tolerances are handled less careful
|
||||
bool sloppy = true;
|
||||
int sloppy = 1;
|
||||
|
||||
/// limit for max element angle (150-180)
|
||||
double badellimit = 175;
|
||||
|
@ -143,7 +143,7 @@ elsizeweight: float = 0.2
|
||||
if(kwargs.contains("baseelnp"))
|
||||
mp.baseelnp = py::cast<int>(kwargs["baseelnp"]);
|
||||
if(kwargs.contains("sloppy"))
|
||||
mp.sloppy = py::cast<bool>(kwargs["sloppy"]);
|
||||
mp.sloppy = py::cast<int>(kwargs["sloppy"]);
|
||||
if(kwargs.contains("badellimit"))
|
||||
mp.badellimit = py::cast<double>(kwargs["badellimit"]);
|
||||
if(kwargs.contains("check_impossible"))
|
||||
|
Loading…
Reference in New Issue
Block a user