diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:48:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:48:00 +0000 |
commit | f90cb457361ae2ad6aec6da1403610a712194f78 (patch) | |
tree | 880f567bfe9eef0b6c45f49c73ef8ca72105c79f /Carpet/CarpetReduce | |
parent | f89691549b41759c3948a16256ae60944ed53c7d (diff) |
CarpetReduce: Disable an incorrect special case for the reduction mask
Disable the special case that is supposed to handle empty domains for
the reduction mask. The implementation of the test is flawed, not the
idea; the test should be re-implemented correctly.
darcs-hash:20070112224810-dae7b-b3000e90e618f81b9ec188dea2a3223c01889b10.gz
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r-- | Carpet/CarpetReduce/src/mask_coords.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetReduce/src/mask_coords.c b/Carpet/CarpetReduce/src/mask_coords.c index 3252613d7..e148d56bb 100644 --- a/Carpet/CarpetReduce/src/mask_coords.c +++ b/Carpet/CarpetReduce/src/mask_coords.c @@ -97,7 +97,8 @@ CoordBase_SetupMask (CCTK_ARGUMENTS) if (! is_staggered[2*d+f]) { /* Check whether the domain is empty */ - if (imin[d] == imax[d] - 1) { + /* TODO: This check is flawed, and therefore disabled */ + if (0 && imin[d] == imax[d] - 1) { /* The domain is empty. The correct thing to do would be to set the weights to 0. But this is boring, |