From 24f0a1aeb20fceabd8935cd4b16e4bfa6ff195f0 Mon Sep 17 00:00:00 2001 From: knarf Date: Wed, 18 Nov 2009 16:36:37 +0000 Subject: This is a _temporary_ repository to be able to start to work on the code right now. I have put in the public version of Whisky to start from. Everybody with commit rights should get commit messages (and the other way around). It should not be a problem to add people to that list, just ask. I don't want to get into political problems because someone feels excluded, but I also don't want to give everyone access per se. Frank git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TOVSolver/trunk@3 1bdb13ef-5d69-4035-bb54-08abeb3aa7f1 --- schedule.ccl | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 schedule.ccl (limited to 'schedule.ccl') 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" +} + -- cgit v1.2.3