]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use a simpler scheme to determine whether a DoFHandler uses hp features. 15620/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 3 Jul 2023 23:33:49 +0000 (17:33 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 3 Jul 2023 23:33:49 +0000 (17:33 -0600)
include/deal.II/matrix_free/matrix_free.templates.h

index 3e6cb35d6f1b412ab92c08efcf3d14240c9f6bd9..57738f52fc20af8a7296d1bf004d3661931dd1d6 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.