diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index f4c2446..3de374f 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -42,6 +42,15 @@ schedule TOV_C_Integrate_RHS IN TOV_Initial_Data OPTIONS: GLOBAL } "Integrate the 1d equations for the TOV star" +if (!CCTK_Equals(TOV_save_to_datafile,"")) +{ + schedule TOV_write_1D_datafile IN TOV_Initial_Data AFTER TOV_C_Integrate_RHS BEFORE TOV_C_Exact + { + LANG: C + OPTIONS: GLOBAL + } "Save data to file and exit" +} + if (CCTK_Equals(initial_data, "tov") || CCTK_Equals(initial_hydro, "tov") || (TOV_Use_Old_Initial_Data > 0) || TOV_Enforce_Interpolation) { |