#ifdef DUMP_CLASS
DumpStyle(cfg/mpiio,DumpCFGMPIIO)
#else
#ifndef LMP_DUMP_CFG_MPIIO_H
#define LMP_DUMP_CFG_MPIIO_H
#include "dump_cfg.h"
namespace LAMMPS_NS {
class DumpCFGMPIIO : public DumpCFG {
public:
DumpCFGMPIIO(class LAMMPS *, int, char **);
virtual ~DumpCFGMPIIO();
protected:
bigint sumFileSize; char *headerBuffer;
MPI_File mpifh;
MPI_Offset mpifo,offsetFromHeader,headerSize, currentFileSize;
int performEstimate; char *filecurrent;
#if defined(_OPENMP)
int convert_string_omp(int, double *); #endif
virtual void openfile();
virtual void init_style();
virtual void write_header(bigint);
virtual void write();
virtual void write_data(int, double *);
typedef void (DumpCFGMPIIO::*FnPtrData)(int, double *);
FnPtrData write_choice; void write_string(int, double *);
};
}
#endif
#endif