38 if ( ! std::is_arithmetic<T>::value ) {
39 NAMD_die(
"Called TestArray_write with non-aritmetic type");
41 int isfp = std::is_floating_point<T>::value;
43 (
const void *)array,
sizeof(T), length, isfp);
int TestArray_write_helper(const char *filename, const char *label, const void *array, int elemsize, int length, int isfp)
void NAMD_die(const char *err_msg)
int TestArray_write(const char *filename, const char *label, const T *array, int length)