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 ReferenceCell::standard_vs_true_line_orientation() for simplices #16119

Merged
merged 1 commit into from Oct 11, 2023

Conversation

peterrum
Copy link
Member

The very late PR of the last developer workshop :)

@peterrum peterrum added this to the Developer workshop 2023 milestone Oct 10, 2023
@peterrum
Copy link
Member Author

Needed for the P3 part of #14795.

Assert(combined_line != X,
ExcMessage(
"This function can only be called for following face-line "
"combinations: (0,0), (0,1), (0,2), (1,1), (1,2), (2,1),"));
Copy link
Member

Choose a reason for hiding this comment

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

I think this restriction is fine since this is not a function users would be calling.

@drwells
Copy link
Member

drwells commented Oct 10, 2023

Originally (#14795) I thought that we needed to consistently orient lines in the reference enumerations (i.e., vertex 0 points to vertex 1 on every face). It turns out that we had some bugs in the simplex face orientation code (#15678) which, combined with this patch, make that big patch unnecessary. Hence once this is in we should be able to add P3.

@peterrum peterrum merged commit d198e02 into dealii:master Oct 11, 2023
15 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

2 participants