Simpatico  v1.10
List of all members | Public Member Functions
McMd::LammpsDumpReader Class Reference

Detailed Description

TrajectoryReader for Lammps dump trajectory files.

This class assumes that atom ids are ordered by molecule and species, with consecutive ids for atoms in the same molecule and consecutive blocks for molecules in the same species. It does not require that the atoms be ordered consecutively by id within the dump file.

Definition at line 30 of file mcMd/trajectory/LammpsDumpReader.h.

#include <LammpsDumpReader.h>

Inheritance diagram for McMd::LammpsDumpReader:
McMd::TrajectoryReader

Public Member Functions

 LammpsDumpReader (System &system)
 Constructor. More...
 
virtual ~LammpsDumpReader ()
 Destructor. More...
 
void open (std::string filename)
 Open file. More...
 
bool readFrame ()
 Read a single frame. More...
 
void close ()
 Close file. More...
 
- Public Member Functions inherited from McMd::TrajectoryReader
 TrajectoryReader (System &system)
 Constructor. More...
 
virtual ~TrajectoryReader ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from McMd::TrajectoryReader
Systemsystem () const
 Get a reference to the parent System. More...
 
Simulationsimulation () const
 Get a reference to the parent Simulation. More...
 
Boundaryboundary () const
 Get the Boundary. More...
 
virtual void addMolecules ()
 Add all molecules to system. More...
 
- Protected Attributes inherited from McMd::TrajectoryReader
int nAtomTotal_
 Total number of atoms (all species) More...
 

Constructor & Destructor Documentation

McMd::LammpsDumpReader::LammpsDumpReader ( System system)

Constructor.

Definition at line 28 of file mcMd/trajectory/LammpsDumpReader.cpp.

McMd::LammpsDumpReader::~LammpsDumpReader ( )
virtual

Destructor.

Definition at line 35 of file mcMd/trajectory/LammpsDumpReader.cpp.

Member Function Documentation

void McMd::LammpsDumpReader::open ( std::string  filename)
virtual
bool McMd::LammpsDumpReader::readFrame ( )
virtual
void McMd::LammpsDumpReader::close ( )
virtual

Close file.

Implements McMd::TrajectoryReader.

Definition at line 164 of file mcMd/trajectory/LammpsDumpReader.cpp.


The documentation for this class was generated from the following files: