diff options
author | Roland Haas <roland.haas@physics.gatech.edu> | 2012-06-02 09:34:57 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:26 +0100 |
commit | eb8d874e84846c2b15887a27cec1931c0f79f158 (patch) | |
tree | ca26872b0e156b3379df54fb59a734844e4617ef /Carpet/CarpetEvolutionMask/src | |
parent | 0a15bd0c03e686b1487275bb741f94e80722928e (diff) |
CarpetEvolutionMask: add parameter enlarge_evolved_region to fine tune
excluded region
positive values enlarge the *evolved* region, negative values (up to
buffer_with + ghost_width) shrink it. That is positive values shrink the
hole in the center of patches.
Diffstat (limited to 'Carpet/CarpetEvolutionMask/src')
-rw-r--r-- | Carpet/CarpetEvolutionMask/src/evolution_mask.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc index f8a20982a..2966d2e54 100644 --- a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc +++ b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc @@ -90,7 +90,8 @@ namespace CarpetEvolutionMask { i2vect antishrinkby; for (int f=0; f<2;f++) { for (int d=0; d<dim;d++) { - antishrinkby[f][d] = ghost_widths[f][d] + buffer_widths[f][d]; + antishrinkby[f][d] = ghost_widths[f][d] + buffer_widths[f][d] + + enlarge_evolved_region_by; } } ibset antishrunk |