]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an internal function that is no longer used.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 15 Dec 2023 05:38:27 +0000 (22:38 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 17 Dec 2023 23:39:21 +0000 (16:39 -0700)
include/deal.II/fe/fe_values_base.h
source/fe/fe_values_base.cc

index 7fe4802204de4f2b86824ee277dc9736613ce179..1efce2e36dff9eb958e21819e0ff065e31d4f327 100644 (file)
@@ -1626,14 +1626,6 @@ protected:
     get_interpolated_dof_values(const ReadVector<Number> &in,
                                 Vector<Number>           &out) const;
 
-    /**
-     * Call @p get_interpolated_dof_values of the iterator with the
-     * given arguments.
-     */
-    void
-    get_interpolated_dof_values(const IndexSet               &in,
-                                Vector<IndexSet::value_type> &out) const;
-
   private:
     /**
      * The cell in question, if one has been assigned to this object. The
index c05c23618b45051880466f88413af4ed5c8f3021..0531f1ce9242a21407be527f08c7f554d73ba1c3 100644 (file)
@@ -207,43 +207,6 @@ FEValuesBase<dim, spacedim>::CellIteratorContainer::get_interpolated_dof_values(
 
 
 
-template <int dim, int spacedim>
-void
-FEValuesBase<dim, spacedim>::CellIteratorContainer::get_interpolated_dof_values(
-  const IndexSet               &in,
-  Vector<IndexSet::value_type> &out) const
-{
-  Assert(is_initialized(), ExcNotReinited());
-
-  switch (cell.value().index())
-    {
-      case 1:
-        {
-          const typename DoFHandler<dim, spacedim>::cell_iterator cell =
-            std::get<1>(this->cell.value());
-
-          std::vector<types::global_dof_index> 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 ---------------------------*/
 
 

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.