diff options
author | schnetter <schnetter@850bcc8b-0e4f-0410-8c26-8d28fbf1eda9> | 2008-02-19 04:37:35 +0000 |
---|---|---|
committer | schnetter <schnetter@850bcc8b-0e4f-0410-8c26-8d28fbf1eda9> | 2008-02-19 04:37:35 +0000 |
commit | fa736227b602e70f8a79a0760372f4b76260deff (patch) | |
tree | edda6f89985979830e0da4039c91aa804edfcef1 | |
parent | 102887f6f2daf817ead40641ceb41856c6d43d47 (diff) |
Ensure that there are enough ghost zones
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Dissipation/trunk@32 850bcc8b-0e4f-0410-8c26-8d28fbf1eda9
-rw-r--r-- | src/setup_epsdis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/setup_epsdis.c b/src/setup_epsdis.c index 498f8c3..8703c63 100644 --- a/src/setup_epsdis.c +++ b/src/setup_epsdis.c @@ -196,6 +196,10 @@ setup_epsdis (CCTK_ARGUMENTS) zmin=odz-maxrad; zmax=odz+maxrad; + assert (cctk_nghostzones[0]>=2); + assert (cctk_nghostzones[1]>=2); + assert (cctk_nghostzones[2]>=2); + npts=0; for (i=2;i<ni-2;i++) for (j=2;j<nj-2;j++) |