aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Timing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet/src/Timing.cc')
-rw-r--r--Carpet/Carpet/src/Timing.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc
index 07454a72c..ccdfd3f71 100644
--- a/Carpet/Carpet/src/Timing.cc
+++ b/Carpet/Carpet/src/Timing.cc
@@ -417,7 +417,7 @@ namespace Carpet {
static int last_iteration = -1;
static size_t num_samples = 0;
- static CCTK_REAL last_physical_time;
+ // static CCTK_REAL last_physical_time;
static CCTK_REAL last_time_evolution;
assert (cctk_iteration > last_iteration); // expect progress
@@ -435,7 +435,7 @@ namespace Carpet {
} else if (num_samples < 3 or
* time_evolution < 0.01 * timing_average_window_minutes * 60.0)
{
- // Less than three previous samples are available, or less thatn
+ // Less than three previous samples are available, or less than
// one percent of a window of past data are available
* current_physical_time_per_hour = * physical_time_per_hour;
} else {
@@ -451,7 +451,7 @@ namespace Carpet {
// Remember last iteration
last_iteration = cctk_iteration;
++ num_samples;
- last_physical_time = physical_time;
+ // last_physical_time = physical_time;
last_time_evolution = * time_evolution;
}