]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add an assertion. 12895/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 31 Oct 2021 22:58:12 +0000 (16:58 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 31 Oct 2021 22:58:12 +0000 (16:58 -0600)
include/deal.II/numerics/data_out_dof_data.templates.h

index ea788c8023755344bc6e9e0ba38cba566af5d79a..648d248bc94fac2e1afaea9ff615433cb1a1ef11 100644 (file)
@@ -382,6 +382,11 @@ namespace internal
         }
       else // build FEFaceValues objects instead
         {
+          // The code following is not quite right for wedges and pyramids.
+          // Assert that we don't have these kinds of meshes.
+          Assert(needs_pyramid_setup == false && needs_wedge_setup == false,
+                 ExcNotImplemented());
+
           std::unique_ptr<dealii::Quadrature<dim - 1>> quadrature_simplex;
           std::unique_ptr<dealii::Quadrature<dim - 1>> quadrature_hypercube;
 

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.