Ignore:
Timestamp:
Apr 10, 2018, 6:43:30 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
Children:
c1c6cb
Parents:
9861d0
git-author:
Frederik Heber <frederik.heber@…> (06/29/17 14:53:38)
git-committer:
Frederik Heber <frederik.heber@…> (04/10/18 06:43:30)
Message:

Extracted calculation of weights per atom into BondVectors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Dynamics/BondVectors.hpp

    r9861d0 r825d33  
    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.