diff options
Diffstat (limited to 'ML_CCZ4/src/ML_CCZ4_Advect.cc')
-rw-r--r-- | ML_CCZ4/src/ML_CCZ4_Advect.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ML_CCZ4/src/ML_CCZ4_Advect.cc b/ML_CCZ4/src/ML_CCZ4_Advect.cc index 1c87f3d..0a1d8ca 100644 --- a/ML_CCZ4/src/ML_CCZ4_Advect.cc +++ b/ML_CCZ4/src/ML_CCZ4_Advect.cc @@ -236,7 +236,7 @@ static void ML_CCZ4_Advect_Body(cGH const * restrict const cctkGH, int const dir CCTK_LOOP3STR(ML_CCZ4_Advect, 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; @@ -2142,7 +2142,7 @@ static void ML_CCZ4_Advect_Body(cGH const * restrict const cctkGH, int const dir + ShiftAdvectionCoeff)))),ToReal(ShiftBCoeff),B3rhsL); /* 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(alpharhs[index],alpharhsL); vec_store_nta_partial(Arhs[index],ArhsL); vec_store_nta_partial(At11rhs[index],At11rhsL); |