]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add output file
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 May 2007 18:58:23 +0000 (18:58 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 May 2007 18:58:23 +0000 (18:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@14729 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/dof_handler_timing.cc

index 398b91b9bfa084c6301da584d25faabb56b8adc8..d3838b4b9fd33c5594a0f48f0f4f609489fa12d5 100644 (file)
@@ -20,7 +20,7 @@
 #define REF 21
 #endif
 
-#include <iomanip>
+#include <fstream>
 
 #include <base/logstream.h>
 #include <base/quadrature_lib.h>
@@ -150,6 +150,8 @@ void check_sys ()
 
 int main()
 {
+  std::ofstream out("dof_handler_timing/output");
+  deallog.attach(out);
   deallog.log_execution_time(true);
   deallog.log_time_differences(true);
   check_q<2>();

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.