Ignore:
Timestamp:
Nov 12, 2017, 8:48:39 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued_betteresults
Children:
1fdf5a
Parents:
24430b
git-author:
Frederik Heber <frederik.heber@…> (06/29/17 14:53:38)
git-committer:
Frederik Heber <frederik.heber@…> (11/12/17 08:48:39)
Message:

Extracted calculation of weights per atom into BondVectors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Dynamics/BondVectors.hpp

    r24430b r1f244c  
    8383      const size_t &_step) const;
    8484
     85  //!> typedef for the weights for the Bondvectors of a single atom
     86  typedef std::deque<double> weights_t;
     87
     88  /** Calculates the weights for a frame where each Bondvector of the
     89   * given atom is a vector of the frame.
     90   *
     91   * The idea is that we can represent any vector by appropriate weights such
     92   * that is still sums up to one.
     93   *
     94   * \param _walker atom to get BondVectors for
     95   * \param _step time step for which the bond vector is request
     96   */
     97  weights_t getWeightsForAtomAtStep(
     98      const atom &_walker,
     99      const size_t &_step) const;
     100
    85101private:
    86102  /** Calculates the bond vector for each bond in the internal container.
Note: See TracChangeset for help on using the changeset viewer.