aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2004-01-12 17:30:01 +0000
committerhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2004-01-12 17:30:01 +0000
commit6171a8725fe79eb4935afbdcc66cef107878ff31 (patch)
tree0ded88e5eb299433186dc7f2b009b5ceb7cca8f9
parent6ac7c345925b48175a4646d7dea37a977d64f085 (diff)
Forgot to commit schedule.ccl for last change. Add configuration.ccl.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@46 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
-rw-r--r--configuration.ccl6
-rw-r--r--interface.ccl2
-rw-r--r--schedule.ccl10
3 files changed, 16 insertions, 2 deletions
diff --git a/configuration.ccl b/configuration.ccl
new file mode 100644
index 0000000..d05ad64
--- /dev/null
+++ b/configuration.ccl
@@ -0,0 +1,6 @@
+# Configuration definition for thorn MoL
+# $Header$
+
+REQUIRES THORNS: NaNChecker
+
+
diff --git a/interface.ccl b/interface.ccl
index 58e5ea6..79e48a1 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -3,8 +3,6 @@
implements: MethodOfLines
-inherits: nanchecker
-
#INCLUDE HEADER: MoLFunctions.h IN MoLFunctions.h
#INCLUDE HEADER: MoL.h IN MoL.h
USES INCLUDE: NaNChecker.h
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 ###
#####################################################