aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2004-02-15 00:38:32 +0000
committerschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2004-02-15 00:38:32 +0000
commit346c3888d0161d8b9730edaf35e8ce8dbaf8523f (patch)
tree96cb3a0796ef7eb61d6c7f53d7e7189f7a9089c2
parent4522ab557430b09278d8f59d170a3b307e87e7be (diff)
Remove the unnecessary parameters maxnghostzones.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@9 40f6ab95-0e4f-0410-8daa-ee8d7420be1d
-rw-r--r--param.ccl14
-rw-r--r--src/setup.c2
2 files changed, 0 insertions, 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<nsurfaces; ++n) {
/* internal consistency checks */
- assert (nghoststheta[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);