Changeset 216840 for src/Actions
- Timestamp:
- Apr 10, 2018, 6:43:11 AM (7 years ago)
- 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:
- 866dec
- Parents:
- b2acca
- git-author:
- Frederik Heber <frederik.heber@…> (06/27/17 21:04:40)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/10/18 06:43:11)
- Location:
- src/Actions/MoleculeAction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/ForceAnnealingAction.cpp
rb2acca r216840 113 113 ForceAnnealing<std::vector<atom *> > optimizer( 114 114 set, 115 params.deltat.get(), 115 116 true, 116 117 params.steps.get(), -
src/Actions/MoleculeAction/ForceAnnealingAction.def
rb2acca r216840 9 9 #include <boost/filesystem/path.hpp> 10 10 11 #include <limits> 12 11 13 #include "Parameters/Validators/DummyValidator.hpp" 12 14 #include "Parameters/Validators/GenericValidators.hpp" … … 17 19 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 18 20 // "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)(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)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) 24 26 #define paramvalids \ 25 27 (DummyValidator< boost::filesystem::path >()) \ 28 (RangeValidator< double >(std::numeric_limits<double>::min(), std::numeric_limits<double>::max())) \ 26 29 (NotZeroValidator< unsigned int >()) \ 27 30 (DummyValidator<bool>()) \
Note:
See TracChangeset
for help on using the changeset viewer.