diff options
-rw-r--r-- | CarpetExtra/ReductionTest/interface.ccl | 2 | ||||
-rw-r--r-- | CarpetExtra/ReductionTest/src/CoM.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); |