From: Wolfgang Bangerth Date: Fri, 23 Aug 2019 16:12:51 +0000 (-0600) Subject: Use VTK as the file format for step-3. X-Git-Tag: v9.2.0-rc1~1189^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5773e47c5feabe9891e173ec69f6737e8fa7cbd8;p=dealii.git Use VTK as the file format for step-3. --- 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); }