aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorpollney <pollney@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-04-16 12:51:00 +0000
committerpollney <pollney@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-04-16 12:51:00 +0000
commitfa27bcd40b4adaab057f75124866887996c2c202 (patch)
tree6063f071dd176357c4a6fa939c0a79c604825f0e /schedule.ccl
parent3938143b77634afac657b55f93a07b6f7953f75f (diff)
Added a routine for ensuring that the grid set up in the parameter file
is cactus compatible. If the new parameter "allow_grid_resize" is set, then cartoon will now actually modify the grid that was specified by the user. Though not really a nice solution, it is potentially less annoying than having the user try to figure out appropriate grid dimensions themselves. The old test suite for cartoon (test_cartoon.par) was not a very good example, as it actually set up an less-than-optimal grid (with bitant specified in the wrong plane), and could only run on 2-processors. So I've removed it and replaced it with a pair of new test suites which demonstrate cartoon in "full" and "bitant" mode using the new grid resizing mechanism. Documentation as such does not exist yet, but will in the fullness of time. For the time being, please refer to the sample parameter files in the test directory to see how to set things up. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@26 eec4d7dc-71c2-46d6-addf-10296150bf52
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 7011caa..5e0e224 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -3,6 +3,14 @@
if (cartoon_active)
{
+# if (allow_grid_resize)
+# {
+ schedule Cartoon2D_SetGrid at CCTK_RECOVER_PARAMETERS
+ {
+ LANG: C
+ } "Adjust grid sizes"
+# }
+
schedule Cartoon2D_CheckParameters at CCTK_PARAMCHECK
{
LANG: C