aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2010-02-19 21:08:05 +0000
committerschnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2010-02-19 21:08:05 +0000
commitb530d68aa224e23e1ae0b0629faa680678d99767 (patch)
tree436f818d4b7b05d4c69791125669040f1493e3e0
parentaa4004ec90256d1b0fd94c0fd0acd54987749529 (diff)
Add new schedule group MoL_PseudoEvolution.
Certain variables need to be calculated at every time step, but are not evolved in time themselves. For example, the ADM constraints are of this type. Such calculations need to be scheduled in several locations: - AT postinitial - AT evol AFTER MoL_Evolution - AT postregrid - AT postregridinitial - AT post_recover_variables (assuming these quantities are not checkpointed) To simplify scheduling this, this new schedule group MoL_PseudoEvolution is scheduled at all these times. Other thorns can then schedule their calculations in this single location. This simplifies their schedule specifications, and helps prevent errors since people tend to forget to schedule at some of these times. This group complements MoL_PostStep, where quantities can be calculated that need to be re-calculated after every sub-time-step, such as e.g. the ADM variables. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@139 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
-rw-r--r--schedule.ccl29
1 files changed, 29 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 30077ca..998f1e2 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -649,6 +649,10 @@ schedule GROUP MoL_PostStep AT PostRegrid
### expensive, but it's simplest for the moment. ###
##################################################################
+schedule GROUP MoL_PostStep AT PostRestrictInitial
+{
+} "Ensure that everything is correct after restriction"
+
schedule GROUP MoL_PostStep AT PostRestrict
{
} "Ensure that everything is correct after restriction"
@@ -664,6 +668,31 @@ schedule GROUP MoL_PostStep AT Post_Recover_Variables
{
} "Ensure that everything is correct after recovery"
+##########################################################################
+### Schedule a pseudo-evolution group to handle variables which are ###
+### not evolved, but which should be calculated at every time step. ###
+##########################################################################
+
+schedule GROUP MoL_PseudoEvolution AT PostInitial AFTER MoL_PostStep
+{
+} "Calculate pseudo-evolved quantities"
+
+schedule GROUP MoL_PseudoEvolution AT PostRegridInitial AFTER MoL_PostStep
+{
+} "Calculate pseudo-evolved quantities"
+
+schedule GROUP MoL_PseudoEvolution AT Evol AFTER MoL_Evolution
+{
+} "Calculate pseudo-evolved quantities"
+
+schedule GROUP MoL_PseudoEvolution AT PostRegrid AFTER MoL_PostStep
+{
+} "Calculate pseudo-evolved quantities"
+
+schedule GROUP MoL_PseudoEvolution AT Post_Recover_Variables AFTER MoL_PostStep
+{
+} "Calculate pseudo-evolved quantities"
+
############################################################
### Additional boundary condition bins as requested by ###
### Yosef Zlochower. ###