From 780a156ce1e151ee0115bc2378028e73445ec36f Mon Sep 17 00:00:00 2001 From: rhaas Date: Thu, 9 Aug 2012 20:36:01 +0000 Subject: 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 --- param.ccl | 6 ++++-- 1 file 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 -- cgit v1.2.3