- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_bondedparticleinfo.hpp
r7e51e1 r8cc22f 49 49 * real functions, \sa AppendTrajectoryStep(), by all necessary subclasses. 50 50 */ 51 virtual void UpdateSteps()=0; 51 virtual void UpdateStep(const unsigned int _step)=0; 52 53 /** Pops the last step in all trajectory vectors. 54 * 55 * This allows to decrease all trajectories contained in different classes 56 * by one consistently. This is implemented by the topmost class which calls 57 * the real functions, \sa removeTrajectoryStep(), by all necessary subclasses. 58 */ 59 virtual void removeStep(const unsigned int _step)=0; 52 60 53 61 /** Const accessor to ListOfBonds of WorldTime::CurrentTime. … … 87 95 * vector. 88 96 */ 89 void AppendTrajectoryStep( );97 void AppendTrajectoryStep(const unsigned int _step); 90 98 91 99 /** Function used by this and inheriting classes to reduce the ListOfBonds 92 100 * vector by one. 93 101 */ 94 void removeTrajectoryStep( );102 void removeTrajectoryStep(const unsigned int _step); 95 103 96 std::vector<BondList> ListOfBonds; //!< list of all bonds 104 typedef std::map<unsigned int, BondList> BondTrajectory_t; 105 BondTrajectory_t ListOfBonds; //!< list of all bonds 97 106 static BondList emptyList; //!< empty list to return when step is not present 98 107 };
Note:
See TracChangeset
for help on using the changeset viewer.