From: Wolfgang Bangerth Date: Fri, 15 Dec 2023 05:38:27 +0000 (-0700) Subject: Remove an internal function that is no longer used. X-Git-Tag: relicensing~238^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a62c298f0560397d5b9ae245dc6eb4ae2d3783b;p=dealii.git Remove an internal function that is no longer used. --- 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 ---------------------------*/