]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix two small things.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Feb 2000 18:15:35 +0000 (18:15 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Feb 2000 18:15:35 +0000 (18:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@2529 0785d39b-7218-0410-832d-ea1e28bc413d

tests/big-tests/nonlinear/fixed-point-iteration/nonlinear.cc

index c6052f08d0655131e24c3011d66b4da37c27691e..c57abffbb2c80b48f502b763a13174b607527504 100644 (file)
@@ -34,7 +34,8 @@ template <int dim>
 class RightHandSide :  public Function<dim> 
 {
   public:
-    double value (const Point<dim> &p) const 
+    virtual double value (const Point<dim> &p,
+                         const unsigned int) const 
       {
        double x = 80;
        for (unsigned int d=0; d<dim; ++d)
@@ -219,6 +220,7 @@ void NonlinearProblem<dim>::run () {
              DataOut<dim> out;
              ofstream gnuplot(filename.c_str());
              fill_data (out);
+             out.build_patches ();
              out.write_gnuplot (gnuplot);
              gnuplot.close ();
            };

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.