]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some unused typedefs. 3253/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 15 Oct 2016 16:03:01 +0000 (12:03 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 15 Oct 2016 16:03:01 +0000 (12:03 -0400)
source/dofs/dof_renumbering.cc
source/grid/tria.cc

index df770b3b9adbd8ac5cbae76a2836f100e0c8a1dd..cd1af2a3a827778891c2291fdbd2e4d2b66cdd72 100644 (file)
@@ -265,11 +265,8 @@ namespace DoFRenumbering
 
       int delta = 0;
 
-      typedef double Type;
-
       // must be BGL directed graph now
       typedef adjacency_list<vecS, vecS, directedS>  Graph;
-      typedef graph_traits<Graph>::vertex_descriptor Vertex;
 
       int n = dof_handler.n_dofs();
 
index 1d48bdc13982a6e07d6a22a94f974c21a7b36de0..cc36bf7c39d4df7c1274568d8935ee6afee21930 100644 (file)
@@ -1312,8 +1312,6 @@ namespace internal
       {
         typedef
         typename Triangulation<dim,spacedim>::line_iterator line_iterator;
-        typedef
-        typename Triangulation<dim,spacedim>::active_line_iterator active_line_iterator;
 
         number_cache.n_levels = 0;
         if (level_objects > 0)
@@ -1413,8 +1411,6 @@ namespace internal
 
         typedef
         typename Triangulation<dim,spacedim>::quad_iterator quad_iterator;
-        typedef
-        typename Triangulation<dim,spacedim>::active_quad_iterator active_quad_iterator;
 
         ///////////////////////////////////
         // update the number of quads on the different levels in the
@@ -1519,8 +1515,6 @@ namespace internal
 
         typedef
         typename Triangulation<dim,spacedim>::hex_iterator hex_iterator;
-        typedef
-        typename Triangulation<dim,spacedim>::active_hex_iterator active_hex_iterator;
 
         ///////////////////////////////////
         // update the number of hexes on the different levels in the
@@ -11841,7 +11835,6 @@ Triangulation<dim, spacedim>::add_periodicity
 (const std::vector<GridTools::PeriodicFacePair<cell_iterator> > &
  periodicity_vector)
 {
-  typedef std::pair<cell_iterator, unsigned int> CellFace;
   periodic_face_pairs_level_0.insert(periodic_face_pairs_level_0.end(),
                                      periodicity_vector.begin(),
                                      periodicity_vector.end());

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.