diff options
Diffstat (limited to 'src/CartGrid3D.c')
-rw-r--r-- | src/CartGrid3D.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CartGrid3D.c b/src/CartGrid3D.c index 3592adf..d4d3618 100644 --- a/src/CartGrid3D.c +++ b/src/CartGrid3D.c @@ -254,7 +254,7 @@ void CartGrid3D(CCTK_ARGUMENTS) /* Adapt to convergence level */ for (d=0; d<3; ++d) { - spacing[d] *= pow(cctkGH->cctk_convfac, cctkGH->cctk_convlevel); + spacing[d] *= pow(2, cctkGH->cctk_convlevel); } ierr = ConvertFromPhysicalBoundary |