Skip to content

Commit

Permalink
Z4co: schedule Z4co_SyncKsOld to ODESolvers_SyncKsOld
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Aug 6, 2024
1 parent aa4e15b commit ee9cf13
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
45 changes: 45 additions & 0 deletions Z4co/schedule.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,51 @@ if(use_subcycling_wip) {
STORAGE: Theta_k4
STORAGE: alphaG_k4
STORAGE: betaG_k4

SCHEDULE Z4co_SyncKsOld IN ODESolvers_SyncKsOld
{
LANG: C
SYNC: chi_old
SYNC: gamma_tilde_old
SYNC: K_hat_old
SYNC: A_tilde_old
SYNC: Gam_tilde_old
SYNC: Theta_old
SYNC: alphaG_old
SYNC: betaG_old
SYNC: chi_k1
SYNC: gamma_tilde_k1
SYNC: K_hat_k1
SYNC: A_tilde_k1
SYNC: Gam_tilde_k1
SYNC: Theta_k1
SYNC: alphaG_k1
SYNC: betaG_k1
SYNC: chi_k2
SYNC: gamma_tilde_k2
SYNC: K_hat_k2
SYNC: A_tilde_k2
SYNC: Gam_tilde_k2
SYNC: Theta_k2
SYNC: alphaG_k2
SYNC: betaG_k2
SYNC: chi_k3
SYNC: gamma_tilde_k3
SYNC: K_hat_k3
SYNC: A_tilde_k3
SYNC: Gam_tilde_k3
SYNC: Theta_k3
SYNC: alphaG_k3
SYNC: betaG_k3
SYNC: chi_k4
SYNC: gamma_tilde_k4
SYNC: K_hat_k4
SYNC: A_tilde_k4
SYNC: Gam_tilde_k4
SYNC: Theta_k4
SYNC: alphaG_k4
SYNC: betaG_k4
} "Sync old and ks"
}


Expand Down
4 changes: 4 additions & 0 deletions Z4co/src/rhs.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ CCTK_DEVICE CCTK_HOST CCTK_ATTRIBUTE_ALWAYS_INLINE inline T Power(T x, int y) {
return (y == 2) ? Arith::pow2(x) : Arith::pown(x, y);
}

extern "C" void Z4co_SyncKsOld(CCTK_ARGUMENTS) {
// do nothing
}

extern "C" void Z4co_RHS(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS_Z4co_RHS;
DECLARE_CCTK_PARAMETERS;
Expand Down

0 comments on commit ee9cf13

Please sign in to comment.