libgeodecomp icon indicating copy to clipboard operation
libgeodecomp copied to clipboard

UnstructuredGrid ignores offset in c-tor

Open gentryx opened this issue 8 years ago • 0 comments

An UnstructuredGrid (and likely UnstructuredSoAGrid, too) will only honor the dimension in a CoordBox argument to its constructor. Consequence: instead of storing cells 2, 3, 4, 5, 6, 7 a grid will store cells 0, 1, 2, 3, 4, 5 -- one of the reasons for the segfaults we've seen with dgswem.

Proposed workaround: proper ID renumbering.

gentryx avatar May 17 '16 15:05 gentryx