diff --git a/ODESolvers/schedule.ccl b/ODESolvers/schedule.ccl index ee6a67c87..3ee299acf 100644 --- a/ODESolvers/schedule.ccl +++ b/ODESolvers/schedule.ccl @@ -13,6 +13,9 @@ if(use_subcycling_wip) { OPTIONS: global } "Setup Var Groups for Subcycling" + SCHEDULE GROUP ODESolvers_SyncKs + { + } "Group of Sync Ks at RM Boundary" SCHEDULE GROUP ODESolvers_CalcYfFromKcs1 { } "Group of Calc Yfs from Kcs at RM Boundary for RK1" diff --git a/ODESolvers/src/odesolvers_solve_subcycling.cxx b/ODESolvers/src/odesolvers_solve_subcycling.cxx index adea5ec64..48c1d14c7 100644 --- a/ODESolvers/src/odesolvers_solve_subcycling.cxx +++ b/ODESolvers/src/odesolvers_solve_subcycling.cxx @@ -201,6 +201,7 @@ extern "C" void ODESolvers_Solve_Subcycling(CCTK_ARGUMENTS) { *const_cast(&cctkGH->cctk_time) = old_time; // Sync OldState: + CallScheduleGroup(cctkGH, "ODESolvers_SyncKs"); // Step 1: if (verbose) diff --git a/TestSubcyclingMC2/schedule.ccl b/TestSubcyclingMC2/schedule.ccl index 12d8c53df..e75e9c555 100644 --- a/TestSubcyclingMC2/schedule.ccl +++ b/TestSubcyclingMC2/schedule.ccl @@ -27,7 +27,7 @@ SCHEDULE TestSubcyclingMC2_SyncState IN ODESolvers_PostStep SYNC: state } "Sync old and ks" -SCHEDULE TestSubcyclingMC2_SyncKs IN ODESolvers_CalcYfFromKcs1 BEFORE ODESolvers_Solve_CalcYfFromKcs1 +SCHEDULE TestSubcyclingMC2_SyncKs IN ODESolvers_SyncKs { LANG: C SYNC: old k1 k2 k3 k4