Changeset cdfb6f for src/Actions


Ignore:
Timestamp:
Apr 10, 2018, 6:43:11 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
Children:
985d1f
Parents:
a5c293
git-author:
Frederik Heber <frederik.heber@…> (05/19/17 14:29:40)
git-committer:
Frederik Heber <frederik.heber@…> (04/10/18 06:43:11)
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

    ra5c293 rcdfb6f  
    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

    ra5c293 rcdfb6f  
    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.