From bb97bfb095e7c02f538f4fb3e70f6f51bb8d9c47 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 29 Aug 2010 19:51:35 +0000 Subject: [PATCH] Initialize patch index properly. git-svn-id: https://svn.dealii.org/trunk@21779 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/data_out_reader_01/cmp/generic | 4 ++-- tests/base/patches.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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; } } -- 2.39.5