aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r--Carpet/CarpetInterp/src/interp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc
index c477c8dd5..71bbcd10b 100644
--- a/Carpet/CarpetInterp/src/interp.cc
+++ b/Carpet/CarpetInterp/src/interp.cc
@@ -870,7 +870,7 @@ namespace CarpetInterp {
// TODO: use something faster than a linear search
for (c = 0; c < hh->components(rl); ++c) {
- if (hh->extents().at(ml).at(rl).at(c).contains(ipos)) {
+ if (hh->extent(ml,rl,c).contains(ipos)) {
goto found;
}
}
@@ -893,7 +893,7 @@ namespace CarpetInterp {
assert (c >= 0 and c < hh->components(rl));
if (map_onto_processors) {
- procs.at(n) = hh->proc(rl, c);
+ procs.at(n) = hh->processor(rl, c);
++ N_points_to[procs.at(n)];
}
rlev.at(n) = rl;