Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnstructuredGrid ignores offset in c-tor #39

Open
gentryx opened this issue May 17, 2016 · 0 comments
Open

UnstructuredGrid ignores offset in c-tor #39

gentryx opened this issue May 17, 2016 · 0 comments

Comments

@gentryx
Copy link
Owner

gentryx commented May 17, 2016

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 added a commit that referenced this issue May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant