]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Clear buffer at the end of the program.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 23:13:32 +0000 (23:13 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 23:13:32 +0000 (23:13 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31108 0785d39b-7218-0410-832d-ea1e28bc413d

tests/aniso/refine_and_coarsen_anisotropic.cc

index 0097f41fbbd3ad53d89505a2371c6bd1ffae3064..2d3b1aa5a09ac191b12c6a2a3e9d4c673bdaf4d3 100644 (file)
@@ -144,5 +144,10 @@ int main ()
 
   *logfile<<"HyperBall:"<<std::endl;
   test_isotropic<3> (1,logfile);
+
+  // clear whatever is in the buffer
+  *logfile << std::flush;
+  if (single_file)
+    delete logfile;
 }
 

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.