]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused constructors in unnamed namespace 5231/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 11 Oct 2017 18:43:51 +0000 (20:43 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 11 Oct 2017 18:43:51 +0000 (20:43 +0200)
source/grid/grid_reordering.cc

index 1aff505e355150ba44f64b4a66510e3817aafbc6..77661f7998cacb337c617c261a83fda81bbb515f 100644 (file)
@@ -289,17 +289,6 @@ namespace
   class Edge
   {
   public:
-    /**
-     * Default constructor. Creates an invalid edge.
-     */
-    Edge ()
-      :
-      orientation_status (not_oriented)
-    {
-      for (unsigned int i=0; i<2; ++i)
-        vertex_indices[i] = numbers::invalid_unsigned_int;
-    }
-
     /**
      * Constructor. Create the edge based on the information given
      * in @p cell, and selecting the edge with number @p edge_number
@@ -377,17 +366,6 @@ namespace
   template <int dim>
   struct Cell
   {
-    /**
-     * Default construct a cell.
-     */
-    Cell ()
-    {
-      for (unsigned int i=0; i<GeometryInfo<dim>::vertices_per_cell; ++i)
-        vertex_indices[i] = numbers::invalid_unsigned_int;
-      for (unsigned int i=0; i<GeometryInfo<dim>::lines_per_cell; ++i)
-        edge_indices[i] = numbers::invalid_unsigned_int;
-    }
-
     /**
      * Construct a Cell object from a CellData object. Also take a
      * (sorted) list of edges and to point the edges of the current

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.