Pteros  2.0
Molecular modeling library for human beings!
pteros::Frame Struct Reference

Definition of single trajectory frame. More...

#include <system.h>

Public Member Functions

bool has_vel () const
 
bool has_force () const
 
void swap (int i, int j)
 Swap atoms i and j taking care of v and f.
 

Public Attributes

std::vector< Eigen::Vector3f > coord
 Coordinates of atoms.
 
std::vector< Eigen::Vector3f > vel
 Velocities of atoms.
 
std::vector< Eigen::Vector3f > force
 Forces of atoms.
 
PeriodicBox box
 Periodic box.
 
float time
 Timestamp.
 

Detailed Description

Definition of single trajectory frame.

Frames are stored in System class. They represent actual trajectory frames, which are loaded from MD trajectories. Coordinates are stored in nm as in Gromacs, not in Angstroms!


The documentation for this struct was generated from the following files: