aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-09-05 23:10:54 -0400
committerErik Schnetter <schnetter@cct.lsu.edu>2008-09-05 23:14:37 -0400
commit2e16c29f743509338bcd17e13b3cb29c51d9c10a (patch)
tree0c2b1947e4f755b522b264df27a76a6efeff2e58 /Carpet/CarpetRegrid2
parent0900190922e61cebe3ffc08fff2ad9e11e949cef (diff)
CarpetRegrid2: Output correct centre number in info message
Diffstat (limited to 'Carpet/CarpetRegrid2')
-rw-r--r--Carpet/CarpetRegrid2/src/regrid.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetRegrid2/src/regrid.cc b/Carpet/CarpetRegrid2/src/regrid.cc
index f3e6a2cc2..331a63628 100644
--- a/Carpet/CarpetRegrid2/src/regrid.cc
+++ b/Carpet/CarpetRegrid2/src/regrid.cc
@@ -799,7 +799,7 @@ namespace CarpetRegrid2 {
if (active[n]) {
CCTK_VInfo (CCTK_THORNSTRING,
"Centre %d is at position [%g,%g,%g]",
- n,
+ n + 1,
static_cast <double> (position_x[n]),
static_cast <double> (position_y[n]),
static_cast <double> (position_z[n]));
@@ -958,7 +958,7 @@ namespace CarpetRegrid2 {
if (active[n]) {
CCTK_VInfo (CCTK_THORNSTRING,
"Centre %d is at position [%g,%g,%g]",
- n,
+ n + 1,
static_cast <double> (position_x[n]),
static_cast <double> (position_y[n]),
static_cast <double> (position_z[n]));