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

extend distributed_compute_point_locations #15101

Merged

Conversation

jh66637
Copy link
Contributor

@jh66637 jh66637 commented Apr 14, 2023

I want to use distributed_compute_point_locations in combination with enforce_unique_mapping=false. Since this function just calls the internal one, the needed changes are just to forward the arguments. I also added marked_vfertices to the function signature to be able to specify it as well.

@peterrum

@jh66637 jh66637 force-pushed the extend_distributed_compute_point_locations branch from 053a158 to 9b767ed Compare April 14, 2023 12:31
Comment on lines +1172 to +1179
const double tolerance = 1e-10,
const std::vector<bool> & marked_vertices = {},
const bool enforce_unique_mapping = true);
Copy link
Member

Choose a reason for hiding this comment

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

I guess the different ordering of the parameters in comparison to the one of the internal function is a bit annoying but we cannot change that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking about the same thing. I think even if we could change it without problems within deal.II (what I am not sure about), it might break user code. Thus, I refrained from this.

@peterrum
Copy link
Member

/rebuild

Copy link
Member

@kronbichler kronbichler 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 to me, apart from documentation issues.

include/deal.II/grid/grid_tools.h Outdated Show resolved Hide resolved
include/deal.II/grid/grid_tools.h Outdated Show resolved Hide resolved
…ocations

Co-authored-by: Martin Kronbichler <martin.kronbichler@uni-a.de>
@jh66637 jh66637 force-pushed the extend_distributed_compute_point_locations branch from c845900 to 886935d Compare April 14, 2023 17:04
@kronbichler
Copy link
Member

/rebuild

@kronbichler kronbichler merged commit 45e64ab into dealii:master Apr 18, 2023
14 checks passed
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

3 participants