From fa736227b602e70f8a79a0760372f4b76260deff Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 19 Feb 2008 04:37:35 +0000 Subject: Ensure that there are enough ghost zones git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Dissipation/trunk@32 850bcc8b-0e4f-0410-8c26-8d28fbf1eda9 --- src/setup_epsdis.c | 4 ++++ 1 file changed, 4 insertions(+) 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