votca 2024.2-dev
|
reader for gro files More...
#include <groreader.h>
Public Member Functions | |
GROReader ()=default | |
~GROReader () override=default | |
bool | ReadTopology (std::string file, Topology &top) override |
open a topology file | |
bool | Open (const std::string &file) override |
open a trejectory file | |
bool | FirstFrame (Topology &top) override |
read in the first frame | |
bool | NextFrame (Topology &top) override |
read in the next frame | |
void | Close () override |
Public Member Functions inherited from votca::csg::TrajectoryReader | |
virtual | ~TrajectoryReader ()=default |
Public Member Functions inherited from votca::csg::TopologyReader | |
virtual | ~TopologyReader ()=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::ifstream | fl_ |
bool | topology_ |
Additional Inherited Members | |
Static Public Member Functions inherited from votca::csg::TrajectoryReader | |
static void | RegisterPlugins (void) |
Static Public Member Functions inherited from votca::csg::TopologyReader | |
static void | RegisterPlugins (void) |
reader for gro files
This class provides the TrajectoryReader + Topology reader interface for gro files
Definition at line 43 of file groreader.h.
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from votca::csg::TrajectoryReader.
Definition at line 61 of file groreader.cc.
|
overridevirtual |
read in the first frame
Implements votca::csg::TrajectoryReader.
Definition at line 63 of file groreader.cc.
|
overridevirtual |
read in the next frame
Implements votca::csg::TrajectoryReader.
Definition at line 69 of file groreader.cc.
|
overridevirtual |
open a trejectory file
Implements votca::csg::TrajectoryReader.
Definition at line 53 of file groreader.cc.
|
overridevirtual |
open a topology file
Implements votca::csg::TopologyReader.
Definition at line 37 of file groreader.cc.
const tools::ChargeUnit votca::csg::GROReader::charge_unit = tools::ChargeUnit::e |
Definition at line 48 of file groreader.h.
const tools::DistanceUnit votca::csg::GROReader::distance_unit = tools::DistanceUnit::nanometers |
Definition at line 45 of file groreader.h.
const tools::MolarEnergyUnit votca::csg::GROReader::energy_unit |
Definition at line 49 of file groreader.h.
|
private |
Definition at line 72 of file groreader.h.
const tools::MolarForceUnit votca::csg::GROReader::force_unit |
Definition at line 53 of file groreader.h.
const tools::MassUnit votca::csg::GROReader::mass_unit = tools::MassUnit::atomic_mass_units |
Definition at line 46 of file groreader.h.
const tools::TimeUnit votca::csg::GROReader::time_unit = tools::TimeUnit::picoseconds |
Definition at line 47 of file groreader.h.
|
private |
Definition at line 73 of file groreader.h.
const tools::VelocityUnit votca::csg::GROReader::velocity_unit |
Definition at line 51 of file groreader.h.