aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-10-01 20:57:11 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:25:28 +0000
commit6bba60b788be8c8a1a6c2e5f92f999130f838aac (patch)
tree2cfb505c62172fffb6aec59bf31992b69269c341 /Carpet/CarpetLib
parentafead6e51de999b585f91a390ce88669d19b7e1f (diff)
CarpetReduce: Remove unused variable "mask"
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/bboxset.cc3
-rw-r--r--Carpet/CarpetLib/src/bboxset.hh5
2 files changed, 7 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/bboxset.cc b/Carpet/CarpetLib/src/bboxset.cc
index a830c0b73..71bf62014 100644
--- a/Carpet/CarpetLib/src/bboxset.cc
+++ b/Carpet/CarpetLib/src/bboxset.cc
@@ -506,6 +506,8 @@ bboxset<T,D> bboxset<T,D>::expanded_for (const box& b) const {
return res;
}
+#warning "TODO: this is incorrect"
+#if 1
template<typename T, int D>
bboxset<T,D> bboxset<T,D>::contracted_for (const box& b) const {
bboxset res;
@@ -514,6 +516,7 @@ bboxset<T,D> bboxset<T,D>::contracted_for (const box& b) const {
}
return res;
}
+#endif
diff --git a/Carpet/CarpetLib/src/bboxset.hh b/Carpet/CarpetLib/src/bboxset.hh
index 23b2dc18c..5363d1673 100644
--- a/Carpet/CarpetLib/src/bboxset.hh
+++ b/Carpet/CarpetLib/src/bboxset.hh
@@ -38,7 +38,7 @@ ostream& operator<< (ostream& os, const bboxset<T,D>& s);
-// Bounding box class
+// Bounding box set class
template<typename T, int D>
class bboxset {
@@ -166,8 +166,11 @@ public:
("compatible" means having the same stride.) */
bboxset expanded_for (const box& b) const;
+#warning "TODO: this is incorrect"
+#if 1
/** Find the largest b-compatible box inside this bbox. */
bboxset contracted_for (const box& b) const;
+#endif
// Equality
bool operator== (const bboxset& s) const;