From 300d51443dad49d336c062963ec47fc9999c6608 Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 28 Jan 2014 19:00:20 +0000 Subject: [PATCH] step-1: add some text output to the screen git-svn-id: https://svn.dealii.org/trunk@32337 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-1/doc/results.dox | 3 +-- deal.II/examples/step-1/step-1.cc | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-1/doc/results.dox b/deal.II/examples/step-1/doc/results.dox index 751a3910b8..7cd2eebf64 100644 --- a/deal.II/examples/step-1/doc/results.dox +++ b/deal.II/examples/step-1/doc/results.dox @@ -1,7 +1,6 @@

Results

-The program has, after having been run, produced two grids, which look -like this: +Running the program produces graphics of two grids (grid-1.eps and grid-2.eps). They look like this: diff --git a/deal.II/examples/step-1/step-1.cc b/deal.II/examples/step-1/step-1.cc index 96da272b2b..eab42734ff 100644 --- a/deal.II/examples/step-1/step-1.cc +++ b/deal.II/examples/step-1/step-1.cc @@ -75,6 +75,7 @@ void first_grid () std::ofstream out ("grid-1.eps"); GridOut grid_out; grid_out.write_eps (triangulation, out); + std::cout << "Grid written to grid-1.eps" << std::endl; } @@ -190,6 +191,7 @@ void second_grid () GridOut grid_out; grid_out.write_eps (triangulation, out); + std::cout << "Grid written to grid-2.eps" << std::endl; // At this point, all objects created in this function will be destroyed in // reverse order. Unfortunately, we defined the boundary object after the -- 2.39.5