From 346c3888d0161d8b9730edaf35e8ce8dbaf8523f Mon Sep 17 00:00:00 2001 From: schnetter Date: Sun, 15 Feb 2004 00:38:32 +0000 Subject: Remove the unnecessary parameters maxnghostzones. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@9 40f6ab95-0e4f-0410-8daa-ee8d7420be1d --- param.ccl | 14 -------------- src/setup.c | 2 -- 2 files changed, 16 deletions(-) diff --git a/param.ccl b/param.ccl index 4840043..35efc0d 100644 --- a/param.ccl +++ b/param.ccl @@ -14,20 +14,6 @@ CCTK_INT nsurfaces "Number of surfaces" -#CCTK_INT maxnghoststheta "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) -CCTK_INT maxnghoststheta "Maximum number of ghost zones in the theta direction" -{ - 0:* :: "" -} 1 - -#CCTK_INT maxnghostsphi "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) -CCTK_INT maxnghostsphi "Maximum number of ghost zones in the phi direction" -{ - 0:* :: "" -} 1 - - - # Default parameter values do not trigger accumulator expressions. # Therefore the default values here must be large enough for the default # surface shape. diff --git a/src/setup.c b/src/setup.c index f2d5649..0744cf8 100644 --- a/src/setup.c +++ b/src/setup.c @@ -21,8 +21,6 @@ void SphericalSurfaceInfo_Setup (CCTK_ARGUMENTS) for (n=0; n= 0 && nghoststheta[n] <= maxnghoststheta); - assert (nghostsphi[n] >= 0 && nghostsphi[n] <= maxnghostsphi); assert (ntheta[n] >= 3*nghoststheta[n] && ntheta[n] <= maxntheta); assert (nphi[n] >= 3*nghostsphi[n] && nphi[n] <= maxnphi); -- cgit v1.2.3