From: Wolfgang Bangerth Date: Mon, 3 Jul 2023 23:33:49 +0000 (-0600) Subject: Use a simpler scheme to determine whether a DoFHandler uses hp features. X-Git-Tag: relicensing~761^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e845a3a37e61612fb3ed8c1f1422bcca56617145;p=dealii.git Use a simpler scheme to determine whether a DoFHandler uses hp features. --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 3e6cb35d6f..57738f52fc 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -1488,7 +1488,7 @@ namespace internal const bool hp_functionality_enabled = std::any_of(dof_handlers.begin(), dof_handlers.end(), [](const auto &dh) { - return (dh->get_fe_collection().size() > 1); + return dh->has_hp_capabilities(); }); const unsigned int n_lanes = task_info.vectorization_length;