From b4352ee8415c1f7cd990078feb64c54f114310e6 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 29 Apr 2002 16:12:13 +0000 Subject: [PATCH] One more comment. git-svn-id: https://svn.dealii.org/trunk@5755 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-14/step-14.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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); -- 2.39.5