aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-08-30 10:26:58 -0400
committerErik Schnetter <schnetter@gmail.com>2012-08-30 10:26:58 -0400
commit2e031448f4255c0b8599f32c15cb6226db87d824 (patch)
tree0a223c077c9af6b86afecf851600c08104e409e3
parent7635735d53d290f4dcb84ede5f073258f8b453ec (diff)
Carpet: Remove unused variable
-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;
}