Ignore:
Timestamp:
Jul 20, 2017, 9:38:38 AM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued
Children:
9d3846
Parents:
4cd46b
git-author:
Frederik Heber <frederik.heber@…> (06/20/17 20:26:12)
git-committer:
Frederik Heber <frederik.heber@…> (07/20/17 09:38:38)
Message:

ForceAnnealing can now be used either atom- or bond-centered.

  • new keyword "use-bondgraph" to use either case.
  • atom is old annealing method, bond graph is new annealing method where the bond neighborhood is shifted as well to anneal to force projected onto the BondVector.
  • In the first step we always use atom-centered annealing where we use the given deltat step width. Afterwards Barzilai-Borwein may then proceed.
File:
1 edited

Legend:

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

    r4cd46b r6d360a  
    1717// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1818// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    19 #define paramtypes (boost::filesystem::path)(unsigned int)(bool)(int)(double)
    20 #define paramtokens ("forces-file")("steps")("output-every-step")("max-distance")("damping-factor")
    21 #define paramdescriptions ("file containing")("fixed number of optimization steps to be performed")("whether WorldTime should be increased and output written after every step, useful if optimization might hang")("maximum distance to which bond graph is taken into account")("damping factor for decreasing the shift with bond graph distance from the causing site")
    22 #define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT(0))(PARAM_DEFAULT(0.5))
    23 #define paramreferences (forcesfile)(steps)(DoOutput)(MaxDistance)(DampingFactor)
     19#define paramtypes (boost::filesystem::path)(unsigned int)(bool)(int)(double)(bool)
     20#define paramtokens ("forces-file")("steps")("output-every-step")("max-distance")("damping-factor")("use-bondgraph")
     21#define paramdescriptions ("file containing")("fixed number of optimization steps to be performed")("whether WorldTime should be increased and output written after every step, useful if optimization might hang")("maximum distance to which bond graph is taken into account")("damping factor for decreasing the shift with bond graph distance from the causing site")("whether annealing should take place focusing on atoms alone or on the bonds (faster)")
     22#define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT(0))(PARAM_DEFAULT(0.5))(PARAM_DEFAULT(0))
     23#define paramreferences (forcesfile)(steps)(DoOutput)(MaxDistance)(DampingFactor)(UseBondGraph)
    2424#define paramvalids \
    2525(DummyValidator< boost::filesystem::path >()) \
     
    2727(DummyValidator<bool>()) \
    2828(DummyValidator< int >()) \
    29 (RangeValidator< double >(0,1))
     29(RangeValidator< double >(0,1)) \
     30(DummyValidator<bool>())
    3031
    3132#define statetypes (std::vector<AtomicInfo>)(std::vector<AtomicInfo>)
Note: See TracChangeset for help on using the changeset viewer.