aboutsummaryrefslogtreecommitdiff
path: root/CarpetAttic/CarpetIOFlexIO
diff options
context:
space:
mode:
authorschnetter <>2002-08-02 13:11:00 +0000
committerschnetter <>2002-08-02 13:11:00 +0000
commitb6caf895e14a2a16acbc64563c30c75aa8e5741e (patch)
tree237bf3c9e6f14f7e7f22df8c98593aa28faf08b5 /CarpetAttic/CarpetIOFlexIO
parentce0ced4bba910424d519ff78167cbe461a624719 (diff)
Changed "abort()" statements to "assert(0)" statements, because the
Changed "abort()" statements to "assert(0)" statements, because the latter do output a message to the screen. darcs-hash:20020802131112-07bb3-a89ca2582fce00c0d5b4cc82bf61473b7c8bdcb5.gz
Diffstat (limited to 'CarpetAttic/CarpetIOFlexIO')
-rw-r--r--CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc
index bab0d81ad..d2d2bacf1 100644
--- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc
+++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc
@@ -33,7 +33,7 @@
#include "ioflexio.hh"
-static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.17 2002/04/29 11:27:57 schnetter Exp $";
+static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.18 2002/08/02 15:11:14 schnetter Exp $";
CCTK_FILEVERSION(CarpetIOFlexIO_ioflexio_cc)
@@ -157,7 +157,7 @@ namespace CarpetIOFlexIO {
extension = ".h5";
#endif
} else {
- abort();
+ assert (0);
}
extension = GetStringParameter ("out3D_extension", extension);
@@ -187,7 +187,7 @@ namespace CarpetIOFlexIO {
writer = new H5IO(filename, IObase::Create);
#endif
} else {
- abort();
+ assert (0);
}
delete writer;
writer = 0;
@@ -204,7 +204,7 @@ namespace CarpetIOFlexIO {
writer = new H5IO(filename, IObase::Append);
#endif
} else {
- abort();
+ assert (0);
}
assert (writer->isValid());
amrwriter = new AMRwriter(*writer);
@@ -438,7 +438,7 @@ namespace CarpetIOFlexIO {
extension = ".h5";
#endif
} else {
- abort();
+ assert (0);
}
extension = GetStringParameter ("in3D_extension", extension);
@@ -471,7 +471,7 @@ namespace CarpetIOFlexIO {
reader = new H5IO(filename, IObase::Read);
#endif
} else {
- abort();
+ assert (0);
}
if (!reader->isValid()) {
CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING,
@@ -616,7 +616,7 @@ namespace CarpetIOFlexIO {
} // ARRAY or GROUP
default:
- abort();
+ assert (0);
}
return 0;