14 #ifndef BALL_MOLMEC_COMMON_SNAPSHOT_H
15 #define BALL_MOLMEC_COMMON_SNAPSHOT_H
17 #ifndef BALL_MATHS_VECTOR3_H
71 bool operator == (
const SnapShot& snapshot)
const
85 void setIndex(
Size index)
93 void setNumberOfAtoms(
Size number_of_atoms)
97 Size getNumberOfAtoms()
const
101 void setPotentialEnergy(
DoubleReal potential_energy)
109 void setKineticEnergy(
DoubleReal kinetic_energy)
117 void setAtomPositions(const ::std::vector<Vector3>& atom_postions)
121 const ::std::vector<Vector3>& getAtomPositions()
const
125 void setAtomVelocities(const ::std::vector<Vector3>& atom_velocities)
129 const ::std::vector<Vector3>& getAtomVelocities()
const
133 void setAtomForces(const ::std::vector<Vector3>& atom_forces)
137 const ::std::vector<Vector3>& getAtomForces()
const
148 void takeSnapShot(
const System& system)
158 void applySnapShot(
System& system)
const
165 void getAtomPositions(
const System& system)
172 void setAtomPositions(
System& system)
const
179 void getAtomVelocities(
const System& system)
186 void setAtomVelocitites(
System& system)
const
193 void getAtomForces(
const System& system)
200 void setAtomForces(
System& system)
const
250 #endif // BALL_MOLMEC_COMMON_SNAPSHOT_H