You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exodus encode reorders faces without writing an element map #1910
_encode_exodus sorts the face list by node count (conn_nofill.sort(key=len)) so it can write one element block per face size. It never writes an elem_num_map, and _read_exodus doesn't look for one, so the original face order is lost. A mixed mesh reads back with its faces grouped by size. Any face-centered data written next to it no longer lines up with its faces, and nothing raises a warning or an error. This bug was hidden until #1753 was fixed, because before that every face was counted at full width and went into a single block. With faces [tri, quad, tri], face_lon goes in as [3.35, 15.0, 6.69] and comes back as [3.35, 6.69, 15.0]. Two possible fixes: write elem_num_map on encode and use it on read to put faces back in order, or keep the grouping and return the permutation so callers can reorder their data. Sub-issue of #1658.
Activity
INT_FILL_VALUEoverflows in downcast, corrupting polygon meshes #1658