From: Marc Fehling Date: Mon, 19 Aug 2024 23:35:19 +0000 (-0600) Subject: Formerly deprecated: VtkFlags::ZlibCompressionLevel X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240c29a00ec4a0a6e483403ede4c085fbc0e4563;p=code-gallery.git Formerly deprecated: VtkFlags::ZlibCompressionLevel --- diff --git a/Crystal_Growth_Phase_Field_Model/output_results.cpp b/Crystal_Growth_Phase_Field_Model/output_results.cpp index 78a3ea2..1975d72 100644 --- a/Crystal_Growth_Phase_Field_Model/output_results.cpp +++ b/Crystal_Growth_Phase_Field_Model/output_results.cpp @@ -28,7 +28,7 @@ void PhaseFieldSolver::output_results(const unsigned int timestep_number) const "solution-" + Utilities::int_to_string(timestep_number, 3) + ".vtk"; DataOutBase::VtkFlags vtk_flags; vtk_flags.compression_level = - DataOutBase::VtkFlags::ZlibCompressionLevel::best_speed; + DataOutBase::CompressionLevel::best_speed; data_out.set_flags(vtk_flags); std::ofstream output(filename); diff --git a/cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h b/cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h index d80a00c..e8ff8b0 100644 --- a/cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h +++ b/cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h @@ -55,8 +55,7 @@ namespace CDR flags.time = current_time; // While the default flag is for the best compression level, using // best_speed makes this function much faster. - flags.compression_level = - DataOutBase::VtkFlags::ZlibCompressionLevel::best_speed; + flags.compression_level = DataOutBase::CompressionLevel::best_speed; data_out.set_flags(flags); unsigned int subdomain_n;