aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII/src/ioascii.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetIOASCII/src/ioascii.cc')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index fcd217d9a..cb29249df 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -605,7 +605,7 @@ namespace CarpetIOASCII {
if (dist::rank() == proc) {
const ggf* const ff =
arrdata.at(group).at(m).data.at(n + n_min);
- datas.at(n) = (*ff) (tl, rl, lc, ml);
+ datas.at(n) = ff->data_pointer (tl, rl, lc, ml);
} else {
datas.at(n) = NULL;
}
@@ -1375,7 +1375,7 @@ namespace CarpetIOASCII {
const vect<int,outdim> str = gfext.stride()[dirs];
const bbox<int,outdim> ext(lo,up,str);
- // Check whether the output origin is contained in the extent of
+ // check whether the output origin is contained in the extent of
// the data that should be output
ivect org1(org);
for (int d=0; d<outdim; ++d) org1[dirs[d]] = ext.lower()[d];
@@ -1428,10 +1428,10 @@ namespace CarpetIOASCII {
const gdata* gfdata = gfdatas.at(n);
os << (n==0 ? "\t" : " ");
switch (specific_cactus_type(vartype)) {
-#define TYPECASE(N,T) \
- case N: \
- os << (*(const data<T>*)gfdata)[index]; \
- break;
+#define TYPECASE(N,T) \
+ case N: \
+ os << (*(const data<T>*)gfdata)[index]; \
+ break;
#include "typecase.hh"
#undef TYPECASE
default: