From 8a62c298f0560397d5b9ae245dc6eb4ae2d3783b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 14 Dec 2023 22:38:27 -0700 Subject: [PATCH] Remove an internal function that is no longer used. --- include/deal.II/fe/fe_values_base.h | 8 ------- source/fe/fe_values_base.cc | 37 ----------------------------- 2 files changed, 45 deletions(-) diff --git a/include/deal.II/fe/fe_values_base.h b/include/deal.II/fe/fe_values_base.h index 7fe4802204..1efce2e36d 100644 --- a/include/deal.II/fe/fe_values_base.h +++ b/include/deal.II/fe/fe_values_base.h @@ -1626,14 +1626,6 @@ protected: get_interpolated_dof_values(const ReadVector &in, Vector &out) const; - /** - * Call @p get_interpolated_dof_values of the iterator with the - * given arguments. - */ - void - get_interpolated_dof_values(const IndexSet &in, - Vector &out) const; - private: /** * The cell in question, if one has been assigned to this object. The diff --git a/source/fe/fe_values_base.cc b/source/fe/fe_values_base.cc index c05c23618b..0531f1ce92 100644 --- a/source/fe/fe_values_base.cc +++ b/source/fe/fe_values_base.cc @@ -207,43 +207,6 @@ FEValuesBase::CellIteratorContainer::get_interpolated_dof_values( -template -void -FEValuesBase::CellIteratorContainer::get_interpolated_dof_values( - const IndexSet &in, - Vector &out) const -{ - Assert(is_initialized(), ExcNotReinited()); - - switch (cell.value().index()) - { - case 1: - { - const typename DoFHandler::cell_iterator cell = - std::get<1>(this->cell.value()); - - std::vector dof_indices( - cell->get_fe().n_dofs_per_cell()); - - cell->get_dof_indices(dof_indices); - - for (unsigned int i = 0; i < cell->get_fe().n_dofs_per_cell(); ++i) - out[i] = (in.is_element(dof_indices[i]) ? 1 : 0); - - break; - } - case 2: - Assert(false, ExcNotImplemented()); - break; - - default: - Assert(false, ExcNeedsDoFHandler()); - break; - } -} - - - /*------------------------------- FEValuesBase ---------------------------*/ -- 2.39.5