From ac55192731a3882682d6b21a764cae6e2075553e Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 8 Aug 2007 19:05:19 +0000 Subject: [PATCH] Use vtk format. git-svn-id: https://svn.dealii.org/trunk@14924 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-27/step-27.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.39.5