]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Formerly deprecated: VtkFlags::ZlibCompressionLevel
authorMarc Fehling <mafehling.git@gmail.com>
Mon, 19 Aug 2024 23:35:19 +0000 (17:35 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Mon, 19 Aug 2024 23:35:32 +0000 (17:35 -0600)
Crystal_Growth_Phase_Field_Model/output_results.cpp
cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h

index 78a3ea20852b4f6892b2ef74e4a706868df52134..1975d72c7b949c04b1947678a6aa7b6559789440 100644 (file)
@@ -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);
 
index d80a00c6af18193ea2628e156cd749f7e1d52717..e8ff8b0cb0cb037783993495bcd17ed53d57c363 100644 (file)
@@ -55,8 +55,7 @@ namespace CDR
     flags.time = current_time;
     // While the default flag is for the best compression level, using
     // <code>best_speed</code> 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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.