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

Work on ShapeInfo::is_supported() #14953

Merged
merged 1 commit into from Mar 27, 2023
Merged

Conversation

peterrum
Copy link
Member

No description provided.

Comment on lines +401 to +406
dynamic_cast<const FE_SimplexPoly<dim, dim> *>(
&fe_in.base_element(base_element_number)) != nullptr ||
dynamic_cast<const FE_WedgePoly<dim, dim> *>(
&fe_in.base_element(base_element_number)) != nullptr ||
dynamic_cast<const FE_PyramidPoly<dim, dim> *>(
&fe_in.base_element(base_element_number)) != nullptr)
Copy link
Member Author

Choose a reason for hiding this comment

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

This was not correct and not an issue, since the first condition normally is true.

@@ -383,7 +383,20 @@ namespace internal
const unsigned int base_element = 0);

/**
* Return which kinds of elements are supported by MatrixFree.
* Return whether an element is supported by MatrixFree.
Copy link
Member Author

Choose a reason for hiding this comment

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

@kronbichler Have I missed any finite elements?

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 as far as I can see.

include/deal.II/matrix_free/shape_info.h Outdated Show resolved Hide resolved
@kronbichler
Copy link
Member

/rebuild

@@ -16,7 +16,7 @@ DEAL::FE_FaceP<2>(1) supported by MatrixFree: false
DEAL::FE_FaceQ<2>(1) supported by MatrixFree: false
DEAL::FE_P1NC supported by MatrixFree: false
DEAL::FE_Nedelec<2>(1) supported by MatrixFree: false
DEAL::FE_Nothing<2>() supported by MatrixFree: false
DEAL::FE_Nothing<2>() supported by MatrixFree: true
Copy link
Member Author

Choose a reason for hiding this comment

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

2 new supported elements :)

@kronbichler kronbichler merged commit 7174f4d into dealii:master Mar 27, 2023
11 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