Changeset 2bb3be 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:
12f16c
Parents:
866dec
git-author:
Frederik Heber <frederik.heber@…> (08/02/17 20:50:05)
git-committer:
Frederik Heber <frederik.heber@…> (04/10/18 06:43:11)
Message:

Removed DoOutput param from ForceAnnealing.

  • TESTFIX: Modifying regression tests ForceAnnealing to current implementation state. This is because of DoOutput removal, i.e. optimization steps are kept now by default.
  • TESTFIX: Marked regression test ForceAnnealing undo as XFAIL. The problem is that the additional is not removed at the moment.
Location:
src/Actions/MoleculeAction
Files:
2 edited

Legend:

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

    r866dec r2bb3be  
    8585  }
    8686
    87   // we always operate relative to current time step, except on single debug output
    8887  size_t CurrentStep = WorldTime::getInstance().getTime();
    89   if (params.DoOutput.get()) {
     88  {
    9089    // copy current time step to new one and and proceed on this one
    9190    for (World::AtomSelectionIterator iter = World::getInstance().beginAtomSelection();
  • src/Actions/MoleculeAction/ForceAnnealingAction.def

    r866dec r2bb3be  
    1919// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    2020// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    21 #define paramtypes (boost::filesystem::path)(double)(unsigned int)(bool)(int)(double)(bool)
    22 #define paramtokens ("forces-file")("deltat")("steps")("output-every-step")("max-distance")("damping-factor")("use-bondgraph")
    23 #define paramdescriptions ("file containing")("basic step width to be used")("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)")
    24 #define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(0.1))(NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT(0))(PARAM_DEFAULT(0.5))(PARAM_DEFAULT(0))
    25 #define paramreferences (forcesfile)(deltat)(steps)(DoOutput)(MaxDistance)(DampingFactor)(UseBondGraph)
     21#define paramtypes (boost::filesystem::path)(double)(unsigned int)(int)(double)(bool)
     22#define paramtokens ("forces-file")("deltat")("steps")("max-distance")("damping-factor")("use-bondgraph")
     23#define paramdescriptions ("file containing")("basic step width to be used")("fixed number of optimization steps to be performed")("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)")
     24#define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(0.1))(NOPARAM_DEFAULT)(PARAM_DEFAULT(0))(PARAM_DEFAULT(0.5))(PARAM_DEFAULT(0))
     25#define paramreferences (forcesfile)(deltat)(steps)(MaxDistance)(DampingFactor)(UseBondGraph)
    2626#define paramvalids \
    2727(DummyValidator< boost::filesystem::path >()) \
    2828(RangeValidator< double >(std::numeric_limits<double>::min(), std::numeric_limits<double>::max())) \
    2929(NotZeroValidator< unsigned int >()) \
    30 (DummyValidator<bool>()) \
    3130(DummyValidator< int >()) \
    3231(RangeValidator< double >(0,1)) \
Note: See TracChangeset for help on using the changeset viewer.