diff options
Diffstat (limited to 'schedule.ccl')
-rwxr-xr-x | schedule.ccl | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/schedule.ccl b/schedule.ccl index 312aef2..539efe5 100755 --- a/schedule.ccl +++ b/schedule.ccl @@ -11,7 +11,7 @@ if (timelevels == 3) STORAGE:press[3] STORAGE:eps[3] STORAGE:vel[3] - if (use_Y_e) + if (!CCTK_EQUALS(initial_Y_e, "none")) { STORAGE:Y_e[3] } @@ -22,7 +22,7 @@ else if (timelevels == 2) STORAGE:press[2] STORAGE:eps[2] STORAGE:vel[2] - if (use_Y_e) + if (!CCTK_EQUALS(initial_Y_e, "none")) { STORAGE:Y_e[2] } @@ -33,7 +33,7 @@ else if (timelevels == 1) STORAGE:press[1] STORAGE:eps[1] STORAGE:vel[1] - if (use_Y_e) + if (!CCTK_EQUALS(initial_Y_e, "none")) { STORAGE:Y_e[1] } @@ -43,9 +43,13 @@ schedule group HydroBase_Initial AT Initial after ADMBase_InitialData after ADMB { } "HydroBase initial data group" -############################### -### Register startup banner ### -############################### +if(CCTK_Equals(initial_Y_e, "one")) +{ + SCHEDULE HydroBase_Y_e_one in HydroBase_Initial + { + LANG: C + } "Set electron fraction to 1 at all points" +} schedule HydroBase_StartUp AT WRAGH { |