aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2006-07-28 09:43:58 +0000
committerhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2006-07-28 09:43:58 +0000
commiteeb8bdf88f9b3de750e95bdb98ae78a8f9b4ad49 (patch)
treea977e595715cf6812308bdbf4d222cdf669f3b39 /schedule.ccl
parent98729fc9f1f8008d16f827f8147bac3760a977e6 (diff)
Efficient RK4, as provided by Yosef Zlochower.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@113 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl30
1 files changed, 30 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index aff477d..b54905c 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -558,6 +558,13 @@ else if (CCTK_Equals(ODE_Method,"RK3"))
LANG: C
} "Updates calculated with the efficient Runge-Kutta 3 method"
}
+else if (CCTK_Equals(ODE_Method,"RK4"))
+{
+ schedule MoL_RK4Add AS MoL_Add IN MoL_Step AFTER MoL_CalcRHS BEFORE MoL_PostStep
+ {
+ LANG: C
+ } "Updates calculated with the efficient Runge-Kutta 4 method"
+}
else if (CCTK_Equals(ODE_Method,"RK45") || CCTK_Equals(ODE_Method,"RK45CK"))
{
STORAGE: ErrorEstimate ErrorScalars
@@ -625,6 +632,29 @@ schedule GROUP MoL_PostStep AT PostRestrict
{
} "Ensure that everything is correct after restriction"
+############################################################
+### Additional boundary condition bins as requested by ###
+### Yosef Zlochower. ###
+############################################################
+
+# schedule GROUP MoL_OldBdry_Wrap IN MoL_PostStep
+# {
+# } "Wrapper group, do not schedule directly into this group"
+#
+# schedule GROUP MoL_OldStyleBoundaries in MoL_OldBdry_Wrap
+# {
+# } "Place old style boundary routines here"
+#
+# schedule MoL_OldBdry_SetDt IN MoL_OldBdry_Wrap BEFORE MoL_OldStyleBoundaries
+# {
+# LANGUAGE: C
+# } "Store and change dt"
+#
+# schedule MoL_OldBdry_ResetDt IN MoL_OldBdry_Wrap AFTER MoL_OldStyleBoundaries
+# {
+# LANGUAGE: C
+# } "Reset dt"
+
#################################################
### Final internal MoL stuff; decrement the ###
### counter, change time and timestep ###