From 5773e47c5feabe9891e173ec69f6737e8fa7cbd8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 23 Aug 2019 10:12:51 -0600 Subject: [PATCH] Use VTK as the file format for step-3. --- examples/step-3/step-3.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/step-3/step-3.cc b/examples/step-3/step-3.cc index 8f695b463b..c9a1f2ee6e 100644 --- a/examples/step-3/step-3.cc +++ b/examples/step-3/step-3.cc @@ -594,11 +594,12 @@ void Step3::output_results() const data_out.build_patches(); // Now we have everything in place for the actual output. Just open a file - // and write the data into it, using GNUPLOT format (there are other - // functions which write their data in postscript, AVS, GMV, or some other - // format): - std::ofstream output("solution.gpl"); - data_out.write_gnuplot(output); + // and write the data into it, using VTK format (there are many other + // functions in the DataOut class we are using here that can write the + // data in postscript, AVS, GMV, Gnuplot, or some other file + // formats): + std::ofstream output("solution.vtk"); + data_out.write_vtk(output); } -- 2.39.5