From: David Wells Date: Sat, 26 Apr 2025 16:43:36 +0000 (-0400) Subject: FE_SimplexP: remove a 1d workaround. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2bca1daa02c3302c640fb4f28e8b6857e74a0b2;p=dealii.git FE_SimplexP: remove a 1d workaround. --- diff --git a/source/fe/fe_simplex_p.cc b/source/fe/fe_simplex_p.cc index 58b94ac40a..55732e1175 100644 --- a/source/fe/fe_simplex_p.cc +++ b/source/fe/fe_simplex_p.cc @@ -450,14 +450,8 @@ FE_SimplexPoly::face_to_cell_index( AssertIndexRange(face_dof_index, this->n_dofs_per_face(face)); AssertIndexRange(face, this->reference_cell().n_faces()); - // TODO: once the default orientation is switched to 0 then we can remove this - // special case for 1D. - if (dim == 1) - Assert(combined_orientation == numbers::default_geometric_orientation, - ExcMessage("In 1D, all faces must have the default orientation.")); - else - AssertIndexRange(combined_orientation, - this->reference_cell().n_face_orientations(face)); + AssertIndexRange(combined_orientation, + this->reference_cell().n_face_orientations(face)); // we need to distinguish between DoFs on vertices, lines and in 3d quads. // do so in a sequence of if-else statements