From: Wolfgang Bangerth Date: Fri, 22 Oct 2021 17:37:27 +0000 (-0600) Subject: Avoid generation of expensive FE objects. X-Git-Tag: v9.4.0-rc1~906^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12865%2Fhead;p=dealii.git Avoid generation of expensive FE objects. --- 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 763083b353..9ac6602d83 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -311,19 +311,17 @@ 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*/) - .get_unit_support_points()); + ReferenceCells::Wedge.get_nodal_type_quadrature()); } if (needs_pyramid_setup) { Assert(n_subdivisions == 1, ExcNotImplemented()); + quadrature_pyramid = std::make_unique>( - FE_PyramidP( - 1 /*note: vtk only supports linear wedges*/) - .get_unit_support_points()); + ReferenceCells::Pyramid.get_nodal_type_quadrature()); } n_q_points =