aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl10
1 files changed, 10 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 283e95e..b3ba41b 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -241,6 +241,16 @@ schedule GROUP MoL_CalcRHS IN MoL_Step
LANG: C
} "Physics thorns schedule the calculation of the discrete spatial operator in here"
+#############################################################
+### Any modification of the RHS done by external thorns ###
+### (dissipation etc.) should be done in MoL_PostRHS ###
+#############################################################
+
+schedule GROUP MoL_PostRHS IN MoL_Step AFTER MoL_CalcRHS BEFORE (MoL_NaNCheck MoL_Add)
+{
+ LANG: C
+} "Modify RHS functions"
+
#####################################################
### If required, check for any NaNs in the RHSs ###
#####################################################