aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface.ccl4
-rw-r--r--schedule.ccl7
2 files changed, 11 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index 08fcdd6..7c2ae0a 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -102,6 +102,10 @@ real drift_correct_vars type=SCALAR
# ahf_radvel_corr,
} "Variables for drift correction"
+int drift_check type=SCALAR
+{
+ drift_first
+} "For checking if its the first drift correction"
#######################################
### SCALARS AND ARRAYS FOR OUTPUT ###
diff --git a/schedule.ccl b/schedule.ccl
index 9ace195..8522cc2 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -15,11 +15,18 @@ schedule AHFinder_Startup at CCTK_STARTUP
LANG: C
} "Register AHFinder as an IO Method"
+schedule AHFinder_initdrift at CCTK_INITIAL
+{
+ LANG: FORTRAN
+} "Initialize drift_first, ahf_omega_cum and ahf_omega_corr"
+
if (ahf_active)
{
STORAGE: hole1_bounds,hole2_bounds,hole3_bounds,drift_correct_vars
+ STORAGE: drift_check
+
STORAGE: out_scalars
STORAGE: ahfinder_gaussian
if (ahf_lmax > 0)