-
Notifications
You must be signed in to change notification settings - Fork 841
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
The global ID for all elements is now stored in the primal grid struc… #338
Conversation
…ture (same idea/methods as the global ID at each vertex).
#ifdef HAVE_MPI | ||
MPI_Barrier(MPI_COMM_WORLD); | ||
#endif | ||
for (unsigned long iElem = 0; iElem < geometry_container[ZONE_0][MESH_0]->GetnElem(); iElem++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as a quick comment to remember to remove this before merging with develop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot Tom! I think it's working great, I'll double check with different kinds of elements just in case.
Yikes! Thanks for the comment.. thought I got that out of there. Uploading the fix, and if everything checks out ok, we'll merge this in right away. |
I think we're ready. If you give it a thumbs up after checking that it's working for you, @rsanfer, I'll merge it in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me the changes look good.
I added the value of the global (real) number of elements before the partitioning. I needed this for GlobalToLocal vectors and load of information from file. @economon, can you double check it's all fine with this? |
LGTM. Just updated with develop and will merge in if the tests pass. |
…ture (same idea/methods as the global ID at each vertex). This is useful for finite element calculations in particular (FEA).
We will have to fast track this one, as it is needed for a paper. However, I wanted everybody to see the addition and have a chance to comment on it.
We'll plan to get the output and incompressible PRs in next.