aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-05-11 13:43:32 -0400
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:20 +0100
commit23e4f959d74f4e039773a474ade16e43f3959dff (patch)
tree9a063ad2c4b9e955359f7d0a6b141f2ec3219746 /Carpet/CarpetLib
parentfb25367e8f3e97be8537811cd057bb5e81fc3176 (diff)
Remove all #warning statements
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/bboxset.cc2
-rw-r--r--Carpet/CarpetLib/src/bboxset.hh2
-rw-r--r--Carpet/CarpetLib/src/gdata.cc3
-rw-r--r--Carpet/CarpetLib/src/gh.cc4
-rw-r--r--Carpet/CarpetLib/src/th.cc3
5 files changed, 8 insertions, 6 deletions
diff --git a/Carpet/CarpetLib/src/bboxset.cc b/Carpet/CarpetLib/src/bboxset.cc
index 9e5b2cd5b..abeb5c0ee 100644
--- a/Carpet/CarpetLib/src/bboxset.cc
+++ b/Carpet/CarpetLib/src/bboxset.cc
@@ -661,7 +661,7 @@ bboxset<T,D> bboxset<T,D>::expanded_for (const box& b) const
return res;
}
-#warning "TODO: this is incorrect"
+// TODO: this is incorrect
#if 1
template<typename T, int D>
bboxset<T,D> bboxset<T,D>::contracted_for (const box& b) const
diff --git a/Carpet/CarpetLib/src/bboxset.hh b/Carpet/CarpetLib/src/bboxset.hh
index 17b143f95..6b92bb1c4 100644
--- a/Carpet/CarpetLib/src/bboxset.hh
+++ b/Carpet/CarpetLib/src/bboxset.hh
@@ -203,7 +203,7 @@ public:
("compatible" means having the same stride.) */
bboxset expanded_for (const box& b) const CCTK_MEMBER_ATTRIBUTE_PURE;
-#warning "TODO: this is incorrect"
+ // TODO: this is incorrect
#if 1
/** Find the largest b-compatible box inside this bbox. */
bboxset contracted_for (const box& b) const CCTK_MEMBER_ATTRIBUTE_PURE;
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index 05a5f0534..156e9cbbd 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -159,7 +159,8 @@ allocated_memory_shape (vect<int,D> shape)
#if VECTORISE_ALIGNED_ARRAYS
// Enlarge shape in the x direction to ensure it is a multiple of
// the vector size
-#warning "TODO: Support other datatypes as well, don't target only CCTK_REAL"
+ // TODO: Support other datatypes as well, don't target only
+ // CCTK_REAL
if (sizeof(CCTK_REAL) * CCTK_REAL_VEC_SIZE == magic_size) {
CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,
"The build-time option VECTORISE_ALIGNED_ARRAYS requires that the size of a grid variable in the x direction is a multiple of %d bytes, while the run-time parameter avoid_arraysize_bytes=%d requests the opposite. This is inconsistent -- aborting",
diff --git a/Carpet/CarpetLib/src/gh.cc b/Carpet/CarpetLib/src/gh.cc
index 295ebc43c..7e0dba448 100644
--- a/Carpet/CarpetLib/src/gh.cc
+++ b/Carpet/CarpetLib/src/gh.cc
@@ -464,8 +464,8 @@ locate_position (rvect const & rpos,
// TODO: Ignore this level if this point is not in the active
// region (i.e. if it is a buffer point or similar)
-#warning "TODO: check the level_bbox"
-#warning "TODO: (assume this gh has only one dh)"
+ // TODO: check the level_bbox
+ // TODO: (assume this gh has only one dh)
// Search all superregions linearly. Each superregion corresponds
// to a "refined region", and the number of superregions is thus
diff --git a/Carpet/CarpetLib/src/th.cc b/Carpet/CarpetLib/src/th.cc
index d34ad6c65..e355221b9 100644
--- a/Carpet/CarpetLib/src/th.cc
+++ b/Carpet/CarpetLib/src/th.cc
@@ -75,7 +75,8 @@ void th::regrid ()
}
} else {
if (time_interpolation_during_regridding) {
-#warning "We probably don't want to do this, but it is nice for compatibility"
+ // We probably don't want to do this, but it is nice for
+ // compatibility
times.AT(ml).AT(rl).resize(timelevels);
for (int tl=0; tl<timelevels; ++tl) {
// linear interpolation between the two surrounding coarse