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

Explain the purpose of some computations in CellIDTranslator. #14997

Merged
merged 2 commits into from Mar 31, 2023

Conversation

bangerth
Copy link
Member

@marcfehling pointed me at #12337, which made me look at the code. This patch only adds some explanation for why a specific assertion is there, making it easier to understand what the code that precedes it does. I'm also wrapping the whole code in #ifdef DEBUG ... #endif.

While there, I added a second commit that makes sure an array has the right size right from the start.

@bangerth bangerth changed the title Cell id translator Explain the purpose of some computations in CellIDTranslator. Mar 31, 2023
@kronbichler kronbichler merged commit bdbc1a4 into dealii:master Mar 31, 2023
11 checks passed
@bangerth bangerth deleted the cell-id-translator branch March 31, 2023 15:21
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

4 participants