diff options
Diffstat (limited to 'CarpetDev')
-rw-r--r-- | CarpetDev/CarpetIOF5/src/utils.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/src/utils.cc b/CarpetDev/CarpetIOF5/src/utils.cc index ea9d30d91..6bad1510a 100644 --- a/CarpetDev/CarpetIOF5/src/utils.cc +++ b/CarpetDev/CarpetIOF5/src/utils.cc @@ -272,12 +272,20 @@ namespace CarpetIOF5 { } } +#if SIZEOF_INT != CCTK_INTEGER_PRECISION template void write_or_check_attribute (hid_t const where, char const * const name, int const * const values, int const num_values); +#endif + template + void + write_or_check_attribute (hid_t const where, + char const * const name, + CCTK_INT const * const values, + int const num_values); template void write_or_check_attribute (hid_t const where, @@ -299,11 +307,18 @@ namespace CarpetIOF5 { write_or_check_attribute (where, name, & value, 1); } +#if SIZEOF_INT != CCTK_INTEGER_PRECISION template void write_or_check_attribute (hid_t const where, char const * const name, int const & value); +#endif + template + void + write_or_check_attribute (hid_t const where, + char const * const name, + CCTK_INT const & value); template void write_or_check_attribute (hid_t const where, @@ -324,11 +339,18 @@ namespace CarpetIOF5 { write_or_check_attribute (where, name, & value [0], D); } +#if SIZEOF_INT != CCTK_INTEGER_PRECISION template void write_or_check_attribute (hid_t where, char const * name, vect<int, dim> const & value); +#endif + template + void + write_or_check_attribute (hid_t where, + char const * name, + vect<CCTK_INT, dim> const & value); template void write_or_check_attribute (hid_t where, |