Changes in src/Atom/atom_atominfo.hpp [8cc22f:7e51e1]
- File:
-
- 1 edited
-
src/Atom/atom_atominfo.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_atominfo.hpp
r8cc22f r7e51e1 56 56 * real functions, \sa AppendTrajectoryStep(), by all necessary subclasses. 57 57 */ 58 virtual void UpdateStep (const unsigned int _step)=0;58 virtual void UpdateSteps()=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 (const unsigned int _step)=0;66 virtual void removeSteps()=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;279 278 void ResizeTrajectory(size_t MaxSteps); 280 279 size_t getTrajectorySize() const; … … 298 297 * vectors. 299 298 */ 300 void AppendTrajectoryStep( const unsigned int _step);299 void AppendTrajectoryStep(); 301 300 302 301 /** Function used by this and inheriting classes to decrease the trajectory 303 302 * vectors by one. 304 303 */ 305 void removeTrajectoryStep( const unsigned int _step);304 void removeTrajectoryStep(); 306 305 307 306 // make these protected only such that deriving atom class still has full 308 307 // access needed for clone and alike 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 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 315 311 316 312 private:
Note:
See TracChangeset
for help on using the changeset viewer.
