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

Avoid saving and setting refinement flags in distributed Tria #13923

Merged
merged 1 commit into from Jun 17, 2022

Conversation

kronbichler
Copy link
Member

I noticed that the lines

this->dealii::Triangulation<dim, spacedim>::
prepare_coarsening_and_refinement();
this->update_periodic_face_map();
// enforce 2:1 mesh balance over periodic boundaries
mesh_changed = enforce_mesh_balance_over_periodic_boundaries(*this);
already report any change we could make in this function, so rather than saving the flags again (which incurs a non-negligible cost), I decided to pick up that information.

@kronbichler kronbichler merged commit f35a058 into dealii:master Jun 17, 2022
@kronbichler kronbichler deleted the simplify_distr_tria branch September 5, 2022 12:11
mkghadban pushed a commit to OpenFCST/dealii that referenced this pull request Sep 8, 2022
Avoid saving and setting refinement flags in distributed Tria
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