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

The global ID for all elements is now stored in the primal grid struc… #338

Merged
merged 4 commits into from
Dec 6, 2016

Conversation

economon
Copy link
Member

…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.

…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++)
Copy link
Contributor

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.

Copy link
Contributor

@rsanfer rsanfer left a 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.

@economon
Copy link
Member Author

economon commented Dec 1, 2016

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.

@economon
Copy link
Member Author

economon commented Dec 1, 2016

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.

rsanfer
rsanfer previously approved these changes Dec 1, 2016
@rsanfer rsanfer dismissed their stale review December 1, 2016 14:40

Global_nElemDomain requested

Copy link
Member

@talbring talbring left a 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.

@rsanfer
Copy link
Contributor

rsanfer commented Dec 1, 2016

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?

@economon
Copy link
Member Author

economon commented Dec 5, 2016

LGTM. Just updated with develop and will merge in if the tests pass.

@economon economon merged commit 3b02580 into develop Dec 6, 2016
@economon economon deleted the feature_glob_elemID branch January 18, 2017 02:01
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

Successfully merging this pull request may close these issues.

3 participants