]> https://gitweb.dealii.org/ - dealii.git/commitdiff
One more comment.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Apr 2002 16:12:13 +0000 (16:12 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Apr 2002 16:12:13 +0000 (16:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@5755 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-14/step-14.cc

index 9a413912d834cf404f3288c2467110e41a9f19b1..18039e23ec180c2d4f8fd3be984863d61c47dafc 100644 (file)
@@ -2759,6 +2759,12 @@ namespace LaplaceSolver
 
     DataOut<dim> data_out;
     data_out.attach_dof_handler (PrimalSolver<dim>::dof_handler);
+
+                                    // Add the data vectors for which
+                                    // we want output. Add them both,
+                                    // the ``DataOut'' functions can
+                                    // handle as many data vectors as
+                                    // you wish to write to output:
     data_out.add_data_vector (PrimalSolver<dim>::solution,
                              "primal_solution");
     data_out.add_data_vector (dual_solution,
@@ -3940,7 +3946,7 @@ int main ()
                                       // ``Exercise_2_3'', but you
                                       // can also use
                                       // ``CurvedRidges<dim>'':
-      descriptor.data = new Data::SetUp<Data::Exercise_2_3<dim>,dim> ();
+      descriptor.data = new Data::SetUp<Data::CurvedRidges<dim>,dim> ();
       
                                       // Next set first a dual
                                       // functional, then a list of
@@ -3971,7 +3977,7 @@ int main ()
                                       // One such additional
                                       // evaluation is to output the
                                       // grid in each step.
-      const Point<dim> evaluation_point (0.75, 0.75);
+      const Point<dim> evaluation_point (0.5, 0.5);
       descriptor.dual_functional
        = new DualFunctional::PointValueEvaluation<dim> (evaluation_point);
       

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.