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

Fix treatment of periodic faces in communicate_locally_moved_vertices #5612

Merged
merged 1 commit into from Dec 13, 2017

Conversation

masterleinad
Copy link
Member

As noticed in https://groups.google.com/forum/#!topic/dealii/9Imcfrpu7r4, we previously were forgetting about updating vertices across periodic boundaries in parallel::distributed::communicate_locally_moved_vertices.
In fact, it turned out that all the logic to construct vertices_with_ghost_neighbors was already (correctly) implemented in compute_vertices_with_ghost_neighbors

@masterleinad
Copy link
Member Author

/run-tests

Copy link
Member

@Rombur Rombur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just update the comment in the code.

@@ -3064,23 +3064,11 @@ namespace parallel
}
#endif

std::map<unsigned int, std::set<dealii::types::subdomain_id> >
vertices_with_ghost_neighbors;

// First find out which process should receive which vertices.
// these are specifically the ones that sit on ghost cells and,
// among these, the ones that we own locally
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment needs to be updated

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I extended this comment a bit.

@Rombur Rombur merged commit 7e3e0f8 into dealii:master Dec 13, 2017
@masterleinad masterleinad deleted the fix_periodic_moved_vertices branch August 23, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants