Simpatico  v1.10
tools/trajectory/DdMdTrajectoryReader.h
1 #ifndef TOOLS_DDMD_TRAJECTORY_READER_H
2 #define TOOLS_DDMD_TRAJECTORY_READER_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <tools/trajectory/TrajectoryReader.h> // base class
12 
13 namespace Tools
14 {
15 
16  class Configuration;
17  using namespace Util;
18 
25  {
26 
27  public:
28 
34  DdMdTrajectoryReader(Configuration& configuration);
35 
39  virtual ~DdMdTrajectoryReader();
40 
46  virtual void readHeader(std::ifstream& file);
47 
54  virtual bool readFrame(std::ifstream& file);
55 
56  private:
57 
58  // Number of atoms
59  int nAtom_;
60 
61  };
62 
63 }
64 #endif
Reader for lammps dump trajectory file format.
Abstract trajectory file reader.
An instantaneous molecular dynamics configuration.
Definition: Configuration.h:40
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor classes for pre- and post-processing MD trajectories.