From 54b70513317efade1de3e3850de91a8e1f7bc479 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 7 Jul 2022 15:11:08 -0400 Subject: [PATCH] add format --- include/deal.II/base/data_out_base.h | 5 +++++ source/base/data_out_base.cc | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/data_out_base.h b/include/deal.II/base/data_out_base.h index 9050acc217..9063b876b2 100644 --- a/include/deal.II/base/data_out_base.h +++ b/include/deal.II/base/data_out_base.h @@ -1658,6 +1658,11 @@ namespace DataOutBase */ deal_II_intermediate, + /** + * Output in parallel deal.II intermediate format. + */ + parallel_deal_II_intermediate, + /** * Output in HDF5 format. */ diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index bc0710b3df..fffba4b356 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -2750,6 +2750,9 @@ namespace DataOutBase if (format_name == "deal.II intermediate") return deal_II_intermediate; + if (format_name == "parallel deal.II intermediate") + return parallel_deal_II_intermediate; + if (format_name == "hdf5") return hdf5; @@ -2766,7 +2769,7 @@ namespace DataOutBase std::string get_output_format_names() { - return "none|dx|ucd|gnuplot|povray|eps|gmv|tecplot|tecplot_binary|vtk|vtu|hdf5|svg|deal.II intermediate"; + return "none|dx|ucd|gnuplot|povray|eps|gmv|tecplot|tecplot_binary|vtk|vtu|hdf5|svg|deal.II intermediate|parallel deal.II intermediate"; } @@ -2800,6 +2803,8 @@ namespace DataOutBase return ".vtu"; case deal_II_intermediate: return ".d2"; + case parallel_deal_II_intermediate: + return ".pd2"; case hdf5: return ".h5"; case svg: -- 2.39.5