nekRS
nekRS copied to clipboard
Print element coordinates in case of a negative Jacobian
When building the multigrid levels, I saw some negative jacobian.
Nq: 8 cubNq: 11
J in range [2.15238e-06,0.204362] and max Skew = 292.403
...
=============BUILDING MULTIGRID LEVEL OF DEGREE 3==================
J in range [-0.00112095,0.20436] and max Skew = 177.422
=============BUILDING MULTIGRID LEVEL OF DEGREE 1==================
J in range [2.14651e-06,0.20435] and max Skew = 100.446
It'd be nice if it can print the following information at each levels when jac<0
- how many bad elements
- Element ID or coordinates of first 10 bad elements