Changeset 0dd99b for src/Dynamics/BondVectors.hpp
- Timestamp:
- Nov 29, 2017, 11:06:25 PM (7 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued_betteresults
- Children:
- 2a0a651
- Parents:
- 9f1fee5
- git-author:
- Frederik Heber <frederik.heber@…> (08/10/17 15:35:45)
- git-committer:
- Frederik Heber <frederik.heber@…> (11/29/17 23:06:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/BondVectors.hpp
r9f1fee5 r0dd99b 56 56 const size_t &_step); 57 57 58 /** Returns the number of bonds whose bond vectors have been registered. 59 * 60 * \param number of bonds 61 */ 62 size_t size() const 63 { return container.size(); } 64 58 65 /** Getter for the sorted bonds. 59 66 * … … 144 151 forcestore_t _forcestore) const; 145 152 153 /** Calculates the \a _walkkerGradient projected onto the bond vector for 154 * every of \a _walker's bonds. 155 * 156 * \param _walker atom 157 * \param _walkerGradient atom's gradient 158 * \param _timestep time step 159 * \param _projected_forces list of forces for every \a whichatom_t and every bond 160 */ 161 void getProjectedGradientsForAtomAtStep( 162 const atom &_walker, 163 const Vector &_walkerGradient, 164 const size_t _timestep, 165 std::vector< std::vector<double> > &_projected_forces) const; 166 167 // knowing the number of bonds in total, we can setup the storage for the 168 // projected forces 169 enum whichatom_t { 170 leftside=0, 171 rightside=1, 172 MAX_sides 173 }; 174 146 175 private: 147 176 /** Calculates the bond vector for each bond in the internal container. … … 177 206 //!> internal map for bond Bondvector association 178 207 mutable mapped_t current_mapped_vectors; 208 179 209 }; 180 210
Note:
See TracChangeset
for help on using the changeset viewer.