From: Wolfgang Bangerth Date: Mon, 15 Mar 2021 17:06:00 +0000 (+0100) Subject: No need to futz with the VTK flags in step-15. X-Git-Tag: v9.3.0-rc1~325^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234af405982a03bedc9818ca58c676264c392bd7;p=dealii.git No need to futz with the VTK flags in step-15. --- diff --git a/examples/step-15/step-15.cc b/examples/step-15/step-15.cc index f633133420..372dbd1083 100644 --- a/examples/step-15/step-15.cc +++ b/examples/step-15/step-15.cc @@ -676,13 +676,10 @@ namespace Step15 data_out.add_data_vector(present_solution, "solution"); data_out.add_data_vector(newton_update, "update"); data_out.build_patches(); + const std::string filename = "solution-" + Utilities::int_to_string(refinement, 2) + ".vtk"; - std::ofstream output(filename); - DataOutBase::VtkFlags vtk_flags; - vtk_flags.compression_level = - DataOutBase::VtkFlags::ZlibCompressionLevel::best_speed; - data_out.set_flags(vtk_flags); + std::ofstream output(filename); data_out.write_vtu(output); } }