Changeset fdd121
- Timestamp:
- Nov 5, 2017, 1:55:28 AM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued_betteresults
- Children:
- d79ef32
- Parents:
- 5b6afad
- git-author:
- Frederik Heber <frederik.heber@…> (05/24/17 09:55:56)
- git-committer:
- Frederik Heber <frederik.heber@…> (11/05/17 01:55:28)
- Files:
- 
      - 4 edited
 
 - 
          
  src/Actions/MoleculeAction/ForceAnnealingAction.cpp (modified) (1 diff)
- 
          
  src/Actions/MoleculeAction/ForceAnnealingAction.def (modified) (1 diff)
- 
          
  src/Dynamics/ForceAnnealing.hpp (modified) (1 diff)
- 
          
  tests/Python/AllActions/options.dat (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      src/Actions/MoleculeAction/ForceAnnealingAction.cppr5b6afad rfdd121 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.defr5b6afad rfdd121 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>) 
- 
      src/Dynamics/ForceAnnealing.hppr5b6afad rfdd121 62 62 bool _IsAngstroem, 63 63 const size_t _maxSteps, 64 const int _max_distance) : 64 const int _max_distance, 65 const double _damping_factor) : 65 66 AtomicForceManipulator<T>(_atoms, 1., _IsAngstroem), 66 67 maxSteps(_maxSteps), 67 68 max_distance(_max_distance), 68 damping_factor( 0.5)69 damping_factor(_damping_factor) 69 70 {} 70 71 /** Destructor of class ForceAnnealing. 
- 
      tests/Python/AllActions/options.datr5b6afad rfdd121 49 49 count "12" 50 50 create-micelle "200" 51 damping-factor "0.5" 51 52 default-molname "molname" 52 53 deltat "0.01" 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
