aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII/src
diff options
context:
space:
mode:
authorschnetter <>2002-10-15 13:30:00 +0000
committerschnetter <>2002-10-15 13:30:00 +0000
commit15545e0f6b9d7206ed330f65a1efac34b6e206e9 (patch)
tree861c34150e069a04ea881618c1c833cad686dff0 /Carpet/CarpetIOASCII/src
parenta1577ce98c160bf36fb3a7f4fff711cb0dce5308 (diff)
Fixed calculation of coordinates after the recent changes in
Fixed calculation of coordinates after the recent changes in CarpetLib, as pointed out by Ian. darcs-hash:20021015133042-07bb3-ae264c48fcc9ca20e65e0b2ec0aa2e6598dcf71a.gz
Diffstat (limited to 'Carpet/CarpetIOASCII/src')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index 9a28b57da..754634314 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -43,7 +43,7 @@ using namespace Carpet;
namespace CarpetIOASCII {
- const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.39 2002/09/26 10:03:48 schnetter Exp $";
+ const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.40 2002/10/15 15:30:42 schnetter Exp $";
CCTK_FILEVERSION(CarpetIOASCII_ioascii_cc);
@@ -402,7 +402,7 @@ namespace CarpetIOASCII {
global_upper[d] = 1;
}
}
- const vect<int,dim> global_extent (hh->baseextent.upper() - hh->baseextent.lower() + hh->baseextent.stride() * (dd->lghosts + dd->ughosts));
+ const vect<int,dim> global_extent (hh->baseextent.upper() - hh->baseextent.lower());
vect<CCTK_REAL,dim> coord_delta;
for (int d=0; d<dim; ++d) {
assert (global_extent[d] != 0);