]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated version of GridTools::get_face_connectivity_of_cells().
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 4 May 2017 22:13:21 +0000 (16:13 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 4 May 2017 22:13:21 +0000 (16:13 -0600)
include/deal.II/grid/grid_tools.h
source/grid/grid_tools.cc
source/grid/grid_tools.inst.in

index c97c8c34c909855d60e4cccfb7b4acbcd5d6da15..7b90b8672e70bbc3a5c2454d200909ebde07be31 100644 (file)
@@ -982,16 +982,6 @@ namespace GridTools
   get_face_connectivity_of_cells (const Triangulation<dim, spacedim> &triangulation,
                                   DynamicSparsityPattern             &connectivity);
 
-  /**
-   * As above, but filling a SparsityPattern object instead.
-   *
-   * @deprecated
-   */
-  template <int dim, int spacedim>
-  void
-  get_face_connectivity_of_cells (const Triangulation<dim, spacedim> &triangulation,
-                                  SparsityPattern                    &connectivity) DEAL_II_DEPRECATED;
-
   /**
    * Produce a sparsity pattern in which nonzero entries indicate that two
    * cells are connected via a common vertex. The diagonal entries of the
index 9c2a764e7a04bf1569df1ed5be608d4e27a240d5..d4e54d2de6b792525aa26bfd12338769915a4fd6 100644 (file)
@@ -2291,18 +2291,6 @@ next_cell:
 
 
 
-  template <int dim, int spacedim>
-  void
-  get_face_connectivity_of_cells (const Triangulation<dim,spacedim> &triangulation,
-                                  SparsityPattern                   &cell_connectivity)
-  {
-    DynamicSparsityPattern dsp;
-    get_face_connectivity_of_cells(triangulation, dsp);
-    cell_connectivity.copy_from(dsp);
-  }
-
-
-
   template <int dim, int spacedim>
   void
   get_vertex_connectivity_of_cells (const Triangulation<dim,spacedim> &triangulation,
@@ -2384,11 +2372,13 @@ next_cell:
     // passing this graph off to METIS.
     // finally defer to the other function for
     // partitioning and assigning subdomain ids
-    SparsityPattern cell_connectivity;
+    DynamicSparsityPattern cell_connectivity;
     get_face_connectivity_of_cells (triangulation, cell_connectivity);
 
+    SparsityPattern sp_cell_connectivity;
+    sp_cell_connectivity.copy_from(cell_connectivity);
     partition_triangulation (n_partitions,
-                             cell_connectivity,
+                             sp_cell_connectivity,
                              triangulation);
   }
 
index 4b5c9a308e3c71723b24e3ef703621db8a18600a..1b593ec313ff772422b68f754249a2c08cad3a43 100644 (file)
@@ -177,11 +177,6 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     (const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation,
      DynamicSparsityPattern   &cell_connectivity);
 
-    template
-    void get_face_connectivity_of_cells
-    (const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation,
-     SparsityPattern          &cell_connectivity);
-
     template
     void get_vertex_connectivity_of_cells
     (const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation,

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.