1#ifndef RPG_TRAJECTORY_READER_H
2#define RPG_TRAJECTORY_READER_H
11#include <util/param/ParamComposite.h>
14#include <rpg/System.h>
21 template <
int D>
class System;
57 virtual void open(std::string filename) = 0;
74 virtual void readHeader(){};
96 {
return *systemPtr_; }
98 #ifndef RPG_TRAJECTORY_READER_TPP
Main class for calculations that represent one system.
virtual bool readFrame()=0
Read a single frame.
virtual ~TrajectoryReader()
Destructor.
virtual void close()=0
Close the trajectory file.
virtual void open(std::string filename)=0
Open trajectory file and read header, if any.
TrajectoryReader(System< D > &system)
Constructor.
System< D > & system()
Return reference to parent system.
File containing preprocessor macros for error handling.
PSCF package top-level namespace.
Utility classes for scientific computation.