From 06905493ce7c96779ee67811a067075b4fd64d66 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 21 Jan 2013 13:14:06 -0500 Subject: TestLoopControl: Correct errors in testing ghost zones --- .../TestLoopControl/src/TestLoopPointwise.c | 86 +++++++++++++--------- 1 file changed, 52 insertions(+), 34 deletions(-) (limited to 'CarpetExtra') diff --git a/CarpetExtra/TestLoopControl/src/TestLoopPointwise.c b/CarpetExtra/TestLoopControl/src/TestLoopPointwise.c index 8ac6a26bd..fe9baeef5 100644 --- a/CarpetExtra/TestLoopControl/src/TestLoopPointwise.c +++ b/CarpetExtra/TestLoopControl/src/TestLoopPointwise.c @@ -24,7 +24,7 @@ void TestLoopControlPointwise_All(CCTK_ARGUMENTS) for (int j=0; j 0) { + is_any_physbnd |= is_physbnd [2*d+1]; + is_any_ghostbnd |= is_ghostbnd[2*d+1]; + is_any_symbnd |= is_symbnd [2*d+1]; + } } - for (int k=imin[2]; k 0) { + imin[d] = cctk_lsh[d] - bndsize[2*d+1]; + imax[d] = cctk_lsh[d]; + } + } + for (int k=imin[2]; k