]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Declare the merge function, even if it is not yet implemented.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Apr 2005 22:14:32 +0000 (22:14 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Apr 2005 22:14:32 +0000 (22:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@10549 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/data_out_base.h

index 20024f3fc645d8c9ce8c2286e696f60e1d42571b..5b1b4fd0dff443b91503ad4dd11da52144f66ac6 100644 (file)
@@ -2319,6 +2319,51 @@ class DataOutReader : public DataOutInterface<dim,spacedim>
                                      */
     void read (std::istream &in);
 
+                                     /**
+                                      * This function can be used to
+                                      * merge the patches read by the
+                                      * other object into the patches
+                                      * that this present object
+                                      * stores. This is sometimes
+                                      * handy if one has, for example,
+                                      * a domain decomposition
+                                      * algorithm where each block is
+                                      * represented by a DoFHandler of
+                                      * its own, but one wants to
+                                      * output the solution on all the
+                                      * blocks at the same
+                                      * time. Alternatively, it may
+                                      * also be used for parallel
+                                      * programs, where each process
+                                      * only generates output for its
+                                      * share of the cells, even if
+                                      * all processes can see all
+                                      * cells.
+                                      *
+                                      * For this to work, the input
+                                      * files for the present object
+                                      * and the given argument need to
+                                      * have the same number of output
+                                      * vectors, and they need to use
+                                      * the same number of
+                                      * subdivisions per patch. The
+                                      * output will probably look
+                                      * rather funny if patches in
+                                      * both objects overlap in space.
+                                      *
+                                      * If you call read() for this
+                                      * object after merging in
+                                      * patches, the previous state is
+                                      * overwritten, and the merged-in
+                                      * patches are lost.
+                                     *
+                                      * This function will fail if
+                                      * either this or the other
+                                      * object did not yet set up any
+                                      * patches.
+                                      */
+    void merge (const DataOutReader<dim,spacedim> &other);
+    
   protected:
                                     /**
                                      * This is the function

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.