aboutsummaryrefslogtreecommitdiff
path: root/src/extrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/extrap.cc')
-rw-r--r--src/extrap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extrap.cc b/src/extrap.cc
index a6582f9..306cb14 100644
--- a/src/extrap.cc
+++ b/src/extrap.cc
@@ -94,7 +94,7 @@ void extrap_loop (cGH const* restrict const cctkGH,
{
int imin[3], imax[3], is_symbnd[6], is_physbnd[6], is_ipbnd[6];
GenericFD_GetBoundaryInfo
- (cctkGH, cctkGH->cctk_lsh, cctkGH->cctk_lssh, cctkGH->cctk_bbox,
+ (cctkGH, cctkGH->cctk_ash, cctkGH->cctk_lsh, cctkGH->cctk_bbox,
cctkGH->cctk_nghostzones,
imin, imax, is_symbnd, is_physbnd, is_ipbnd);
@@ -142,7 +142,7 @@ void extrap_loop (cGH const* restrict const cctkGH,
break;
case +1:
bmin[d] = imax[d];
- bmax[d] = cctkGH->cctk_lssh[CCTK_LSSH_IDX(0,d)];
+ bmax[d] = cctkGH->cctk_lsh[d];
have_bnd = true;
all_physbnd = all_physbnd and is_physbnd[2*d+1];
any_physbnd = any_physbnd or is_physbnd[2*d+1];