diff options
-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" +} + |