aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorknarf <knarf@b6729ddc-ac74-4bd1-908c-9dc7244c52a1>2010-01-12 05:11:15 +0000
committerknarf <knarf@b6729ddc-ac74-4bd1-908c-9dc7244c52a1>2010-01-12 05:11:15 +0000
commit05daf480983476ac9d8fd45aed64a54f5b6d1aca (patch)
tree795431ce9e157ef53d4731def283cbc0d6f27e40 /schedule.ccl
parent7961ed107c0f89543ac3a0bd3de7852c95a48ef4 (diff)
Implement primitive maximum density search ala Whisky. This should be fine most
of the time, but might break without notice if unlucky. Ideas of a safer neutron star tracking exist, but are not implemented here. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/Hydro_Analysis/trunk@26 b6729ddc-ac74-4bd1-908c-9dc7244c52a1
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl22
1 files changed, 22 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 7046d33..764a822 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,2 +1,24 @@
# Schedule definitions for thorn HydroAnalysis
+STORAGE: Hydro_Analysis_rho_max
+STORAGE: Hydro_Analysis_rho_max_loc
+
+schedule group Hydro_Analysis AT POSTSTEP
+{
+} "Group for Hydro_Analysis routines"
+
+schedule Hydro_Analysis_GlobalReduction IN Hydro_Analysis
+{
+ LANG: C
+ OPTIONS: global
+} "Compute the global reduction results"
+
+if (Hydro_Analysis_rho_max_search)
+{
+ schedule Hydro_Analysis_LocationSearch IN Hydro_Analysis AFTER Hydro_Analysis_GlobalReduction
+ {
+ LANG: C
+ OPTIONS: global loop-local
+ } "Look for the location of the maximum density"
+}
+