]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove warnings generated by step-61 7719/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 11 Feb 2019 00:52:05 +0000 (01:52 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 11 Feb 2019 00:52:05 +0000 (01:52 +0100)
examples/step-61/step-61.cc

index 90ed9c019beedf3854d2b59a54911404cc9a2c51..13866adf300fbecc607ea75165bf7f7de689ac2a 100644 (file)
@@ -113,6 +113,7 @@ public:
   Coefficient()
     : TensorFunction<2, dim>()
   {}
+
   virtual void value_list(const std::vector<Point<dim>> &points,
                           std::vector<Tensor<2, dim>> &  values) const override;
 };
@@ -138,6 +139,7 @@ public:
   BoundaryValues()
     : Function<dim>(2)
   {}
+
   virtual double value(const Point<dim> & p,
                        const unsigned int component = 0) const override;
 };
@@ -156,8 +158,9 @@ public:
   RightHandSide()
     : Function<dim>()
   {}
+
   virtual double value(const Point<dim> & p,
-                       const unsigned int component = 0) const;
+                       const unsigned int component = 0) const override;
 };
 
 template <int dim>
@@ -176,7 +179,8 @@ public:
   Solution()
     : Function<dim>(1)
   {}
-  virtual double value(const Point<dim> &p, const unsigned int) const;
+
+  virtual double value(const Point<dim> &p, const unsigned int) const override;
 };
 
 template <int dim>
@@ -194,6 +198,7 @@ public:
   Velocity()
     : TensorFunction<1, dim>()
   {}
+
   virtual Tensor<1, dim> value(const Point<dim> &p) const override;
 };
 

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.