Skip to content

Commit

Permalink
Formerly deprecated: VtkFlags::ZlibCompressionLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfehling committed Aug 19, 2024
1 parent 1afe182 commit 240c29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Crystal_Growth_Phase_Field_Model/output_results.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
3 changes: 1 addition & 2 deletions cdr/common/include/deal.II-cdr/write_pvtu_output.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 240c29a

Please sign in to comment.