From 85765095db0507ed90aee7effc0fef08817c0d9e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 15 Oct 2021 11:28:37 -0600 Subject: [PATCH] Add one, fix another assertion. --- include/deal.II/numerics/data_out_dof_data.templates.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.39.5