]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the remaining tests 6263/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 28 Apr 2018 21:54:37 +0000 (23:54 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 28 Apr 2018 21:56:26 +0000 (23:56 +0200)
tests/bits/step-51.cc
tests/bits/step-51p.cc
tests/fe/curl_curl_01.cc
tests/fe/nedelec_non_rect_2d.cc

index a5c76cae8917625d1738f136d3f899c9c6353e84..c10e62afb3c8bb6e00141f366fe7c55407968e7f 100644 (file)
@@ -155,7 +155,7 @@ namespace Step51
     protected SolutionBase<dim>
   {
   public:
-    SolutionAndGradient () : Function<dim>(dim) {}
+    SolutionAndGradient () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim>   &p,
                                Vector<double>     &v) const;
index c9fc3be1a29de9ee1a998fb14b9164779a718a8d..c6c88a3e297cd488c25e928a6631b8b4398cc0dd 100644 (file)
@@ -155,7 +155,7 @@ namespace Step51
     protected SolutionBase<dim>
   {
   public:
-    SolutionAndGradient () : Function<dim>(dim) {}
+    SolutionAndGradient () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim>   &p,
                                Vector<double>     &v) const;
index cb70976d67277814c59be300dd144c1e89e962b4..1b268d376d84acb1bb6c79bcd588a226f2ec568e 100644 (file)
@@ -96,7 +96,7 @@ template <int dim>
 class ExactSolution : public Function<dim>
 {
 public:
-  ExactSolution() : Function<dim>() {}
+  ExactSolution() : Function<dim>(2) {}
   virtual double value (const Point<dim> &p,
                         const unsigned int component) const;
   virtual void vector_value (const Point<dim> &p,
index a022328b24e90432d1b92934ac63b118bab886b4..27b298d234c4198359656547ca396b1d741920b6 100644 (file)
@@ -76,7 +76,7 @@ namespace polytest
   class SimplePolynomial : public Function<dim>
   {
   public:
-    SimplePolynomial() : Function<dim>() {}
+    SimplePolynomial() : Function<dim>(2) {}
     void vector_value_list (const std::vector<Point<dim> > &points,
                             std::vector<Vector<double> >   &values) const;
 

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.