From: Wolfgang Bangerth Date: Wed, 8 Aug 2007 19:05:19 +0000 (+0000) Subject: Use vtk format. X-Git-Tag: v8.0.0~10120 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09608d5934161e82aa8723bc2430a063ace7f7ad;p=dealii.git Use vtk format. git-svn-id: https://svn.dealii.org/trunk@14924 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-27/step-27.cc b/deal.II/examples/step-27/step-27.cc index e99f14542a..2f37e844cd 100644 --- a/deal.II/examples/step-27/step-27.cc +++ b/deal.II/examples/step-27/step-27.cc @@ -504,14 +504,16 @@ void LaplaceProblem::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