18#ifndef VOTCA_XTP_CHECKPOINT_UTILS_H
19#define VOTCA_XTP_CHECKPOINT_UTILS_H
37namespace checkpoint_utils {
41inline H5::DataSpace
StrScalar() {
return H5::DataSpace(H5S_SCALAR); }
52 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_FLOAT; }
57 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_DOUBLE; }
62 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_INT; }
67 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_LONG; }
72 static const H5::DataType*
get(
void) {
return &H5::PredType::NATIVE_UINT; }
77 static const H5::DataType*
get(
void) {
79#if (defined(__GNUC__) && defined(__clang__))
80#pragma clang diagnostic push
81#pragma clang diagnostic ignored "-Wconversion"
82#elif (defined(__GNUC__) && !defined(__INTEL_COMPILER))
83#pragma GCC diagnostic push
84#pragma GCC diagnostic ignored "-Wconversion"
85#elif (defined(__INTEL_COMPILER))
87#pragma warning(disable : 1682)
90 static const H5::StrType strtype(H5T_C_S1, H5T_VARIABLE);
91#if (defined(__GNUC__) && defined(__clang__))
92#pragma clang diagnostic pop
93#elif (defined(__GNUC__) && !defined(__INTEL_COMPILER))
94#pragma GCC diagnostic pop
95#elif (defined(__INTEL_COMPILER))
103H5::DataSpace
str_scalar(H5::DataSpace(H5S_SCALAR));
H5::DataSpace str_scalar(H5::DataSpace(H5S_SCALAR))
H5::DataSpace StrScalar()
base class for all analysis tools
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)