From 30417b318feaa726cab45fcd6e9cbcb7f8a872df Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 4 Feb 2004 09:57:48 +0000 Subject: Make the number of ghost zones per surface instead of global. Do not use accumulator parameters, as they do not work with array parameters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@7 40f6ab95-0e4f-0410-8daa-ee8d7420be1d --- param.ccl | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/param.ccl b/param.ccl index 477a56b..4840043 100644 --- a/param.ccl +++ b/param.ccl @@ -14,12 +14,14 @@ CCTK_INT nsurfaces "Number of surfaces" -CCTK_INT nghoststheta "Number of ghost zones in the theta direction" +#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 nghostsphi "Number of ghost zones in the phi direction" +#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 @@ -30,30 +32,44 @@ CCTK_INT nghostsphi "Number of ghost zones in the phi direction" # Therefore the default values here must be large enough for the default # surface shape. -CCTK_INT maxntheta "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) +#CCTK_INT maxntheta "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) +CCTK_INT maxntheta "Maximum number of grid points in the theta direction" { 0:* :: "" } 19 -CCTK_INT maxnphi "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) +#CCTK_INT maxnphi "do not set this parameter directly" ACCUMULATOR=((x>y)*x+!(x>y)*y) +CCTK_INT maxnphi "Maximum number of grid points in the phi direction" { 0:* :: "" } 38 -CCTK_INT ntheta[42] "Number of grid points in the theta direction" +CCTK_INT ntheta[42] "Number of grid points in the theta direction" #ACCUMULATOR-BASE maxntheta { 0:* :: "must be at least 3*nghoststheta" } 19 -CCTK_INT nphi[42] "Number of grid points in the phi direction" +CCTK_INT nphi[42] "Number of grid points in the phi direction" #ACCUMULATOR-BASE maxnphi { 0:* :: "must be at least 3*nghostsphi" } 38 +CCTK_INT nghoststheta[42] "Number of ghost zones in the theta direction" #ACCUMULATOR-BASE maxnghoststheta +{ + 0:* :: "" +} 1 + +CCTK_INT nghostsphi[42] "Number of ghost zones in the phi direction" #ACCUMULATOR-BASE maxnghostsphi +{ + 0:* :: "" +} 1 + + + BOOLEAN symmetric_x[42] "Reflection symmetry in the x direction" { } no -- cgit v1.2.3