aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/src/utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'CarpetDev/CarpetIOF5/src/utils.hh')
-rw-r--r--CarpetDev/CarpetIOF5/src/utils.hh28
1 files changed, 10 insertions, 18 deletions
diff --git a/CarpetDev/CarpetIOF5/src/utils.hh b/CarpetDev/CarpetIOF5/src/utils.hh
index ae7cb65a1..8d9d0a925 100644
--- a/CarpetDev/CarpetIOF5/src/utils.hh
+++ b/CarpetDev/CarpetIOF5/src/utils.hh
@@ -1,24 +1,6 @@
#ifndef UTILS_HH
#define UTILS_HH
-// force HDF5 1.8.x installations to use the new API
-#ifdef H5Gopen_vers
-#undef H5Gopen_vers
-#endif
-#ifdef H5Gcreate_vers
-#undef H5Gcreate_vers
-#endif
-#ifdef H5Acreate_vers
-#undef H5Acreate_vers
-#endif
-#ifdef H5Tarray_create_vers
-#undef H5Tarray_create_vers
-#endif
-#define H5Gopen_vers 2
-#define H5Gcreate_vers 2
-#define H5Acreate_vers 2
-#define H5Tarray_create_vers 2
-
#include <hdf5.h>
#include "cctk.h"
@@ -69,6 +51,16 @@ namespace CarpetIOF5 {
+ template <typename T, int D>
+ string
+ name_from_ivect (vect <T, D> const & ivect);
+
+ template <typename T, int D>
+ string
+ name_from_ibbox (bbox <T, D> const & ibbox);
+
+
+
hid_t
open_or_create_group (hid_t where,
char const * name);