Changeset 56b4c6 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:
- 0477b0
- Parents:
- 985d1f
- git-author:
- Frederik Heber <frederik.heber@…> (05/24/17 09:55:56)
- 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
r985d1f r56b4c6 94 94 true, 95 95 params.steps.get(), 96 params.MaxDistance.get()); 96 params.MaxDistance.get(), 97 params.DampingFactor.get()); 97 98 // parse forces into next step 98 99 if (!params.forcesfile.get().string().empty()) { -
src/Actions/MoleculeAction/ForceAnnealingAction.def
r985d1f r56b4c6 12 12 #include "Parameters/Validators/GenericValidators.hpp" 13 13 #include "Parameters/Validators/Ops_Validator.hpp" 14 #include "Parameters/Validators/RangeValidator.hpp" 14 15 15 16 // i.e. there is an integer with variable name Z that can be found in 16 17 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 17 18 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 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) 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) 23 24 #define paramvalids \ 24 25 (DummyValidator< boost::filesystem::path >()) \ 25 26 (NotZeroValidator< unsigned int >()) \ 26 27 (DummyValidator<bool>()) \ 27 (DummyValidator< int >()) 28 (DummyValidator< int >()) \ 29 (RangeValidator< double >(0,1)) 28 30 29 31 #define statetypes (std::vector<AtomicInfo>)(std::vector<AtomicInfo>)
Note:
See TracChangeset
for help on using the changeset viewer.