From 82a0c9b8863107ae473f6ca4143082d6ffb6fce0 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 1 Dec 2010 16:37:19 -0500 Subject: ReductionTest: Use GRHydro instead of Whisky --- CarpetExtra/ReductionTest/interface.ccl | 2 +- CarpetExtra/ReductionTest/src/CoM.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'CarpetExtra') diff --git a/CarpetExtra/ReductionTest/interface.ccl b/CarpetExtra/ReductionTest/interface.ccl index 20a698e8a..ff5dab82e 100644 --- a/CarpetExtra/ReductionTest/interface.ccl +++ b/CarpetExtra/ReductionTest/interface.ccl @@ -2,7 +2,7 @@ # $Header:$ implements: ReductionTest -inherits: Whisky grid +inherits: GRHydro grid CCTK_REAL center_of_mass_helpers TYPE=GF TIMELEVELS=3 tags='prolongation="none"' { diff --git a/CarpetExtra/ReductionTest/src/CoM.c b/CarpetExtra/ReductionTest/src/CoM.c index 6724ad7be..7a00ddc97 100644 --- a/CarpetExtra/ReductionTest/src/CoM.c +++ b/CarpetExtra/ReductionTest/src/CoM.c @@ -64,7 +64,7 @@ void CoM(CCTK_ARGUMENTS) reduction_handle = CCTK_ReductionHandle("sum"); - varindex = CCTK_VarIndex("Whisky::dens"); + varindex = CCTK_VarIndex("GRHydro::dens"); assert(varindex>=0); ierr = CCTK_Reduce(cctkGH, -1, reduction_handle, 1, CCTK_VARIABLE_REAL, (void *)&denstotal, 1, varindex); -- cgit v1.2.3