diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-09-12 19:33:55 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-09-12 19:33:55 -0400 |
commit | 4707cdc56d69bb4634a29479c77ce2a03bf154bf (patch) | |
tree | f2fa8edf43684d83422f9a18033deaf67beecd26 /Carpet/CarpetIOASCII | |
parent | 43303957c62d33bcc513dc7e2a33ccdb3d81dcce (diff) |
CarpetIOASCII: Small cleanup
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc index 2c14f3297..92e66f75a 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.cc +++ b/Carpet/CarpetIOASCII/src/ioascii.cc @@ -825,6 +825,8 @@ namespace CarpetIOASCII { b2vect const & obnds = vhh.at(m)->outer_boundaries(reflevel,c); + i2vect const & ghost_width = + arrdata.at(group).at(m).dd->ghost_width; for (int d=0; d<groupdata.dim; ++d) { bool const output_lower_ghosts = obnds[0][d] @@ -839,8 +841,6 @@ namespace CarpetIOASCII { : out3D_outer_ghosts) : out3D_ghosts; - i2vect const & ghost_width = - arrdata.at(group).at(m).dd->ghost_width; if (not output_lower_ghosts) { lo[d] += ghost_width[0][d] * str[d]; } |