diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl new file mode 100644 index 0000000..a59ffe9 --- /dev/null +++ b/schedule.ccl @@ -0,0 +1,65 @@ +# Schedule definitions for thorn TOVSolver + +schedule TOV_C_ParamCheck AT PARAMCHECK +{ + LANG: C + OPTIONS: GLOBAL +} "Check parameters" + +schedule TOV_C_AllocateMemory AT WRAGH +{ + LANG: C + OPTIONS: GLOBAL +} "Allocate memory for TOVSolver_C" + +if (!TOV_fake_evolution) +{ + schedule TOV_C_FreeMemory AT POSTPOSTINITIAL + { + LANG: C + OPTIONS: GLOBAL + } "Free memory from TOVSolver_C" +} + +schedule GROUP TOV_Initial_Data IN HydroBase_Initial +{ +# STORAGE: TOV_Scalars +# STORAGE: TOV_Arrays + SYNC:ADMBase::metric,ADMBase::curv,ADMBase::lapse,ADMBase::shift + SYNC: rho + SYNC: press + SYNC: eps + SYNC: vel + SYNC: dens + SYNC: tau + SYNC: scon + SYNC: w_lorentz +} "Group for the TOV initial data" + +schedule TOV_C_Integrate_RHS IN TOV_Initial_Data +{ + LANG: C + OPTIONS: GLOBAL +} "Integrate the 1d equations for the TOV star" + +if (CCTK_Equals(initial_data, "tov") || (TOV_Use_Old_Initial_Data > 0) || + TOV_Enforce_Interpolation) +{ + schedule TOV_C_Exact IN TOV_Initial_Data AFTER TOV_C_Integrate_RHS + { + LANG: C + } "Set up the 3d quantities for the TOV star" +} + +if (TOV_fake_evolution) +{ + schedule TOV_Prepare_Fake_Evolution AFTER TOV_C_Exact + { + LANG: C + } "prepare for fake evolution" + schedule TOV_C_Exact IN MoL_PostStep AFTER Whisky_PostStep + { + LANG: C + } "use fake evolution" +} + |