aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2004-02-04 09:57:48 +0000
committerschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2004-02-04 09:57:48 +0000
commit30417b318feaa726cab45fcd6e9cbcb7f8a872df (patch)
tree6903d20691453c16d564eb2f7736b3c9e099cc32
parent986e26469db4081d628ac049ff40a2faa707accd (diff)
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
-rw-r--r--param.ccl28
1 files 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