diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-08-25 10:21:00 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:21:18 +0000 |
commit | c32dbb311cd8e19338235e7eecb0c64844852d3e (patch) | |
tree | 5f3b5a354bb661b998bf358f67ec0f3087fc8e5a /CarpetDev | |
parent | b21cc59f5254452cf8e7181792c256a835220981 (diff) |
CarpetIOF5: Set ghost size correctly
Diffstat (limited to 'CarpetDev')
-rw-r--r-- | CarpetDev/CarpetIOF5/src/output.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/src/output.cc b/CarpetDev/CarpetIOF5/src/output.cc index 0966e5dfb..423d55222 100644 --- a/CarpetDev/CarpetIOF5/src/output.cc +++ b/CarpetDev/CarpetIOF5/src/output.cc @@ -286,6 +286,8 @@ namespace CarpetIOF5 { if (not output_ghost_points) { imin[d] += lghosts[d] / 2; imax[d] -= ughosts[d] / 2; + lghosts[d] = 0; + ughosts[d] = 0; } ioff[d] = lbnd[d] + imin[d]; ilen[d] = imax[d] - imin[d]; |