aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/CarpetEvolutionMask/src/evolution_mask.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
index 2966d2e54..03a0feb3c 100644
--- a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
+++ b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
@@ -92,6 +92,9 @@ namespace CarpetEvolutionMask {
for (int d=0; d<dim;d++) {
antishrinkby[f][d] = ghost_widths[f][d] + buffer_widths[f][d] +
enlarge_evolved_region_by;
+ if (hh.refcent == vertex_centered) {
+ antishrinkby[f][d] += 1; // remove the weight = 1/2 points so that reduction operation are unaffected
+ }
}
}
ibset antishrunk