From: Bruno Turcksin Date: Tue, 26 Oct 2021 18:04:34 +0000 (+0000) Subject: Relax an assert in DoFTools::map_dofs_to_support_points X-Git-Tag: v9.4.0-rc1~886^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12887%2Fhead;p=dealii.git Relax an assert in DoFTools::map_dofs_to_support_points --- diff --git a/source/dofs/dof_tools.cc b/source/dofs/dof_tools.cc index 8d2725356a..c2bd778cae 100644 --- a/source/dofs/dof_tools.cc +++ b/source/dofs/dof_tools.cc @@ -2134,7 +2134,8 @@ namespace DoFTools ++fe_index) { // check whether every FE in the collection has support points - Assert(fe_collection[fe_index].has_support_points(), + Assert((fe_collection[fe_index].n_dofs_per_cell() == 0) || + (fe_collection[fe_index].has_support_points()), typename FiniteElement::ExcFEHasNoSupportPoints()); q_coll_dummy.push_back(Quadrature( fe_collection[fe_index].get_unit_support_points()));