From 2d8f61e71c62605bd408cfa085e62753f7969f9a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 3 Apr 2006 22:55:18 +0000 Subject: [PATCH] Write to the correct stream git-svn-id: https://svn.dealii.org/trunk@12809 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/data_out_stack_03.cc | 3 +-- tests/bits/data_out_stack_03/cmp/generic | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/tests/bits/data_out_stack_03.cc b/tests/bits/data_out_stack_03.cc index 3e8e270e1d..f23937bafa 100644 --- a/tests/bits/data_out_stack_03.cc +++ b/tests/bits/data_out_stack_03.cc @@ -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()); } diff --git a/tests/bits/data_out_stack_03/cmp/generic b/tests/bits/data_out_stack_03/cmp/generic index 8b13789179..0337bf8cf2 100644 --- a/tests/bits/data_out_stack_03/cmp/generic +++ b/tests/bits/data_out_stack_03/cmp/generic @@ -1 +1,22 @@ +# This file was generated by the deal.II library. + + +# +# For a description of the GNUPLOT format see the GNUPLOT manual. +# +# +-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 + + -- 2.39.5