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

Shorten, simplify and generalise code for Nédélec finite elements #3840

Merged
merged 3 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/geom/cell_tet14.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Tet14 final : public Tet
virtual ElemType type () const override { return TET14; }

/**
* \returns 10.
* \returns 14.
*/
virtual unsigned int n_nodes() const override { return num_nodes; }

Expand Down
2 changes: 0 additions & 2 deletions src/fe/fe_hierarchic.C
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ unsigned int hierarchic_n_dofs(const ElemType t, const Order o)
case QUAD9:
return ((o+1)*(o+1));
case HEX8:
libmesh_assert_less (o, 2);
libmesh_fallthrough();
case HEX20:
libmesh_assert_less (o, 2);
libmesh_fallthrough();
Expand Down
Loading