|
PSCF v1.4.0
|
Trajectory file reader. More...
#include <RGridTrajectoryReader.h>
Public Member Functions | |
| void | open (std::string filename) override |
| Open trajectory file and read header, if any. | |
| void | readHeader () override |
| Read header of trajectory file (if any). | |
| bool | readFrame () override |
| Read a single frame from the trajectory file. | |
| void | close () override |
| Close the trajectory file. | |
Protected Member Functions | |
| RGridTrajectoryReader (typename T::System &system) | |
| Constructor. | |
| ~RGridTrajectoryReader ()=default | |
| Destructor. | |
Trajectory file reader.
Specializations of this class template are used as base classes for two closely analogous class templates, also named RGridTrajectorReader, that are defined in Rpc and Rpg namespaces for use in the pscf_rpc and pscf_rpg programs, respectively.
Template parameters:
Definition at line 38 of file fts/trajectory/RGridTrajectoryReader.h.
|
protected |
Constructor.
| system | parent System object |
Definition at line 24 of file RGridTrajectoryReader.tpp.
|
protecteddefault |
Destructor.
|
override |
Open trajectory file and read header, if any.
By convention, this function treats the trajectory filename as the name of an input file, and opens the file using the FileMaster:openInutFile function. This function prepends the input prefix (if any) to the file path.
| filename | trajectory input file name |
Definition at line 52 of file RGridTrajectoryReader.tpp.
|
override |
Read header of trajectory file (if any).
Definition at line 62 of file RGridTrajectoryReader.tpp.
|
override |
Read a single frame from the trajectory file.
Definition at line 78 of file RGridTrajectoryReader.tpp.
|
override |
Close the trajectory file.
Definition at line 129 of file RGridTrajectoryReader.tpp.