message: new heatTransfer IO with adios2/hdf5
diff: @@ -256,12 +256,15 @@ void HDF5Writer::UseHDFWrite(Variable<T> &variable, const T *values,
  int dimSize = std::max(variable.m_Shape.size(), variable.m_Count.size());
  - if (dimSize == 0) {
  + if (dimSize == 0)
  + {
  // scalar
  hid_t filespaceID = H5Screate(H5S_SCALAR);
  - hid_t dsetID = H5Dcreate(m_H5File.m_GroupId, variable.m_Name.c_str(), h5Type, filespaceID,
  - H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
  - herr_t status = H5Dwrite(dsetID, h5Type, H5S_ALL, H5S_ALL, H5P_DEFAULT, values);
  + hid_t dsetID =
  + H5Dcreate(m_H5File.m_GroupId, variable.m_Name.c_str(), h5Type,
  + filespaceID, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
  + herr_t status =
  + H5Dwrite(dsetID, h5Type, H5S_ALL, H5S_ALL, H5P_DEFAULT, values);
  H5Sclose(filespaceID);
  H5Dclose(dsetID);
  