diff options
author | goodale <goodale@0cbbb82d-14ec-4423-a1fb-2ab18257ecaa> | 2002-04-29 17:25:52 +0000 |
---|---|---|
committer | goodale <goodale@0cbbb82d-14ec-4423-a1fb-2ab18257ecaa> | 2002-04-29 17:25:52 +0000 |
commit | c1ade11f6e9a027ea6abc682babb2a865c24d2d4 (patch) | |
tree | 0a36f29c53c14939ffece2a4f293b86a85fe73cc | |
parent | b3a75b3d79cb314431df85652c62b0b590a9d08d (diff) |
Setup storage for conformal_state and initialise it to 0 whether or not
metric_type is "static conformal", as requested at todays meeting. Note
that you should still always check metric_type at PARAMCHECK.
Tom
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/StaticConformal/trunk@7 0cbbb82d-14ec-4423-a1fb-2ab18257ecaa
-rw-r--r-- | schedule.ccl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index 5cadd95..750181a 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -1,6 +1,8 @@ # Schedule definitions for thorn StaticConformal # $Header$ + + if(CCTK_Equals(metric_type,"static conformal")) { STORAGE: conformal_state @@ -26,3 +28,16 @@ if(CCTK_Equals(metric_type,"static conformal")) STORAGE: staticconformal::confac, staticconformal::confac_1derivs, staticconformal::confac_2derivs } } +else +{ +# Putting in an else here because people want to use conformal_state +# even if the metric is not "static conformal". They should still +# check the metric_type and know they can deal with it, 'though. + STORAGE: conformal_state + + SCHEDULE StaticConformal_InitialiseState at CCTK_BASEGRID + { + LANG: C + } "Set the conformal_state variable to 0" +} + |