aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2000-09-12 07:45:27 +0000
committerallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2000-09-12 07:45:27 +0000
commita69ca9960f5eed7aec267de705a2b8554fe5c450 (patch)
tree912aed46241b5d19430d0a1b6b71f0f430d32abb /schedule.ccl
parentf8b67d2052a2f2a897341bc25239839efb711006 (diff)
Adding fixed timestep option
Will update documentation.tex later today. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@27 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl11
1 files changed, 8 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 84b646f..2399f7f 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -8,8 +8,7 @@ if (CCTK_Equals(courant_method,"standard"))
LANG: C
} "Set timestep based on Courant condition"
}
-
-if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time"))
+else if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time"))
{
schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates
{
@@ -21,6 +20,12 @@ if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant
LANG: C
} "Reset timestep each iteration"
}
-
+else
+{
+ schedule Time_Given at CCTK_BASEGRID
+ {
+ LANG: C
+ } "Set fixed timestep"
+}