summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-03-02 02:23:10 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-03-02 02:23:10 +0000
commitd17b19f9a171efca473d0891297d2f081e649667 (patch)
treed33a63b57781947ea2d36b75d76f04b201d7cf28 /src/main
parent88933c90cafe6edf33ab478275e1f9ac72516378 (diff)
Correct the output all preregrid and postregrid bins in the schedule
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4469 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r--src/main/ScheduleInterface.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c
index 1d5f536e..a652444e 100644
--- a/src/main/ScheduleInterface.c
+++ b/src/main/ScheduleInterface.c
@@ -879,6 +879,8 @@ int CCTK_SchedulePrint(const char *where)
SchedulePrint("CCTK_PARAMCHECK");
putchar ('\n');
puts (" Initialisation");
+ puts (" if (NOT (recover initial data AND recovery_mode is 'strict'))");
+ indent_level +=2;
puts (" [CCTK_PREREGRIDINITIAL]");
SchedulePrint("CCTK_PREREGRIDINITIAL$ENTRY");
SchedulePrint("CCTK_PREREGRIDINITIAL");
@@ -892,8 +894,6 @@ int CCTK_SchedulePrint(const char *where)
SchedulePrint("CCTK_BASEGRID$ENTRY");
SchedulePrint("CCTK_BASEGRID");
SchedulePrint("CCTK_BASEGRID$EXIT");
- puts (" if (NOT (recover initial data AND recovery_mode is 'strict'))");
- indent_level +=2;
puts (" [CCTK_INITIAL]");
SchedulePrint("CCTK_INITIAL$ENTRY");
SchedulePrint("CCTK_INITIAL");
@@ -914,6 +914,10 @@ int CCTK_SchedulePrint(const char *where)
SchedulePrint("CCTK_POSTSTEP$EXIT");
puts (" endif");
puts (" if (recover initial data)");
+ puts (" [CCTK_BASEGRID]");
+ SchedulePrint("CCTK_BASEGRID$ENTRY");
+ SchedulePrint("CCTK_BASEGRID");
+ SchedulePrint("CCTK_BASEGRID$EXIT");
puts (" [CCTK_RECOVER_VARIABLES]");
SchedulePrint("CCTK_RECOVER_VARIABLES");
puts (" [CCTK_POST_RECOVER_VARIABLES]");
@@ -930,7 +934,7 @@ int CCTK_SchedulePrint(const char *where)
SchedulePrint("CCTK_ANALYSIS$EXIT");
indent_level -=2;
puts (" endif");
- puts (" Output of grid variables");
+ puts (" Output grid variables");
putchar ('\n');
puts (" do loop over timesteps");
puts (" [CCTK_PREREGRID]");
@@ -975,7 +979,7 @@ int CCTK_SchedulePrint(const char *where)
SchedulePrint("CCTK_ANALYSIS$EXIT");
indent_level -=2;
puts (" endif");
- puts (" Output of grid variables");
+ puts (" Output grid variables");
puts (" enddo");
putchar ('\n');
puts (" Termination routines");