1#ifndef RPC_TRAJECTORY_READER_H
2#define RPC_TRAJECTORY_READER_H
16 template <
int D>
class System;
51 virtual void open(std::string filename) = 0;
68 virtual void readHeader(){};
89 {
return *systemPtr_; }
91 #ifndef RPC_TRAJECTORY_READER_TPP
Main class for SCFT or PS-FTS simulation of one system.
Trajectory file reader (base class).
virtual bool readFrame()=0
Read a single frame.
virtual void close()=0
Close the trajectory file.
TrajectoryReader(System< D > &system)
Constructor.
System< D > & system()
Return reference to parent system.
virtual void open(std::string filename)=0
Open trajectory file and read header, if any.
virtual ~TrajectoryReader()
Destructor.
PSCF package top-level namespace.