From: heister Date: Tue, 28 Jan 2014 19:00:20 +0000 (+0000) Subject: step-1: add some text output to the screen X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=300d51443dad49d336c062963ec47fc9999c6608;p=dealii-svn.git step-1: add some text output to the screen git-svn-id: https://svn.dealii.org/trunk@32337 0785d39b-7218-0410-832d-ea1e28bc413d --- 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