From 9759126fcac1e9615c941944b2f1cb52f1789e85 Mon Sep 17 00:00:00 2001 From: Frank Löffler Date: Wed, 3 Apr 2013 22:04:36 -0500 Subject: Requirements: pass iteration down and print in debug output; also print when something changes (readable string) --- Carpet/Carpet/src/CallFunction.cc | 2 +- Carpet/Carpet/src/Comm.cc | 2 +- Carpet/Carpet/src/Restrict.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Carpet/Carpet') 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 -- cgit v1.2.3