From c1ade11f6e9a027ea6abc682babb2a865c24d2d4 Mon Sep 17 00:00:00 2001 From: goodale Date: Mon, 29 Apr 2002 17:25:52 +0000 Subject: 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 --- schedule.ccl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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" +} + -- cgit v1.2.3