]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make step-31 compile again 8066/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 10 May 2019 09:10:09 +0000 (11:10 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 10 May 2019 09:11:15 +0000 (11:11 +0200)
examples/step-31/step-31.cc

index dbe09c16e10a314f4da1e543b2ffdd978f3fb831..f68496993a3bd4c2c5c6f42325d55a9c10adba02 100644 (file)
@@ -133,8 +133,8 @@ namespace Step31
         : Function<dim>(1)
       {}
 
-      virtual double value(const Point<dim> & p,
-                           const unsigned int component = 0) const override
+      virtual double value(const Point<dim> & /*p*/,
+                           const unsigned int /*component*/ = 0) const override
       {
         return 0;
       }
@@ -143,7 +143,7 @@ namespace Step31
                                 Vector<double> &  value) const override
       {
         for (unsigned int c = 0; c < this->n_components; ++c)
-          values(c) = TemperatureInitialValues<dim>::value(p, c);
+          value(c) = TemperatureInitialValues<dim>::value(p, c);
       }
     };
 
@@ -183,7 +183,7 @@ namespace Step31
                                 Vector<double> &  value) const override
       {
         for (unsigned int c = 0; c < this->n_components; ++c)
-          values(c) = TemperatureRightHandSide<dim>::value(p, c);
+          value(c) = TemperatureRightHandSide<dim>::value(p, c);
       }
     };
   } // namespace EquationData

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.