]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use vtk format.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 8 Aug 2007 19:05:19 +0000 (19:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 8 Aug 2007 19:05:19 +0000 (19:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@14924 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-27/step-27.cc

index e99f14542a56bcb08274172c5965fcdcf124dc54..2f37e844cd367bc8dc480535fe2d9b5b8a6e8588 100644 (file)
@@ -504,14 +504,16 @@ void LaplaceProblem<dim>::postprocess (const unsigned int cycle)
     data_out.add_data_vector (fe_degrees, "fe_degree");
     data_out.build_patches ();
 
-                                    // The final step in generating output is
-                                    // to determine a file name, open the
-                                    // file, and write the data into it:
+                                    // The final step in generating
+                                    // output is to determine a file
+                                    // name, open the file, and write
+                                    // the data into it (here, we use
+                                    // VTK format):
     const std::string filename = "solution-" +
                                 Utilities::int_to_string (cycle, 2) +
-                                ".gmv";
+                                ".vtk";
     std::ofstream output (filename.c_str());
-    data_out.write_gmv (output);
+    data_out.write_vtk (output);
   }
 
                                   // After this, we would like to actually

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.