12#ifndef BALL_MOLMEC_COMMON_SNAPSHOT_H
13#define BALL_MOLMEC_COMMON_SNAPSHOT_H
15#ifndef BALL_MATHS_VECTOR3_H
64 bool operator == (const
SnapShot& snapshot) const;
216 ::
std::ostream& operator << (::
std::ostream& os, const
SnapShot& ss);
const ::std::vector< Vector3 > & getAtomVelocities() const
Get the vector containing the atom velocitites.
DoubleReal getKineticEnergy() const
Get the value for the kinetic energy of this snapshot's system.
void setAtomPositions(const ::std::vector< Vector3 > &atom_postions)
Specify all atom positions.
vector< Vector3 > atom_forces_
void setAtomForces(const ::std::vector< Vector3 > &atom_forces)
Specify all atom forces.
virtual void clear()
Clear method.
Size getIndex() const
Get the index of this instance.
void setIndex(Size index)
Set the index attribute.
void applySnapShot(System &system) const
const ::std::vector< Vector3 > & getAtomForces() const
Get all atom forces.
vector< Vector3 > atom_positions_
vector< Vector3 > atom_velocities_
Size getNumberOfAtoms() const
Get the number of atoms that are covered by this snapshot.
void setPotentialEnergy(DoubleReal potential_energy)
Set the value for the potential energy of this snapshot's system.
void setAtomVelocitites(System &system) const
void setKineticEnergy(DoubleReal kinetic_energy)
Set the value for the kinetic energy of this snapshot's system.
void setNumberOfAtoms(Size number_of_atoms)
Set the number of atoms that are covered by this snapshot.
void takeSnapShot(const System &system)
DoubleReal getPotentialEnergy() const
Get the value for the potential energy of this snapshot's system.
const ::std::vector< Vector3 > & getAtomPositions() const
Get the vector containing the atom postions.
void setAtomVelocities(const ::std::vector< Vector3 > &atom_velocities)
Specify all atom velocities.
#define BALL_CREATE(name)
TVector3< float > Vector3