Ignore:
Timestamp:
Jul 5, 2017, 7:40:47 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_oldresults, IndependentFragmentGrids_IntegrationTest
Children:
6afd46
Parents:
9a3882
git-author:
Frederik Heber <frederik.heber@…> (05/14/17 21:08:41)
git-committer:
Frederik Heber <frederik.heber@…> (07/05/17 19:40:47)
Message:

Rewrite of StretchBondAction to take bondgraph into account.

  • i.e. we now look at the bond graph of the molecule to find all atoms on either side of the bond and shift each set accordingly.
  • this functionality needs to be refactored into a distinct class lateron.
  • TESTS: Added new test case on cyclic bond with benzene.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/StretchBondAction.def

    r9a3882 r3a0371  
    2121(RangeValidator< double >(0., 10.))
    2222
    23 #define statetypes (const double)(const Plane)(const molecule *)
    24 #define statereferences (shift)(bondplane)(mol)
     23#define statetypes (std::vector<Vector>)(std::vector< std::vector<size_t> >)(const molecule *)
     24#define statereferences (Shift)(bondside_sets)(mol)
    2525
    2626// some defines for all the names, you may use ACTION, STATE and PARAMS
Note: See TracChangeset for help on using the changeset viewer.