From: Wolfgang Bangerth Date: Sun, 31 Oct 2021 22:58:12 +0000 (-0600) Subject: Add an assertion. X-Git-Tag: v9.4.0-rc1~871^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3563eb7c8f98ece4a8959c76c7ae7a22d2b78f84;p=dealii.git Add an assertion. --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index ea788c8023..648d248bc9 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -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> quadrature_simplex; std::unique_ptr> quadrature_hypercube;