aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/dh.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-05-22 21:31:32 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:19 +0000
commitf7f69d561635cfdcc5dfb610184e581086b4e7af (patch)
treea2b9a9f0986a2f9f7209220cac389787e17b7d9f /Carpet/CarpetLib/src/dh.hh
parentd11d9a9f1b7885b9e009ea0f389575d1e40daebf (diff)
CarpetLib: Pre-calculate bbox regions for reduction mask
Pre-calculate and store the regions for CarpetReduce's reduction weight. Add new dh fields prolongation_boundary and restriction_boundary. Remove field fine_active. Disable also the dh fields buffers_stepped.
Diffstat (limited to 'Carpet/CarpetLib/src/dh.hh')
-rw-r--r--Carpet/CarpetLib/src/dh.hh14
1 files changed, 11 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh
index 7b5f595c1..28cccedf9 100644
--- a/Carpet/CarpetLib/src/dh.hh
+++ b/Carpet/CarpetLib/src/dh.hh
@@ -62,13 +62,21 @@ public:
// Information about the processor-local region:
ibset buffers; // buffer zones
- vector<ibset> buffers_stepped; // buffer zones [substep]
ibset active; // owned minus buffers
+#if 0
+ vector<ibset> buffers_stepped; // buffer zones [substep]
+#endif
// Mask
- ibset restricted_region; // filled by restriction
+#if 0
ibset fine_active;
- ibset unused_region; // not used (overwritten later)
+#endif
+ vector<ibset> prolongation_boundary;
+ vector<ibset> restriction_boundary;
+
+ ibset restricted_region; // filled by restriction
+ // Does not influence anything but the restricted_region
+ ibset unused_region;
// Refluxing
vect<vect<ibset,2>,dim> coarse_boundary;