]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
step-1: add some text output to the screen
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Jan 2014 19:00:20 +0000 (19:00 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Jan 2014 19:00:20 +0000 (19:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@32337 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-1/doc/results.dox
deal.II/examples/step-1/step-1.cc

index 751a3910b82e71a2c93ac748c1eae4c7cf67c6ef..7cd2eebf6483b56096a7398e9a6efd455162208d 100644 (file)
@@ -1,7 +1,6 @@
 <h1>Results</h1>
 
-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:
 
 <TABLE WIDTH="60%" ALIGN="center">
   <tr>
index 96da272b2b7164633794c1664510b353897dd1a4..eab42734ffd3fde80ece55507a7cc59d9de15058 100644 (file)
@@ -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

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.