]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Write to the correct stream
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Apr 2006 22:55:18 +0000 (22:55 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Apr 2006 22:55:18 +0000 (22:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@12809 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/data_out_stack_03.cc
tests/bits/data_out_stack_03/cmp/generic

index 3e8e270e1d4dd61ee67b4c36b4ac0a32f30ef669..f23937bafaa199a0902f074eb883ac74a4f68cb2 100644 (file)
@@ -57,8 +57,7 @@ void run ()
   data_out_stack.build_patches (1);
   data_out_stack.finish_parameter_value ();
 
-  std::ofstream out ("out.gpl");
-  data_out_stack.write_gnuplot (out);
+  data_out_stack.write_gnuplot (deallog.get_file_stream());
 }
 
 
index 8b137891791fe96927ad78e64b0aad7bded08bdc..0337bf8cf2b99cb8258d03610d0b7038621c50cc 100644 (file)
@@ -1 +1,22 @@
 
+# This file was generated by the deal.II library.
+
+
+#
+# For a description of the GNUPLOT format see the GNUPLOT manual.
+#
+# <x> <y> <solution> 
+-1.00000 0.00000 0.00000 
+-1.00000 1.00000 0.00000 
+
+0.00000 0.00000 1.00000 
+0.00000 1.00000 1.00000 
+
+
+0.00000 0.00000 1.00000 
+0.00000 1.00000 1.00000 
+
+1.00000 0.00000 0.00000 
+1.00000 1.00000 0.00000 
+
+

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.