diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-08-30 10:27:41 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-08-30 10:27:41 -0400 |
commit | 555a1a6fcc6b067affbdd7d21a2335aa2bfa0436 (patch) | |
tree | 9d8950542bcc35f990087d16d294349a32e9422c /Carpet/Carpet/src/CallFunction.cc | |
parent | 2e031448f4255c0b8599f32c15cb6226db87d824 (diff) |
Carpet: Check schedule reads/writes statements at run time
Diffstat (limited to 'Carpet/Carpet/src/CallFunction.cc')
-rw-r--r-- | Carpet/Carpet/src/CallFunction.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc index 65be1f244..2cf661040 100644 --- a/Carpet/Carpet/src/CallFunction.cc +++ b/Carpet/Carpet/src/CallFunction.cc @@ -16,6 +16,7 @@ #include <Timers.hh> #include "adler32.hh" +#include "Requirements.hh" @@ -357,6 +358,7 @@ namespace Carpet { CCTK_REAL const saved_cctk_delta_time = cctkGH->cctk_delta_time; user_timer.start(); + Requirements::BeforeRoutine(attribute, reflevel, map, timelevel); timer.start(); if (CCTK_IsFunctionAliased("Accelerator_PreCallFunction")) { Timer pre_timer("PreCall"); @@ -373,6 +375,7 @@ namespace Carpet { post_timer.stop(); } timer.stop(); + Requirements::AfterRoutine(attribute, reflevel, map, timelevel); user_timer.stop(); // Manage the time step size. If the time step size changes @@ -448,7 +451,7 @@ namespace Carpet { } sync_timer.start(); - SyncProlongateGroups (cctkGH, sync_groups); + SyncProlongateGroups (cctkGH, sync_groups, attribute); sync_timer.stop(); } |