aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rwxr-xr-xschedule.ccl22
1 files changed, 14 insertions, 8 deletions
diff --git a/schedule.ccl b/schedule.ccl
index b6f4ec6..2b3b5ac 100755
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -52,31 +52,37 @@ schedule group HydroBase_PostStep AT POSTRESTRICTINITIAL
{
} "Post step tasks for hydro thorns"
-# Hydro thorns should not schedule something in this group
-# (schedule them in HydroBase_Boundaries), but they can refer to it
+# Hydro thorns should not schedule something in group HydroBase_Boundaries
+# (schedule them in HydroBase_Select_Boundaries), but they can refer to it
# in order to schedule own routines before or after the boundary
-# treatment
-schedule group HydroBase_Do_Boundaries IN HydroBase_PostStep BEFORE HydroBase_Con2Prim
+# treatment or they can schedule the whole group
+schedule group HydroBase_Boundaries IN HydroBase_PostStep BEFORE HydroBase_Con2Prim
{
-} "HydroBase Boundary conditions group"
+} "HydroBase-internal Boundary conditions group"
-schedule group HydroBase_Boundaries IN HydroBase_Do_Boundaries
+# Here codes would have to schedule functions to specify which boundary conditions
+# should be applied to which variables
+schedule group HydroBase_Select_Boundaries IN HydroBase_Boundaries
{
} "Group to schedule the boundary condition functions"
-schedule group ApplyBCs AS HydroBase_ApplyBCs IN HydroBase_Do_Boundaries AFTER HydroBase_Boundaries
+# This will then later actually apply all the selected boundary conditions. Thorns
+# using HydroBase should not need to change something here.
+schedule group ApplyBCs AS HydroBase_ApplyBCs IN HydroBase_Boundaries AFTER HydroBase_Select_Boundaries
{
} "Apply the boundary conditions of HydroBase"
+# This is a group to schedule Con2Prim routines, scheduled at different times during
+# an evolution
schedule group HydroBase_Con2Prim IN HydroBase_PostStep
{
} "Convert from conservative to primitive variables"
-# I am not quite sure why this has to be scheduled in CCTK_PostPostInitial (roland)
schedule group HydroBase_Con2Prim AT CCTK_PostPostInitial AS Con2Prim BEFORE ADMConstraintsGroup
{
} "Convert from conservative to primitive variables (might be redundant)"
+# Schedule prim2con after initial data
schedule group HydroBase_Prim2ConInitial AT Initial AFTER HydroBase_Initial
{
} "Recover the conservative variables from the primitive variables"