]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
change in DataOutInterface
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 20:04:32 +0000 (20:04 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 20:04:32 +0000 (20:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@2394 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/wave-test-3.cc

index b1bb101af8da2f5ef83fca264d2b9e16a15ab5e7..3adef59acc16cbb51362ba02e4e9fb925e6b79f0 100644 (file)
@@ -7894,14 +7894,14 @@ void TimeStep_Postprocess<dim>::postprocess_timestep ()
     {
       deallog << "[o]";
 
+      DataOut<dim> out;
       DataOut<dim>::OutputFormat output_format
        = DataOut<dim>::parse_output_format (parameters.output_format);
       
       string data_filename     = (parameters.output_directory +
                                   "sweep" + int_to_string(sweep_no,2) +
                                   "/" + int_to_string(timestep_no,4) +
-                                  DataOut<dim>::default_suffix (output_format));
-      DataOut<dim> out;
+                                  out.default_suffix (output_format));
       out.attach_dof_handler (*get_timestep_primal().dof_handler);
       out.add_data_vector (get_timestep_primal().u, "u");
       out.add_data_vector (get_timestep_primal().v, "v");

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.