Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Atom/atom_atominfo.hpp

    r8cc22f r7e51e1  
    5656   * real functions, \sa AppendTrajectoryStep(), by all necessary subclasses.
    5757   */
    58   virtual void UpdateStep(const unsigned int _step)=0;
     58  virtual void UpdateSteps()=0;
    5959
    6060  /** Pops the last step in all trajectory vectors.
     
    6464   * the real functions, \sa removeTrajectoryStep(), by all necessary subclasses.
    6565   */
    66   virtual void removeStep(const unsigned int _step)=0;
     66  virtual void removeSteps()=0;
    6767
    6868  /** DEPRECATED: Getter for element indicated by AtomicElement.
     
    276276
    277277  // operations for trajectories
    278   bool isStepPresent(const unsigned int _step) const;
    279278  void ResizeTrajectory(size_t MaxSteps);
    280279  size_t getTrajectorySize() const;
     
    298297   * vectors.
    299298   */
    300   void AppendTrajectoryStep(const unsigned int _step);
     299  void AppendTrajectoryStep();
    301300
    302301  /** Function used by this and inheriting classes to decrease the trajectory
    303302   * vectors by one.
    304303   */
    305   void removeTrajectoryStep(const unsigned int _step);
     304  void removeTrajectoryStep();
    306305
    307306  // make these protected only such that deriving atom class still has full
    308307  // 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
    315311
    316312private:
Note: See TracChangeset for help on using the changeset viewer.