]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid redefining vector_value
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 11 May 2019 17:32:43 +0000 (13:32 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 11 May 2019 17:35:40 +0000 (13:35 -0400)
examples/step-42/step-42.cc

index 32394d47b7bb02841425d4026fba508b09700d1b..23db5134cb65d8a18fd18a546f7bd9ade1721d72 100644 (file)
@@ -316,9 +316,6 @@ namespace Step42
 
       virtual double value(const Point<dim> & p,
                            const unsigned int component = 0) const override;
-
-      virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  values) const override;
     };
 
 
@@ -335,13 +332,6 @@ namespace Step42
       return 0.;
     }
 
-    template <int dim>
-    void BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                           Vector<double> &  values) const
-    {
-      for (unsigned int c = 0; c < this->n_components; ++c)
-        values(c) = BoundaryValues<dim>::value(p, c);
-    }
 
 
     // @sect4{The <code>SphereObstacle</code> class}

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.