diff options
author | diener <diener@2a26948c-0e4f-0410-aee8-f1d3e353619c> | 2003-01-15 10:57:34 +0000 |
---|---|---|
committer | diener <diener@2a26948c-0e4f-0410-aee8-f1d3e353619c> | 2003-01-15 10:57:34 +0000 |
commit | 3a133689503331ff61e43515b750a6367702ac96 (patch) | |
tree | be5cf5c066934dbdb2b148286f129434a350f21e | |
parent | 0f30165ef32039574579807824abbd2b1a1694fe (diff) |
Added an analysis mode, where storage is turned on for f, but no
evolution is done.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/EHFinder/trunk@72 2a26948c-0e4f-0410-aee8-f1d3e353619c
-rw-r--r-- | param.ccl | 7 | ||||
-rw-r--r-- | schedule.ccl | 28 |
2 files changed, 26 insertions, 9 deletions
@@ -105,6 +105,7 @@ KEYWORD mode "Mode of operation" { "normal" :: "Find event horizons" "test_reparam" :: "Test reparametrization routines with MoL" + "analysis" :: "Provide storage for f without evolving" } "normal" KEYWORD upwind_type "Type of upwinding used in evolving the ehfinder equations" @@ -157,6 +158,12 @@ INT last_iteration_number "The starting iteration number for the EH_Finder (last (0: :: "Positive please" } 0 +INT saved_iteration_every "How often was the numerical data saved" +{ +1: :: "Positive please" +} 1 + +shares: grid shares: grid USES KEYWORD domain diff --git a/schedule.ccl b/schedule.ccl index f3b73e3..7cc65ad 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -1,17 +1,27 @@ # Schedule definitions for thorn EHFinder # $Header$ -STORAGE: level_set[2] -STORAGE: slevel_set -STORAGE: dlevel_set -STORAGE: eh_mask_all -STORAGE: rep_mask -STORAGE: ftmp_set -STORAGE: level_bak -STORAGE: mask_bak +if (CCTK_Equals(mode,"analysis")) +{ + STORAGE: level_set[1] +} +else +{ + STORAGE: level_set[2] + STORAGE: slevel_set + STORAGE: dlevel_set + STORAGE: eh_mask_all + STORAGE: rep_mask + STORAGE: ftmp_set + STORAGE: level_bak + STORAGE: mask_bak +} # Check for metric_state +if (!CCTK_EQUALS(mode,"analysis")) +{ + schedule EHFinder_ParamCheck at CCTK_PARAMCHECK { LANG: Fortran @@ -327,7 +337,7 @@ if (CCTK_Equals(mode,"normal")) } - +} #schedule EHFinder_ApplySym at CCTK_POSTINITIAL after EHFinder_MaskInit #{ |