nekRS icon indicating copy to clipboard operation
nekRS copied to clipboard

Print element coordinates in case of a negative Jacobian

Open yslan opened this issue 3 years ago • 0 comments

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

  1. how many bad elements
  2. Element ID or coordinates of first 10 bad elements

yslan avatar Jan 23 '21 21:01 yslan