]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add format
authorTimo Heister <timo.heister@gmail.com>
Thu, 7 Jul 2022 19:11:08 +0000 (15:11 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 7 Jul 2022 19:11:08 +0000 (15:11 -0400)
include/deal.II/base/data_out_base.h
source/base/data_out_base.cc

index 9050acc2173f0986333f6c85f39e43b5911e26d0..9063b876b273832cf149d0a80f285542964bc689 100644 (file)
@@ -1658,6 +1658,11 @@ namespace DataOutBase
      */
     deal_II_intermediate,
 
+    /**
+     * Output in parallel deal.II intermediate format.
+     */
+    parallel_deal_II_intermediate,
+
     /**
      * Output in HDF5 format.
      */
index bc0710b3dfdcce7a1f9d5c81070ee4d1c78ef3c7..fffba4b35601451bcd4a4425f699ab7f224dfd8c 100644 (file)
@@ -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:

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.