aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2003-06-07 17:21:18 +0000
committerallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2003-06-07 17:21:18 +0000
commit93c0743acfc174d1455e6325deefd513fb4e5c6d (patch)
tree335cd38fcc3c7681a8b1566b8b2e8312946ac3e7 /schedule.ccl
parent10701d221b2e4ffc413c7ec50bdc35aa5efab4c1 (diff)
Added different bits of documentation, added code for a parameter
which wasn't being used (and changed its name but since it wasn't implemented hopefully noone was using outtimestep_every). Removed two scheduled routines which were not doing anything. Fixes Cactus/1377, Cactus/1378, Cactus/1384, Cactus/1379. Does not fix Cactus/1385 yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@55 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl25
1 files changed, 16 insertions, 9 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 927b5a1..12133ce 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -13,21 +13,28 @@ if (CCTK_Equals (timestep_method, "courant_static"))
schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates
{
LANG: C
- } "Set timestep based on Courant condition"
+ } "Set timestep based on Courant condition (courant_static)"
}
-else if (CCTK_Equals (timestep_method, "courant_speed") ||
- CCTK_Equals (timestep_method, "courant_time"))
+else if (CCTK_Equals (timestep_method, "courant_speed"))
{
schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates
{
LANG: C
- } "Set timestep based on Courant condition"
+ } "Set timestep based on Courant condition (courant_speed)"
+
+ schedule Time_Courant at CCTK_POSTSTEP
+ {
+ LANG: C
+ } "Reset timestep each iteration"
+}
+else if (CCTK_Equals (timestep_method, "courant_time"))
+
+{
+ schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates
+ {
+ LANG: C
+ } "Set timestep based on Courant condition (courant_time)"
- schedule Time_Courant at CCTK_POSTINITIAL
- {
- LANG: C
- } "Reset timestep each iteration"
-
schedule Time_Courant at CCTK_POSTSTEP
{
LANG: C