aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Evolve.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-01-27 14:32:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-01-27 14:32:00 +0000
commit04b167c3b1c93b5f23d4a3acbfba2f20c16df706 (patch)
tree43d72edf93c53f634b1c02c9189b251bc9bd3d01 /Carpet/Carpet/src/Evolve.cc
parentb261c5ff0e0730c9d5d04882865150f362986f35 (diff)
Carpet: Do not run POSTRESTRICT on the finest existing level
darcs-hash:20050127143200-891bb-1d723132f342a12891cff6ab1ccf8858d69717b4.gz
Diffstat (limited to 'Carpet/Carpet/src/Evolve.cc')
-rw-r--r--Carpet/Carpet/src/Evolve.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc
index 0ed52a585..8f78aa899 100644
--- a/Carpet/Carpet/src/Evolve.cc
+++ b/Carpet/Carpet/src/Evolve.cc
@@ -335,8 +335,10 @@ namespace Carpet {
(do_global_mode ? " (global)" : ""),
(do_meta_mode ? " (meta)" : ""));
- Checkpoint ("Scheduling POSTRESTRICT");
- CCTK_ScheduleTraverse ("CCTK_POSTRESTRICT", cgh, CallFunction);
+ if (rl < reflevels-1) {
+ Checkpoint ("Scheduling POSTRESTRICT");
+ CCTK_ScheduleTraverse ("CCTK_POSTRESTRICT", cgh, CallFunction);
+ }
// Poststep
Checkpoint ("Scheduling POSTSTEP");