aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetRegrid2')
-rw-r--r--Carpet/CarpetRegrid2/src/property.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/CarpetRegrid2/src/property.cc b/Carpet/CarpetRegrid2/src/property.cc
index a568e82d9..e7df4ea24 100644
--- a/Carpet/CarpetRegrid2/src/property.cc
+++ b/Carpet/CarpetRegrid2/src/property.cc
@@ -202,9 +202,10 @@ namespace CarpetRegrid2 {
CCTK_REAL const combined_size =
static_cast <CCTK_REAL> (combined.size());
- // Would a single bbox be efficient enough?
+ // Is the current setup simple enough? (It is "simple enough" if
+ // using a single bbox would be too inefficient.)
// TODO: Check this also for pairs of regions
- return min_fraction * combined_size <= regions_size;
+ return min_fraction * combined_size > regions_size;
}
void combine_regions::