aboutsummaryrefslogtreecommitdiff
path: root/ML_WaveToy/src/WT_Standing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_WaveToy/src/WT_Standing.cc')
-rw-r--r--ML_WaveToy/src/WT_Standing.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ML_WaveToy/src/WT_Standing.cc b/ML_WaveToy/src/WT_Standing.cc
index 6201bac..2d631f7 100644
--- a/ML_WaveToy/src/WT_Standing.cc
+++ b/ML_WaveToy/src/WT_Standing.cc
@@ -83,7 +83,7 @@ static void WT_Standing_Body(cGH const * restrict const cctkGH, int const dir, i
CCTK_LOOP3STR(WT_Standing,
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;
@@ -112,7 +112,7 @@ static void WT_Standing_Body(cGH const * restrict const cctkGH, int const dir, i
kmul(omega,kmul(kcos(kmul(xL,kvec)),kmul(kcos(kmul(yL,kvec)),kmul(kcos(kmul(zL,kvec)),kmul(ksin(kmul(omega,t)),ToReal(-1.*amplitude))))));
/* 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(rho[index],rhoL);
vec_store_nta_partial(u[index],uL);
}