aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2004-03-23 17:53:29 +0000
committerschnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2004-03-23 17:53:29 +0000
commitf7f56a61852ea7125d2d0b539a1cd5b6849e87b3 (patch)
treec9b6b412257f34be96cb6402f53cf85dcb84cd97 /schedule.ccl
parentb6b896ef68bebf49b1b2cc241986da174b64e205 (diff)
Initialise the RHS with zero before scheduling the physics routines.
This is necessary because MoL switches off boundary prolongation when there is mesh refinement, leaving certain grid points undefined. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@54 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl9
1 files changed, 9 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 83832c5..8d71041 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -444,6 +444,15 @@ if (CCTK_Equals(ODE_Method,"ICN-avg"))
} "Averages the time levels for the averaging ICN method"
}
+##############################################
+### The time step is initialised to zero ###
+##############################################
+
+schedule MoL_InitRHS IN MoL_Step BEFORE MoL_CalcRHS
+{
+ LANG: C
+} "Initialise the RHS functions"
+
#####################################################
### The group where all the physics takes place ###
#####################################################