Newer
Older
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* HDF5WriterP.h
*
* Created on: March 20, 2017
* Author: Junmin
*/
#ifndef ADIOS2_ENGINE_HDF5_HDF5WRITERP_H__
#define ADIOS2_ENGINE_HDF5_HDF5WRITERP_H__
#include "adios2/ADIOSMPICommOnly.h"
#include "adios2/core/IO.h"
#include "adios2/toolkit/interop/hdf5/HDF5Common.h"
* Constructor for HDF5 writer engine, writes in hdf5 format
* @param name unique name given to the engine
* @param accessMode
* @param mpiComm
* @param method
*/
HDF5WriterP(IO &io, const std::string &name, const Mode mode,
StepStatus BeginStep(StepMode mode, const float timeoutSeconds = 0.f) final;
void Close(const int transportIndex = -1) final;
void DoPutSync(Variable<T> &variable, const T *values) final; \
void DoPutDeferred(Variable<T> &variable, const T *values) final;
ADIOS2_FOREACH_TYPE_1ARG(declare_type)
#undef declare_type
void DoPutSyncCommon(Variable<T> &variable, const T *values);
#endif /* ADIOS2_ENGINE_HDF5_HDF5WRITERP_H__ */