17 #ifndef _ADIOSWriter_h
18 #define _ADIOSWriter_h
26 #include <adios_mpi.h>
69 return this->
DefineScalar(path, Type::NativeToADIOS<TN>());
87 this->
WriteScalar(path, Type::NativeToADIOS<TN>(), &val);
113 #endif // _ADIOSWriter_h
int DefineScalar(const std::string &path)
int DefineLocalArray(const std::string &path, const std::vector< ArrayDim > &dims, Transform xfm=Transform_NONE)
ArrayDim(const std::string &var)
static bool SetCommunicator(MPI_Comm)
void WriteScalar(const std::string &path, const TN &val)
void WriteArray(const std::string &path, const void *val)
void DefineAttribute(const std::string &path, const TN &value)
void Commit(const std::string &fileName, bool append=false)
Writer(ADIOS::TransportMethod transport, const std::string &transportArgs)