]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize patch index properly.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 29 Aug 2010 19:51:35 +0000 (19:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 29 Aug 2010 19:51:35 +0000 (19:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@21779 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/data_out_reader_01/cmp/generic
tests/base/patches.h

index 4767cd98379e7f80d7df1c0ee26145ed7640f518..3d16eeec3df4548486912f72c9b1ff1742e919d3 100644 (file)
@@ -13,7 +13,7 @@ i
 [deal.II intermediate Patch<2,2>]
 0 0 1 0 1 1 0 1 
 4294967295 4294967295 4294967295 4294967295 
-4294967295 1
+0 1
 0
 5 4
 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 2 3 
@@ -22,7 +22,7 @@ i
 [deal.II intermediate Patch<2,2>]
 0 0 1 0 1 1 0 1 
 4294967295 4294967295 4294967295 4294967295 
-0 1
+1 1
 0
 5 4
 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 2 3 
index 202d45693fa1515e9f6a203dc57cc3a6af361cc8..eb3e838e899ddec303fbe3dcb7b2ddc72a25e044 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2006 by the deal.II authors
+//    Copyright (C) 2006, 2010 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -64,6 +64,7 @@ create_patches(std::vector<DataOutBase::Patch<dim, spacedim> > & patches)
                patch.data(3,i) = p+x4;
                patch.data(4,i) = i;
              }
+      patch.patch_index = p;
     }
 }
 

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.