lanl / LaGriT

Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions.
https://lanl.github.io/LaGriT/
Other
116 stars 48 forks source link

Invalid element warning #134

Closed millerta closed 5 years ago

millerta commented 5 years ago

When quality routines are called on an unsupported mesh type, an error is reported: Invalid element aratio type: 7

This is written for every element and should change to a single line report such as: Invalid element aratio type: 7 found for 32 elements.

millerta commented 5 years ago

This was fixed in quality.f and eset.f to protect against calling aratio_element() with an invalid element. Valid elements are tet, tri, hex, and quad. There is now a warning message for invalid elements for calls: quality quality/aspect eltset/ename/ aspect / value