]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Patches prepared for neighbor information
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 10 Dec 2001 14:29:48 +0000 (14:29 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 10 Dec 2001 14:29:48 +0000 (14:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@5329 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 0dffae2d8c7ff6cc91b4b1d5269d80ad8aef5881..6dd7367714e6542748c1fc27bddacd8c1e4e6b8a 100644 (file)
@@ -348,6 +348,29 @@ class DataOutBase
                                          * in the triangulation.
                                          */
        Point<spacedim> vertices[GeometryInfo<dim>::vertices_per_cell];
+
+                                        /**
+                                         * Numbers of neighbors of a patch.
+                                         * OpenDX format requires
+                                         * neighbor information for
+                                         * advanced output. Here the
+                                         * neighborship relationship
+                                         * of patches is
+                                         * stored. During output,
+                                         * this must be transformed
+                                         * into neighborship of
+                                         * sub-grid cells.
+                                         */
+       unsigned int neighbors[GeometryInfo<dim>::faces_per_cell];
+
+                                        /**
+                                         * Number of this
+                                         * patch. Since we are not
+                                         * sure patches are handled
+                                         * in the same order, always,
+                                         * we better store this.
+                                         */
+       unsigned int me;
        
                                         /**
                                          * Number of subdivisions with
@@ -430,7 +453,7 @@ class DataOutBase
                                          * should yield the same value for all
                                          * patches provided.
                                          */
-       vector2d<double> data;
+       vector2d<float> data;
        
                                         /**
                                          * Default constructor. Sets

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.