Changeset 917d11 for src/Actions


Ignore:
Timestamp:
Nov 5, 2017, 1:55:28 AM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued_betteresults
Children:
5b6afad
Parents:
7963c8
git-author:
Frederik Heber <frederik.heber@…> (05/19/17 14:29:40)
git-committer:
Frederik Heber <frederik.heber@…> (11/05/17 01:55:28)
Message:

ForceAnnealing now shifts atoms in the bond graph to anneal forces, too.

Location:
src/Actions/MoleculeAction
Files:
2 edited

Legend:

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

    r7963c8 r917d11  
    9393      set,
    9494      true,
    95       params.steps.get());
     95      params.steps.get(),
     96      params.MaxDistance.get());
    9697  // parse forces into next step
    9798  if (!params.forcesfile.get().string().empty()) {
  • src/Actions/MoleculeAction/ForceAnnealingAction.def

    r7963c8 r917d11  
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1717// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    18 #define paramtypes (boost::filesystem::path)(unsigned int)(bool)
    19 #define paramtokens ("forces-file")("steps")("output-every-step")
    20 #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")
    21 #define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))
    22 #define paramreferences (forcesfile)(steps)(DoOutput)
     18#define paramtypes (boost::filesystem::path)(unsigned int)(bool)(int)
     19#define paramtokens ("forces-file")("steps")("output-every-step")("max-distance")
     20#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")
     21#define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT(0))
     22#define paramreferences (forcesfile)(steps)(DoOutput)(MaxDistance)
    2323#define paramvalids \
    2424(DummyValidator< boost::filesystem::path >()) \
    2525(NotZeroValidator< unsigned int >()) \
    26 (DummyValidator<bool>())
     26(DummyValidator<bool>()) \
     27(DummyValidator< int >())
    2728
    2829#define statetypes (std::vector<AtomicInfo>)(std::vector<AtomicInfo>)
Note: See TracChangeset for help on using the changeset viewer.