]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Write output to the logfile, not a separate one.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 27 May 2008 22:38:54 +0000 (22:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 27 May 2008 22:38:54 +0000 (22:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@16251 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/no_flux_04.cc

index 361a3d09d532488cc84ce02d149dae3fe22f153d..970524333bbc05f0e6c9da8568b6511c4710c80f 100644 (file)
@@ -93,7 +93,6 @@ void test (const Triangulation<dim>& tr,
 
   cm.distribute (v);
 
-  std::ofstream o("x.vtk");
   DataOut<dim> data_out;
   data_out.attach_dof_handler (dh);
 
@@ -106,7 +105,7 @@ void test (const Triangulation<dim>& tr,
                            data_component_interpretation);
   data_out.build_patches (fe.degree);
 
-  data_out.write_vtk (o);
+  data_out.write_vtk (deallog.get_file_stream());
 }
 
 

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.