Changes in src/Atom/atom_atominfo.hpp [7e51e1:8cc22f]
- File:
-
- 1 edited
-
src/Atom/atom_atominfo.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_atominfo.hpp
r7e51e1 r8cc22f 56 56 * real functions, \sa AppendTrajectoryStep(), by all necessary subclasses. 57 57 */ 58 virtual void UpdateStep s()=0;58 virtual void UpdateStep(const unsigned int _step)=0; 59 59 60 60 /** Pops the last step in all trajectory vectors. … … 64 64 * the real functions, \sa removeTrajectoryStep(), by all necessary subclasses. 65 65 */ 66 virtual void removeStep s()=0;66 virtual void removeStep(const unsigned int _step)=0; 67 67 68 68 /** DEPRECATED: Getter for element indicated by AtomicElement. … … 276 276 277 277 // operations for trajectories 278 bool isStepPresent(const unsigned int _step) const; 278 279 void ResizeTrajectory(size_t MaxSteps); 279 280 size_t getTrajectorySize() const; … … 297 298 * vectors. 298 299 */ 299 void AppendTrajectoryStep( );300 void AppendTrajectoryStep(const unsigned int _step); 300 301 301 302 /** Function used by this and inheriting classes to decrease the trajectory 302 303 * vectors by one. 303 304 */ 304 void removeTrajectoryStep( );305 void removeTrajectoryStep(const unsigned int _step); 305 306 306 307 // make these protected only such that deriving atom class still has full 307 308 // access needed for clone and alike 308 std::vector<Vector> AtomicPosition; //!< coordinate vector of atom, giving last position within cell 309 std::vector<Vector> AtomicVelocity; //!< velocity vector of atom, giving last velocity within cell 310 std::vector<Vector> AtomicForce; //!< Force vector of atom, giving last force within cell 309 310 //!> typedef for a vector of Vectors with inverse sorting to make lower_bound return present or last past step 311 typedef std::map<unsigned int, Vector, std::greater<unsigned int> > VectorTrajectory_t; 312 VectorTrajectory_t AtomicPosition; //!< coordinate vector of atom, giving last position within cell 313 VectorTrajectory_t AtomicVelocity; //!< velocity vector of atom, giving last velocity within cell 314 VectorTrajectory_t AtomicForce; //!< Force vector of atom, giving last force within cell 311 315 312 316 private:
Note:
See TracChangeset
for help on using the changeset viewer.
