Newer
Older
/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* HDF5CommonP.h
*
* Created on: March 20, 2017
* Author: Junmin
*/
#ifndef HDF5_COMMON_P_H_
#define HDF5_COMMON_P_H_
#include <hdf5.h>
namespace adios
{
* @param file name
*/
void H5_Init(const std::string name, MPI_Comm m_MPIComm, bool toWrite);
void H5_Close();
void H5_Advance(int totalts);
void WriteTimeSteps();
// template <class T>
// void ReadMe(Variable<T> &variable, T *data_array, hid_t h5type);
hid_t m_Plist_id, m_File_id;
hid_t m_Group_id;
hid_t DefH5T_COMPLEX_DOUBLE;
hid_t DefH5T_COMPLEX_FLOAT;
hid_t DefH5T_COMPLEX_LongDOUBLE;
int m_CurrentTimeStep;
void CheckWriteGroup();