diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:42:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:42:00 +0000 |
commit | 7bfbf0c9219f8f86f310fa11495e5f23b49db88a (patch) | |
tree | c6270b556fecc1b81434b8789d378b17ce33ff37 /Carpet/CarpetInterp | |
parent | 497130b3093b7d58c59b4d5a761ea795d1d6310d (diff) |
CarpetInterp: Adapt to region_t changes
darcs-hash:20070112224235-dae7b-a410208268be26efb93c39abb7e970e733501a1e.gz
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r-- | Carpet/CarpetInterp/src/interp.cc | 4 |
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; |