From: David Schneider Date: Wed, 8 Nov 2023 07:25:28 +0000 (+0100) Subject: Use first dof_handler in MF get_active_fe_index X-Git-Tag: relicensing~286^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a24bf5666bcf898e8980a80888a0d72feecdf08;p=dealii.git Use first dof_handler in MF get_active_fe_index --- diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 81eef32ef6..92a43ad4a8 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -7121,7 +7121,7 @@ inline FEEvaluation range, unsigned int dof_index) const; + const std::pair range) const; /** * In the hp-adaptive case, return the active FE index of a face range. @@ -2689,12 +2689,12 @@ MatrixFree::n_active_fe_indices() const template unsigned int MatrixFree::get_cell_active_fe_index( - const std::pair range, unsigned int dof_handler_index) const + const std::pair range) const { const auto &fe_indices = dof_info[0].cell_active_fe_index; if (fe_indices.empty() == true || - dof_handlers[dof_handler_index]->get_fe_collection().size() == 1) + dof_handlers[0]->get_fe_collection().size() == 1) return 0; const auto index = fe_indices[range.first];