aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039>2009-11-13 22:03:06 +0000
committerschnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039>2009-11-13 22:03:06 +0000
commit0b4a0d3a5fa98271fc61b8d46479cfa001ffd044 (patch)
treeee436f9d3c1e08347908c6386f902929a62436cc
parent5607ee841d9d3e8954af8379503d3a7c309ecfce (diff)
Correct check that ensures that the grid is large enough
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/ReflectionSymmetry/trunk@28 082bdb00-0f4f-0410-b49e-b1835e5f2039
-rw-r--r--src/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c
index 17e2f1c..45585b0 100644
--- a/src/apply.c
+++ b/src/apply.c
@@ -491,7 +491,7 @@ BndReflectVI (cGH const * restrict const cctkGH,
this thorn does not support filling symmetry zones from
other symmetry zones */
{
- int const have_points = cctkGH->cctk_lsh[dir];
+ int const have_points = cctkGH->cctk_gsh[dir];
int const need_points =
3 * cctkGH->cctk_nghostzones[dir]
+ do_stagger[2*dir] + do_stagger[2*dir+1];