aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2/src
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/CarpetRegrid2/src
parentfb25367e8f3e97be8537811cd057bb5e81fc3176 (diff)
Remove all #warning statements
Diffstat (limited to 'Carpet/CarpetRegrid2/src')
-rw-r--r--Carpet/CarpetRegrid2/src/boundary.cc2
-rw-r--r--Carpet/CarpetRegrid2/src/regrid.cc9
2 files changed, 6 insertions, 5 deletions
diff --git a/Carpet/CarpetRegrid2/src/boundary.cc b/Carpet/CarpetRegrid2/src/boundary.cc
index e36af78a2..47a1fa820 100644
--- a/Carpet/CarpetRegrid2/src/boundary.cc
+++ b/Carpet/CarpetRegrid2/src/boundary.cc
@@ -204,7 +204,7 @@ namespace CarpetRegrid2 {
boundary_staggering_mismatch =
xpose ((hh.refcent == vertex_centered) != (is_staggered == 0));
-#warning "TODO: This is too strict"
+ // TODO: This is too strict
assert (all (all (not boundary_staggering_mismatch)));
get_physical_boundary (physical_lower, physical_upper, spacing);
diff --git a/Carpet/CarpetRegrid2/src/regrid.cc b/Carpet/CarpetRegrid2/src/regrid.cc
index 1a2d177c6..a92e9934b 100644
--- a/Carpet/CarpetRegrid2/src/regrid.cc
+++ b/Carpet/CarpetRegrid2/src/regrid.cc
@@ -149,8 +149,9 @@ namespace CarpetRegrid2 {
//
// This requires that CoordBase is used
-#warning "TODO: check this (for Carpet, and maybe also for CartGrid3D)"
-#warning "TODO: (the check that these two are consistent should be in Carpet)"
+ // TODO: check this (for Carpet, and maybe also for CartGrid3D)
+ // TODO: (the check that these two are consistent should be in
+ // Carpet)
jjvect nboundaryzones, is_internal;
jjvect is_staggered, shiftout;
@@ -177,8 +178,8 @@ namespace CarpetRegrid2 {
while (min_rl < int(regss.size())) {
// Increase min_rl until we find a level that can be changed
#if 0
-#warning "think about this a bit more"
-#warning "use this taper-checking also in Comm.cc"
+ // TODO: think about this a bit more
+ // TODO: use this taper-checking also in Comm.cc
bool in_sync = true;
if (freeze_unaligned_parent_levels) {
int const parent_do_every =