Changeset b2acca 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:
- 216840
- Parents:
- ecfcf6
- git-author:
- Frederik Heber <frederik.heber@…> (06/20/17 20:26:12)
- 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
recfcf6 rb2acca 128 128 // perform optimization step 129 129 LOG(1, "Structural optimization."); 130 optimizer(CurrentStep, 1 );130 optimizer(CurrentStep, 1, params.UseBondGraph.get()); 131 131 STATUS("Successfully optimized structure by one step."); 132 132 -
src/Actions/MoleculeAction/ForceAnnealingAction.def
recfcf6 rb2acca 17 17 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 18 18 // "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) 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) 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) 24 24 #define paramvalids \ 25 25 (DummyValidator< boost::filesystem::path >()) \ … … 27 27 (DummyValidator<bool>()) \ 28 28 (DummyValidator< int >()) \ 29 (RangeValidator< double >(0,1)) 29 (RangeValidator< double >(0,1)) \ 30 (DummyValidator<bool>()) 30 31 31 32 #define statetypes (std::vector<AtomicInfo>)(std::vector<AtomicInfo>)
Note:
See TracChangeset
for help on using the changeset viewer.