Changeset 2bb3be
- 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:
- 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)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/ForceAnnealingAction.cpp
r866dec r2bb3be 85 85 } 86 86 87 // we always operate relative to current time step, except on single debug output88 87 size_t CurrentStep = WorldTime::getInstance().getTime(); 89 if (params.DoOutput.get()){88 { 90 89 // copy current time step to new one and and proceed on this one 91 90 for (World::AtomSelectionIterator iter = World::getInstance().beginAtomSelection(); -
src/Actions/MoleculeAction/ForceAnnealingAction.def
r866dec r2bb3be 19 19 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 20 20 // "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) 26 26 #define paramvalids \ 27 27 (DummyValidator< boost::filesystem::path >()) \ 28 28 (RangeValidator< double >(std::numeric_limits<double>::min(), std::numeric_limits<double>::max())) \ 29 29 (NotZeroValidator< unsigned int >()) \ 30 (DummyValidator<bool>()) \31 30 (DummyValidator< int >()) \ 32 31 (RangeValidator< double >(0,1)) \ -
tests/regression/Molecules/ForceAnnealing/post/test.conf
r866dec r2bb3be 71 71 Ion_Type2 3 6 1.0 3 3 12.01100000000 Carbon C 72 72 #Ion_TypeNr._Nr.R[0] R[1] R[2] MoveType (0 MoveIon, 1 FixedIon) 73 Ion_Type1_1 9.782085945 2.645886050 2.645886050 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 0 74 Ion_Type1_2 9.782085945 2.645886050 4.425886024 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 1 75 Ion_Type1_3 10.672039608 3.904536878 3.535886037 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 2 76 Ion_Type1_4 8.532785963 4.787886018 2.645886050 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 3 77 Ion_Type1_5 8.532785963 4.787886018 4.425886024 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 4 78 Ion_Type1_6 6.393632318 3.904536877 3.535886037 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 5 79 Ion_Type1_7 7.283585982 2.645886050 2.645886050 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 6 80 Ion_Type1_8 7.283585982 2.645886050 4.425886024 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 7 81 Ion_Type2_1 9.782085945 3.275186040 3.535886037 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 8 82 Ion_Type2_2 8.532785963 4.158586027 3.535886037 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 9 83 Ion_Type2_3 7.283585982 3.275186040 3.535886037 0 1.000000e-01 0.000000e+00 0.000000e+00 # molecule nr 10 84 73 85 Ion_Type1_1 9.782085945 2.645886050 2.645886050 0 # molecule nr 0 74 86 Ion_Type1_2 9.782085945 2.645886050 4.425886024 0 # molecule nr 1 -
tests/regression/Molecules/ForceAnnealing/testsuite-molecules-force-annealing.at
r866dec r2bb3be 25 25 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/pre/test.forces .], 0) 26 26 AT_CHECK([chmod u+w $file], 0) 27 AT_CHECK([../../molecuilder -i $file - -select-all-atoms --force-annealing --forces-file test.forces --steps 1], 0, [stdout], [stderr])27 AT_CHECK([../../molecuilder -i $file -I --select-all-atoms --force-annealing --forces-file test.forces --steps 1], 0, [stdout], [stderr]) 28 28 AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/ForceAnnealing/post/test.conf], 0, [ignore], [ignore]) 29 29 … … 33 33 AT_SETUP([Molecules - Force Annealing with Undo]) 34 34 AT_KEYWORDS([molecules force-annealing undo]) 35 AT_XFAIL_IF([/bin/true]) 35 36 36 37 file=test.conf
Note:
See TracChangeset
for help on using the changeset viewer.