aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl20
1 files changed, 20 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index e01be59..bf4ec6e 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -88,6 +88,7 @@ STORAGE:evolve_Y_e
STORAGE:evolve_temper
STORAGE:GRHydro_reflevel
STORAGE:InLastMoLPostStep
+STORAGE:sdetg
STORAGE:densrhs
STORAGE:taurhs
STORAGE:srhs
@@ -1062,6 +1063,25 @@ schedule GRHydro_RefinementLevel IN FluxTerms BEFORE Reconstruct
LANG: Fortran
} "Calculate current refinement level"
+########################### Sqrt(detg) #################
+
+# recompute root of metric determinant whenever metric is updated we could alse
+# abuse ADMBase_SetADMVars the way GRHydroTransformADMToLocalBasis does. Abuse
+# since the group description says to "Set the ADM variables before this group,
+# and use them afterwards" it does not say to schedule anything in it.
+# If we ever face trouble with the current placement we will ignore the
+# description and do so anyway.
+schedule GRHydro_SqrtSpatialDeterminant IN HydroBase_Con2Prim BEFORE Con2Prim IF GRHydro::execute_MoL_Step
+{
+ LANG: Fortran
+} "Calculate sdetg"
+
+schedule GRHydro_SqrtSpatialDeterminant AT CCTK_INITIAL AFTER (HydroBase_Initial,GRHydroTransformADMToLocalBasis) BEFORE HydroBase_Prim2ConInitial
+{
+ LANG: Fortran
+} "Calculate sdetg"
+
+
#debug
###schedule GRHydro_Debug IN HydroBase_PostStep
###{