]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the deprecated DoFTools::extract_locally_owned_dofs 10563/head
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 21 Jun 2020 04:19:25 +0000 (00:19 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Sun, 21 Jun 2020 04:19:25 +0000 (00:19 -0400)
doc/doxygen/headers/distributed.h
source/dofs/dof_tools.cc
source/dofs/dof_tools.inst.in
tests/mpi/condense_01.cc

index 61281e4f89878651851c2e4cc9957f21368c1904..72223151eb8f6fba6ebdd3c9904bf51d7f31e1b1 100644 (file)
  * The remaining question is how to identify the set of indices that
  * correspond to degrees of freedom we need to worry about on each
  * processor. To this end, you can use the
- * DoFTools::extract_locally_owned_dofs() function to get at all the
+ * DoFHandler::locally_owned_dofs() function to get at all the
  * indices a processor owns. Note that this is a subset of the degrees
  * of freedom that are defined on the locally owned cells (since some
  * of the degrees of freedom at the interface between two different
index 5d42d612494aa2044cb61114c3c46399a190edfb..05695a385c09dfafbeb6168802838457025f69d5 100644 (file)
@@ -1135,18 +1135,6 @@ namespace DoFTools
 
 
 
-  template <typename DoFHandlerType>
-  void
-  extract_locally_owned_dofs(const DoFHandlerType &dof_handler,
-                             IndexSet &            dof_set)
-  {
-    // collect all the locally owned dofs
-    dof_set = dof_handler.locally_owned_dofs();
-    dof_set.compress();
-  }
-
-
-
   template <typename DoFHandlerType>
   void
   extract_locally_active_dofs(const DoFHandlerType &dof_handler,
index 29a07daa68fa16d03dd919b200937c58fa8ed309..eb588ed02dbad28c2a36e8203d2e53acc9909630 100644 (file)
@@ -35,13 +35,6 @@ for (DoFHandler : DOFHANDLER_TEMPLATES;
         const unsigned int level,
         IndexSet &         dof_set);
 
-      template void
-      extract_locally_owned_dofs<
-        DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &       dof_handler,
-        IndexSet &dof_set);
-
       template void
       extract_locally_active_dofs<
         DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
index 0b3c435168f78a30d51572b21ec34f07c40ed544..1fc960c81c39e2119319ef945aa2b37909d933e9 100644 (file)
@@ -76,7 +76,7 @@ test()
   constraints.close();
 
   IndexSet locally_owned_dofs, locally_relevant_dofs;
-  DoFTools::extract_locally_owned_dofs(dof_handler, locally_owned_dofs);
+  locally_owned_dofs = dof_handler.locally_owned_dofs();
   DoFTools::extract_locally_relevant_dofs(dof_handler, locally_relevant_dofs);
 
   PETScWrappers::MPI::Vector vec(locally_owned_dofs, MPI_COMM_WORLD);

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.