aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorknarf <knarf@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2010-03-01 17:52:34 +0000
committerknarf <knarf@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2010-03-01 17:52:34 +0000
commit1d77b64f4ef1bd2ad5a28ee48768e6ea12e23e8b (patch)
tree211e5f9f7fa560180f4f4ae36d287ad357e7bb03 /schedule.ccl
parentedf00e8ba557b37681669cf80d64e1de9f645f00 (diff)
Make my old interface from the TOVSolver to TwoPunctures public
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TOVSolver/trunk@79 1bdb13ef-5d69-4035-bb54-08abeb3aa7f1
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl9
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)
{