aboutsummaryrefslogtreecommitdiff
path: root/ML_ADM/src/ML_ADM_boundary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_ADM/src/ML_ADM_boundary.cc')
-rw-r--r--ML_ADM/src/ML_ADM_boundary.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ML_ADM/src/ML_ADM_boundary.cc b/ML_ADM/src/ML_ADM_boundary.cc
index e70e87d..1796fdc 100644
--- a/ML_ADM/src/ML_ADM_boundary.cc
+++ b/ML_ADM/src/ML_ADM_boundary.cc
@@ -176,7 +176,7 @@ static void ML_ADM_boundary_Body(cGH const * restrict const cctkGH, int const di
CCTK_LOOP3STR(ML_ADM_boundary,
i,j,k, imin[0],imin[1],imin[2], imax[0],imax[1],imax[2],
cctk_ash[0],cctk_ash[1],cctk_ash[2],
- imin,imax, CCTK_REAL_VEC_SIZE)
+ kimin,kimax, CCTK_REAL_VEC_SIZE)
{
ptrdiff_t /*const*/ index CCTK_ATTRIBUTE_UNUSED = di*i + dj*j + dk*k;
@@ -238,7 +238,7 @@ static void ML_ADM_boundary_Body(cGH const * restrict const cctkGH, int const di
CCTK_REAL_VEC CCTK_ATTRIBUTE_UNUSED beta3L = ToReal(0.);
/* Copy local copies back to grid functions */
- vec_store_partial_prepare(i,lc_imin,lc_imax);
+ vec_store_partial_prepare(i,kimin,kimax);
vec_store_nta_partial(alpha[index],alphaL);
vec_store_nta_partial(beta1[index],beta1L);
vec_store_nta_partial(beta2[index],beta2L);