From: Wolfgang Bangerth Date: Fri, 15 Oct 2021 17:28:37 +0000 (-0600) Subject: Add one, fix another assertion. X-Git-Tag: v9.4.0-rc1~937^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85765095db0507ed90aee7effc0fef08817c0d9e;p=dealii.git Add one, fix another 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 1750001cd2..e96b4cea10 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -273,6 +273,7 @@ namespace internal if (needs_wedge_setup) { + Assert(n_subdivisions == 1, ExcNotImplemented()); quadrature_wedge = std::make_unique>( FE_WedgeP( 1 /*note: vtk only supports linear wedges*/) @@ -281,8 +282,7 @@ namespace internal if (needs_pyramid_setup) { - Assert(1 <= n_subdivisions && n_subdivisions <= 2, - ExcNotImplemented()); + Assert(n_subdivisions == 1, ExcNotImplemented()); std::vector> points; @@ -349,7 +349,7 @@ namespace internal } } } - else + else // build FEFaceValues objects instead { dealii::hp::QCollection quadrature( QIterated(QTrapezoid<1>(), n_subdivisions));