votca 2024.2-dev
|
class for reading gromacs trajectory files More...
#include <gmxtrajectoryreader.h>
Public Member Functions | |
GMXTrajectoryReader ()=default | |
bool | Open (const std::string &file) override |
open a trejectory file | |
bool | FirstFrame (Topology &conf) override |
read in the first frame | |
bool | NextFrame (Topology &conf) override |
read in the next frame | |
void | Close () override |
Public Member Functions inherited from votca::csg::TrajectoryReader | |
virtual | ~TrajectoryReader ()=default |
Public Attributes | |
const tools::DistanceUnit | distance_unit = tools::DistanceUnit::nanometers |
const tools::MassUnit | mass_unit = tools::MassUnit::atomic_mass_units |
const tools::TimeUnit | time_unit = tools::TimeUnit::picoseconds |
const tools::ChargeUnit | charge_unit = tools::ChargeUnit::e |
const tools::MolarEnergyUnit | energy_unit |
const tools::VelocityUnit | velocity_unit |
const tools::MolarForceUnit | force_unit |
Private Attributes | |
std::string | filename_ |
t_trxstatus * | gmx_status_ |
t_trxframe | gmx_frame_ |
gmx frame | |
Additional Inherited Members | |
Static Public Member Functions inherited from votca::csg::TrajectoryReader | |
static void | RegisterPlugins (void) |
class for reading gromacs trajectory files
This class provides the TrajectoryReader interface and encapsulates the trajectory reading function of gromacs
Definition at line 50 of file gmxtrajectoryreader.h.
|
default |
|
overridevirtual |
Reimplemented from votca::csg::TrajectoryReader.
Definition at line 41 of file gmxtrajectoryreader.cc.
|
overridevirtual |
read in the first frame
Implements votca::csg::TrajectoryReader.
Definition at line 43 of file gmxtrajectoryreader.cc.
|
overridevirtual |
read in the next frame
Implements votca::csg::TrajectoryReader.
Definition at line 101 of file gmxtrajectoryreader.cc.
|
overridevirtual |
open a trejectory file
Implements votca::csg::TrajectoryReader.
Definition at line 36 of file gmxtrajectoryreader.cc.
const tools::ChargeUnit votca::csg::GMXTrajectoryReader::charge_unit = tools::ChargeUnit::e |
Definition at line 57 of file gmxtrajectoryreader.h.
const tools::DistanceUnit votca::csg::GMXTrajectoryReader::distance_unit = tools::DistanceUnit::nanometers |
Definition at line 54 of file gmxtrajectoryreader.h.
const tools::MolarEnergyUnit votca::csg::GMXTrajectoryReader::energy_unit |
Definition at line 58 of file gmxtrajectoryreader.h.
|
private |
Definition at line 75 of file gmxtrajectoryreader.h.
const tools::MolarForceUnit votca::csg::GMXTrajectoryReader::force_unit |
Definition at line 62 of file gmxtrajectoryreader.h.
|
private |
gmx frame
Definition at line 80 of file gmxtrajectoryreader.h.
|
private |
Definition at line 78 of file gmxtrajectoryreader.h.
const tools::MassUnit votca::csg::GMXTrajectoryReader::mass_unit = tools::MassUnit::atomic_mass_units |
Definition at line 55 of file gmxtrajectoryreader.h.
const tools::TimeUnit votca::csg::GMXTrajectoryReader::time_unit = tools::TimeUnit::picoseconds |
Definition at line 56 of file gmxtrajectoryreader.h.
const tools::VelocityUnit votca::csg::GMXTrajectoryReader::velocity_unit |
Definition at line 60 of file gmxtrajectoryreader.h.