From 234af405982a03bedc9818ca58c676264c392bd7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 15 Mar 2021 18:06:00 +0100 Subject: [PATCH] No need to futz with the VTK flags in step-15. --- examples/step-15/step-15.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); } } -- 2.39.5