Changeset 2082637
- Timestamp:
- May 7, 2016, 7:03:56 AM (9 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 708ec1
- Parents:
- fde8e7
- git-author:
- Frederik Heber <heber@…> (02/29/16 17:14:58)
- git-committer:
- Frederik Heber <heber@…> (05/07/16 07:03:56)
- Files:
-
- 8 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/userguide/userguide.xml
rfde8e7 r2082637 1843 1843 to give the range of the excluded zone.</para> 1844 1844 </section> 1845 <section xml:id="potentials.parse-particle-parameters"> 1846 <title xml:id="potentials.parse-particle-parameters.title">Parsing a particles file</title> 1847 <para>Empirical Potential contain parameters for function that model 1848 interactions between two or more specific particles. However, 1849 interactions can also be more general, such as a Coulomb 1850 potential, that interacts with any other particle with non-zero 1851 charge, or Lennard-Jones potential that interacts with any other 1852 particle close enough. 1853 Parameters for these particles are encoded in the internal Particle 1854 class and are parsed from and stored to a special particles file. 1855 This parse particle parameters function loads the parameters from 1856 a file, instantiates them in a new particle, and registers them 1857 such that they are known within molecuilder.</para> 1858 <para>More particles can be registered (<emphasis role="bold">fit-partial-charges</emphasis> will also 1859 register the particles it fits) by parsing them from a file.</para> 1860 <programlisting> 1861 ... --parse-particle-parameters water.particles 1862 </programlisting> 1863 <note>Currently, only <productname>TREMOLO</productname>particles files are understood and can be parsed.</note> 1864 </section> 1865 <section xml:id="potentials.save-particle-parameters"> 1866 <title xml:id="potentials.save-particle-parameters.title">Saving a particles file</title> 1867 <para>The opposite to <emphasis role="bold">parse-particle-parameters</emphasis> 1868 is to save all currently registered particle and their parameters to 1869 the given file.</para> 1870 <programlisting> 1871 ... --save-particle-parameters water.particles 1872 </programlisting> 1873 <note>Again, only the <productname>TREMOLO</productname>particles format is understood currently and is written.</note> 1874 </section> 1845 1875 </section> 1846 1876 <section xml:id="dynamics"> -
src/Actions/GlobalListOfActions.hpp
rfde8e7 r2082637 91 91 (PotentialFitPartialCharges) \ 92 92 (PotentialParseHomologies) \ 93 (PotentialParseParticleParameters) \ 93 94 (PotentialParsePotentials) \ 94 95 (PotentialSaveHomologies) \ 96 (PotentialSaveParticleParameters) \ 95 97 (PotentialSavePotentials) \ 96 98 (ParserParseTremoloPotentials) \ -
src/Actions/Makefile.am
rfde8e7 r2082637 376 376 Actions/PotentialAction/FitPartialChargesAction.cpp \ 377 377 Actions/PotentialAction/ParseHomologiesAction.cpp \ 378 Actions/PotentialAction/ParseParticleParametersAction.cpp \ 378 379 Actions/PotentialAction/ParsePotentialsAction.cpp \ 379 380 Actions/PotentialAction/SaveHomologiesAction.cpp \ 381 Actions/PotentialAction/SaveParticleParametersAction.cpp \ 380 382 Actions/PotentialAction/SavePotentialsAction.cpp 381 383 POTENTIALACTIONHEADER = \ 382 384 Actions/PotentialAction/FitPartialChargesAction.hpp \ 383 385 Actions/PotentialAction/ParseHomologiesAction.hpp \ 386 Actions/PotentialAction/ParseParticleParametersAction.hpp \ 384 387 Actions/PotentialAction/ParsePotentialsAction.hpp \ 385 388 Actions/PotentialAction/SaveHomologiesAction.hpp \ 389 Actions/PotentialAction/SaveParticleParametersAction.hpp \ 386 390 Actions/PotentialAction/SavePotentialsAction.hpp 387 391 POTENTIALACTIONDEFS = \ 388 392 Actions/PotentialAction/FitPartialChargesAction.def \ 389 393 Actions/PotentialAction/ParseHomologiesAction.def \ 394 Actions/PotentialAction/ParseParticleParametersAction.def \ 390 395 Actions/PotentialAction/ParsePotentialsAction.def \ 391 396 Actions/PotentialAction/SaveHomologiesAction.def \ 397 Actions/PotentialAction/SaveParticleParametersAction.def \ 392 398 Actions/PotentialAction/SavePotentialsAction.def 393 399 -
src/Actions/PotentialAction/FitPartialChargesAction.cpp
rfde8e7 r2082637 56 56 57 57 #include "Element/element.hpp" 58 #include "Element/periodentafel.hpp" 58 59 #include "Fragmentation/Homology/HomologyContainer.hpp" 59 60 #include "Fragmentation/Homology/HomologyGraph.hpp" -
tests/Python/AllActions/options.dat
rfde8e7 r2082637 128 128 output-types "xyz mpqc" 129 129 parse-homologies "homology.dat" 130 parse-particle-parameters "water.particles" 130 131 parse-potentials "water.potentials" 131 132 parse-tremolo-potentials "argon.potentials" … … 167 168 save-bonds "test.bond" 168 169 save-homologies "homology.dat" 170 save-particle-parameters "water.particles" 169 171 save-potentials "water.potentials" 170 172 save-selected-atoms "testsave.xyz" -
tests/regression/Makefile.am
rfde8e7 r2082637 186 186 $(srcdir)/Potential/FitPartialCharges/testsuite-potential-fit-partial-charges.at \ 187 187 $(srcdir)/Potential/FitPotential/testsuite-potential-fit-potential.at \ 188 $(srcdir)/Potential/SaveParseParticleParameters/testsuite-potential-save-parse-particle-parameters.at \ 188 189 $(srcdir)/Potential/SaveParsePotentials/testsuite-potential-save-parse-potentials.at \ 189 190 $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \ -
tests/regression/Potential/testsuite-potential.at
rfde8e7 r2082637 25 25 m4_include([Potential/FitPotential/testsuite-potential-fit-potential.at]) 26 26 27 # parsing and saving particles file 28 m4_include([Potential/SaveParseParticleParameters/testsuite-potential-save-parse-particle-parameters.at]) 29 27 30 # fitting particle charges to fragment results 28 31 m4_include([Potential/FitPartialCharges/testsuite-potential-fit-partial-charges.at])
Note:
See TracChangeset
for help on using the changeset viewer.