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

Add assertion to make_hanging_node_constraints() to check that the AffineConstraints object does not store the entire index set in parallel. #15603

Open
bangerth opened this issue Jul 3, 2023 · 0 comments
Assignees
Milestone

Comments

@bangerth
Copy link
Member

bangerth commented Jul 3, 2023

As the title says. It happens too often that people don't initialize AffineConstraints with a locally relevant index set and end up with an object that stores information about every DoF (not just the locally relevant ones), running out of memory.

AffineConstraints itself cannot check this because it knows nothing about whether it is used in parallel. But we can at least check for this in make_hanging_node_constraints() which knows both the AffineConstraint object and the DoFHandler we are building constraints for.

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

No branches or pull requests

2 participants