Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support parallel intermediate deal.II format #4890

Merged
merged 1 commit into from Jul 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/postprocess/visualization.cc
Expand Up @@ -602,6 +602,17 @@ namespace aspect
AssertThrowMPI(ierr);
}
}
#if DEAL_II_VERSION_GTE(9,5,0)
else if (output_format == "parallel deal.II intermediate")
{
const std::string filename = this->get_output_directory() + "solution/"
+ solution_file_prefix + ".pd2";

data_out.write_deal_II_intermediate_in_parallel(filename,
this->get_mpi_communicator(),
DataOutBase::VtkFlags::default_compression);
}
#endif
else // Write in a different format than hdf5 or vtu. This case is supported, but is not
// optimized for parallel output in that every process will write one file directly
// into the output directory. This may or may not affect performance depending on
Expand Down