#ifdef READER_CLASS
ReaderStyle(molfile,ReaderMolfile)
#else
#ifndef LMP_READER_MOLFILE_H
#define LMP_READER_MOLFILE_H
#include "reader.h"
namespace LAMMPS_NS {
class ReaderMolfile : public Reader {
public:
ReaderMolfile(class LAMMPS *);
virtual ~ReaderMolfile();
virtual void settings(int, char **);
virtual int read_time(bigint &);
virtual void skip();
virtual bigint read_header(double [3][3], int &, int &, int, int, int *, char **,
int, int, int &, int &, int &, int &);
virtual void read_atoms(int, int, double **);
virtual void open_file(const char *);
virtual void close_file();
private:
int *fieldindex;
class MolfileInterface *mf;
float *coords; float *vels; int *types; float cell[6]; int natoms; int needvels;
bigint nstep; bigint nid;
int me;
};
}
#endif
#endif