aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2012-08-09 20:36:01 +0000
committerrhaas <rhaas@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2012-08-09 20:36:01 +0000
commit780a156ce1e151ee0115bc2378028e73445ec36f (patch)
treed0a14118bc6d9d786bfdbe4a17a5378cfaccdc1d
parent85cf5f11f21fe76ec20d5e3ed6039ecfbf724204 (diff)
make maxnphi and maxntheta parameters steerable
This patch makes two parameters of SphericalSurface steerable. Since they control the size of grid arrays that are checkpointed, changing them requires some care, but is fine if eg. a run had no SF turned on initially and one wants to turn them on when recovering from a checkpoint. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@50 40f6ab95-0e4f-0410-8daa-ee8d7420be1d
-rw-r--r--param.ccl6
1 files changed, 4 insertions, 2 deletions
diff --git a/param.ccl b/param.ccl
index 37a2f26..4217adf 100644
--- a/param.ccl
+++ b/param.ccl
@@ -48,14 +48,16 @@ BOOLEAN verbose "Shall I be verbose?"
# Therefore the default values here must be large enough for the default
# surface shape.
+# These parameters change the size of a checkpointed grid array. When changing them you will have to skip recovering sf_radius.
+
#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"
+CCTK_INT maxntheta "Maximum number of grid points in the theta direction" STEERABLE=RECOVER
{
0:* :: ""
} 19
#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"
+CCTK_INT maxnphi "Maximum number of grid points in the phi direction" STEERABLE=RECOVER
{
0:* :: ""
} 38