]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FE_SimplexP: remove a 1d workaround.
authorDavid Wells <drwells@email.unc.edu>
Sat, 26 Apr 2025 16:43:36 +0000 (12:43 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 28 May 2025 19:15:12 +0000 (15:15 -0400)
source/fe/fe_simplex_p.cc

index 58b94ac40acb39395d5ceebf6b56728179a0fa6a..55732e1175daadc2f574b9370509fed0f47b2f04 100644 (file)
@@ -450,14 +450,8 @@ FE_SimplexPoly<dim, spacedim>::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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.