18#ifndef VOTCA_XTP_CHECKPOINT_UTILS_H
19#define VOTCA_XTP_CHECKPOINT_UTILS_H
40inline H5::DataSpace
StrScalar() {
return H5::DataSpace(H5S_SCALAR); }
95 static std::recursive_mutex m;
108 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_FLOAT; }
113 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_DOUBLE; }
118 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_INT; }
123 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_LONG; }
128 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_UINT; }
133 static const H5::DataType*
get(
void) {
135#if (defined(__GNUC__) && defined(__clang__))
136#pragma clang diagnostic push
137#pragma clang diagnostic ignored "-Wconversion"
138#elif (defined(__GNUC__) && !defined(__INTEL_COMPILER))
139#pragma GCC diagnostic push
140#pragma GCC diagnostic ignored "-Wconversion"
141#elif (defined(__INTEL_COMPILER))
143#pragma warning(disable : 1682)
146 static const H5::StrType strtype(H5T_C_S1, H5T_VARIABLE);
147#if (defined(__GNUC__) && defined(__clang__))
148#pragma clang diagnostic pop
149#elif (defined(__GNUC__) && !defined(__INTEL_COMPILER))
150#pragma GCC diagnostic pop
151#elif (defined(__INTEL_COMPILER))
std::recursive_mutex & Hdf5Mutex()
H5::DataSpace StrScalar()
Provides a means for comparing floating point numbers.
static const H5::DataType * get(void)
static const H5::DataType * get(void)
static const H5::DataType * get(void)
static const H5::DataType * get(void)
static const H5::DataType * get(void)
static const H5::DataType * get(void)