]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid ICC-19 warning 8151/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 14 May 2019 03:40:19 +0000 (05:40 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 14 May 2019 03:40:19 +0000 (05:40 +0200)
examples/step-61/step-61.cc

index e4da2bb76dbcd9fe7f45188e706b60bf1e8972f4..465b88ed54c31a19821f6b4f587201e86c9ae9a3 100644 (file)
@@ -119,6 +119,10 @@ namespace Step61
   class Coefficient : public TensorFunction<2, dim>
   {
   public:
+    Coefficient()
+      : TensorFunction<2, dim>()
+    {}
+
     virtual void value_list(const std::vector<Point<dim>> &points,
                             std::vector<Tensor<2, dim>> &values) const override;
   };
@@ -164,6 +168,10 @@ namespace Step61
   class RightHandSide : public Function<dim>
   {
   public:
+    RightHandSide()
+      : Function<dim>()
+    {}
+
     virtual double value(const Point<dim> & p,
                          const unsigned int component = 0) const override;
   };
@@ -218,6 +226,10 @@ namespace Step61
   class ExactVelocity : public TensorFunction<1, dim>
   {
   public:
+    ExactVelocity()
+      : 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.