aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 22:35:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 22:35:00 +0000
commit034eda911fc7777421fb1da36ae9d55828e98a72 (patch)
tree39a05ab20adb5c62c1669b062c733c3f3612eca5 /Carpet/CarpetIOASCII
parent2085a7691cf8995fc43847a9cc4dcfb89e2d80cf (diff)
CarpetIOASCII: Remove code that was commented out
darcs-hash:20070112223509-dae7b-cf6b00e8b3baa85a0c56e3ceb44895434e7dac22.gz
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index 6bbc6865b..3caa14475 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -1084,24 +1084,6 @@ namespace CarpetIOASCII {
const CCTK_REAL rindex = (coord - lower) / delta;
int cindex = (int)floor(rindex + 0.75);
-#if 0
- if (cindex<0 or cindex>=npoints) {
- cindex = ifallback;
-
- assert (dir>=1 and dir<=3);
- CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "The specified coordinate value %g for the %c-direction is not within the grid range [%g,%g] on convergence level %d, refinement level %d, map %d; using %g instead",
- coord, "xyz"[dir-1], lower, upper,
- mglevel, reflevel, Carpet::map, lower + delta * cindex);
- }
-
- assert (cindex>=0 and cindex<npoints);
-#else
- const void *dummy;
- dummy = &ifallback;
- dummy = &dummy;
-#endif
-
return cindex;
}