From: Wolfgang Bangerth Date: Sun, 29 Aug 2010 19:51:35 +0000 (+0000) Subject: Initialize patch index properly. X-Git-Tag: v8.0.0~5630 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb97bfb095e7c02f538f4fb3e70f6f51bb8d9c47;p=dealii.git Initialize patch index properly. git-svn-id: https://svn.dealii.org/trunk@21779 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/data_out_reader_01/cmp/generic b/tests/base/data_out_reader_01/cmp/generic index 4767cd9837..3d16eeec3d 100644 --- a/tests/base/data_out_reader_01/cmp/generic +++ b/tests/base/data_out_reader_01/cmp/generic @@ -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 diff --git a/tests/base/patches.h b/tests/base/patches.h index 202d45693f..eb3e838e89 100644 --- a/tests/base/patches.h +++ b/tests/base/patches.h @@ -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 > & patches) patch.data(3,i) = p+x4; patch.data(4,i) = i; } + patch.patch_index = p; } }