aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet
diff options
context:
space:
mode:
authorFrank Löffler <knarf@cct.lsu.edu>2013-04-03 22:04:36 -0500
committerFrank Löffler <knarf@cct.lsu.edu>2013-04-03 22:04:36 -0500
commit9759126fcac1e9615c941944b2f1cb52f1789e85 (patch)
tree7d8baa4a44d0e9010b63adb587eeb66a780cee4c /Carpet/Carpet
parentd41c0c9cc79dbddf6442e344615e2c36b127d99b (diff)
Requirements: pass iteration down and print in debug output; also print when something changes (readable string)
Diffstat (limited to 'Carpet/Carpet')
-rw-r--r--Carpet/Carpet/src/CallFunction.cc2
-rw-r--r--Carpet/Carpet/src/Comm.cc2
-rw-r--r--Carpet/Carpet/src/Restrict.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc
index 345436fc2..7813e5309 100644
--- a/Carpet/Carpet/src/CallFunction.cc
+++ b/Carpet/Carpet/src/CallFunction.cc
@@ -381,7 +381,7 @@ namespace Carpet {
timer.stop();
#ifdef REQUIREMENTS_HH
Requirements::AfterRoutine
- (attribute, reflevel, map, timelevel, timelevel_offset);
+ (attribute, cctkGH->cctk_iteration, reflevel, map, timelevel, timelevel_offset);
#endif
user_timer.stop();
diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc
index 922577fd2..fe9a2875a 100644
--- a/Carpet/Carpet/src/Comm.cc
+++ b/Carpet/Carpet/src/Comm.cc
@@ -137,7 +137,7 @@ namespace Carpet {
if (goodgroups.size() > 0) {
#ifdef REQUIREMENTS_HH
- Requirements::Sync(function_data, goodgroups, reflevel, timelevel);
+ Requirements::Sync(function_data, cctkGH->cctk_iteration, goodgroups, reflevel, timelevel);
#endif
// prolongate boundaries
diff --git a/Carpet/Carpet/src/Restrict.cc b/Carpet/Carpet/src/Restrict.cc
index 35e9fffcb..f07715a86 100644
--- a/Carpet/Carpet/src/Restrict.cc
+++ b/Carpet/Carpet/src/Restrict.cc
@@ -57,7 +57,7 @@ namespace Carpet {
}
#ifdef REQUIREMENTS_HH
- Requirements::Restrict(groups, reflevel);
+ Requirements::Restrict(groups, cctkGH->cctk_iteration, reflevel);
#endif
// Restrict