diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-04-19 02:06:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-04-19 02:06:00 +0000 |
commit | de2635059cd0bf27866f3ab8610775f8c4597528 (patch) | |
tree | 932535eacf184eb1ea07c6ae4a6bc1373dc244ff /Carpet/Carpet/src/Timing.cc | |
parent | b3a634937c88805ee266ae4b1c817386981badc7 (diff) |
Carpet: Update Timing.cc
darcs-hash:20070419020644-dae7b-fbe72eb85f2172e52e6dd87f12d27de7319c2205.gz
Diffstat (limited to 'Carpet/Carpet/src/Timing.cc')
-rw-r--r-- | Carpet/Carpet/src/Timing.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc index c66ec1fb2..4a0d1bd23 100644 --- a/Carpet/Carpet/src/Timing.cc +++ b/Carpet/Carpet/src/Timing.cc @@ -77,18 +77,9 @@ namespace Carpet { // Base region ibbox const ext = vhh.at(m)->extent(ml,rl,c); - // Refinement boundaries - b2vect const rbs = vhh.at(m)->refinement_boundaries (rl, c); - // Number of buffer zones - i2vect const buffers = vdd.at(m)->buffers; - // Computational domain: Add the number of buffer zones to the - // base extent. This takes buffer zones into account and - // ignores ghost zones. - ibbox const domain = - ext.expand (ivect (rbs[0]) * buffers[0], ivect (rbs[1]) * buffers[1]); // Count the grid points - int const domainsize = domain.size(); + int const domainsize = ext.size(); if (vhh.at(m)->is_local (rl, c)) { local_num_grid_points += domainsize; |