aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WaveToy.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WaveToy.cc b/src/WaveToy.cc
index 978f1e8..f8073ff 100644
--- a/src/WaveToy.cc
+++ b/src/WaveToy.cc
@@ -69,11 +69,11 @@ extern "C" void WaveToyCXX_Evolution(CCTK_ARGUMENTS)
// Do the evolution
//
- for (int k=1; k<kend; k++)
+ for (int k=kstart; k<kend; k++)
{
- for (int j=1; j<jend; j++)
+ for (int j=jstart; j<jend; j++)
{
- for (int i=1; i<iend; i++)
+ for (int i=istart; i<iend; i++)
{
int index = CCTK_GFINDEX3D(cctkGH,i,j,k);