From: Wolfgang Bangerth Date: Mon, 29 Apr 2002 16:12:13 +0000 (+0000) Subject: One more comment. X-Git-Tag: v8.0.0~18097 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc39ea2647449d0ffe3ba095d00898b5ce3cb7c;p=dealii.git One more comment. git-svn-id: https://svn.dealii.org/trunk@5755 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-14/step-14.cc b/deal.II/examples/step-14/step-14.cc index 9a413912d8..18039e23ec 100644 --- a/deal.II/examples/step-14/step-14.cc +++ b/deal.II/examples/step-14/step-14.cc @@ -2759,6 +2759,12 @@ namespace LaplaceSolver DataOut data_out; data_out.attach_dof_handler (PrimalSolver::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::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'': - descriptor.data = new Data::SetUp,dim> (); + descriptor.data = new Data::SetUp,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 evaluation_point (0.75, 0.75); + const Point evaluation_point (0.5, 0.5); descriptor.dual_functional = new DualFunctional::PointValueEvaluation (evaluation_point);