Changeset a4b917
- Timestamp:
- Sep 13, 2025, 2:43:45 PM (6 weeks ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 85dd16
- Parents:
- a0d8aa
- git-author:
- Frederik Heber <frederik.heber@…> (08/17/25 17:42:07)
- git-committer:
- Frederik Heber <frederik.heber@…> (09/13/25 14:43:45)
- Files:
-
- 12 added
- 5 edited
-
doc/userguide/userguide.xml (modified) (1 diff)
-
src/Actions/GlobalListOfActions.hpp (modified) (2 diffs)
-
src/Actions/Makefile.am (modified) (6 diffs)
-
src/Actions/PotentialAction/AddPotentialAction.cpp (added)
-
src/Actions/PotentialAction/AddPotentialAction.def (added)
-
src/Actions/PotentialAction/AddPotentialAction.hpp (added)
-
src/Actions/PotentialAction/RemovePotentialAction.cpp (added)
-
src/Actions/PotentialAction/RemovePotentialAction.def (added)
-
src/Actions/PotentialAction/RemovePotentialAction.hpp (added)
-
tests/regression/Makefile.am (modified) (1 diff)
-
tests/regression/Potential/AddPotential/pre/harmonic.potentials (added)
-
tests/regression/Potential/AddPotential/testsuite-potential-add-potential-various_cases.at (added)
-
tests/regression/Potential/AddPotential/testsuite-potential-add-potential.at (added)
-
tests/regression/Potential/RemovePotential/pre/harmonic.potentials (added)
-
tests/regression/Potential/RemovePotential/testsuite-potential-remove-potential-various_cases.at (added)
-
tests/regression/Potential/RemovePotential/testsuite-potential-remove-potential.at (added)
-
tests/regression/Potential/testsuite-potential.at (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/userguide/userguide.xml
ra0d8aa ra4b917 2346 2346 evaluations of terms of the many-body expansion of the Born-Oppenheimer 2347 2347 surface of the full system.</para> 2348 <section xml:id="potentials.add-potential"> 2349 <title xml:id="potentials.add-potential.title">Adding potentials</title> 2350 <para>First of all, potentials can be added using</para> 2351 <programlisting> 2352 ... --add-potential Morse \ 2353 --potential-charges 8 1 2354 </programlisting> 2355 <para>This will add a "Morse" potential between the elements carbon(8) and 2356 hydrogen(1) (the order <emph>not</emph> always irrelevant. Here, for this 2357 pair potential it is).</para> 2358 </section> 2359 <section xml:id="potentials.remove-potential"> 2360 <title xml:id="potentials.remove-potential.title">Removing potentials</title> 2361 <para>And similarly, potentials can be removed using</para> 2362 <programlisting> 2363 ... --remove-potential Morse \ 2364 --potential-charges 8 1 2365 </programlisting> 2366 <para>This will remove a "Morse" potential between the elements carbon(8) and 2367 hydrogen(1).</para> 2368 <note>Typically, however, you do not want to add potentials this way. They 2369 lack the parametrization that make them any useful. In the following, we 2370 present more actions for fitting the potential to calculcated energies and 2371 forces and thus obtaining such a useful parametrization.</note> 2372 </section> 2348 2373 <section xml:id="potentials.fit-potential"> 2349 2374 <title xml:id="potentials.fit-potential.title">Fitting empirical potentials</title> -
src/Actions/GlobalListOfActions.hpp
ra0d8aa ra4b917 105 105 (MoleculeTranslate) \ 106 106 (MoleculeVerletIntegration) \ 107 (PotentialAddPotential) \ 107 108 (PotentialClearHomologies) \ 108 109 (PotentialFitPartialCharges) \ … … 112 113 (PotentialParseParticleParameters) \ 113 114 (PotentialParsePotentials) \ 115 (PotentialRemovePotential) \ 114 116 (PotentialSaveAtomFragments) \ 115 117 (PotentialSaveHomologies) \ -
src/Actions/Makefile.am
ra0d8aa ra4b917 435 435 436 436 POTENTIALACTIONSOURCE = \ 437 Actions/PotentialAction/AddPotentialAction.cpp \ 437 438 Actions/PotentialAction/ClearHomologiesAction.cpp \ 438 439 Actions/PotentialAction/FitPartialChargesAction.cpp \ … … 442 443 Actions/PotentialAction/ParseParticleParametersAction.cpp \ 443 444 Actions/PotentialAction/ParsePotentialsAction.cpp \ 445 Actions/PotentialAction/RemovePotentialAction.cpp \ 444 446 Actions/PotentialAction/SaveAtomFragmentsAction.cpp \ 445 447 Actions/PotentialAction/SaveHomologiesAction.cpp \ … … 447 449 Actions/PotentialAction/SavePotentialsAction.cpp 448 450 POTENTIALACTIONHEADER = \ 451 Actions/PotentialAction/AddPotentialAction.hpp \ 449 452 Actions/PotentialAction/ClearHomologiesAction.hpp \ 450 453 Actions/PotentialAction/FitPartialChargesAction.hpp \ … … 454 457 Actions/PotentialAction/ParseParticleParametersAction.hpp \ 455 458 Actions/PotentialAction/ParsePotentialsAction.hpp \ 459 Actions/PotentialAction/RemovePotentialAction.hpp \ 456 460 Actions/PotentialAction/SaveAtomFragmentsAction.hpp \ 457 461 Actions/PotentialAction/SaveHomologiesAction.hpp \ … … 459 463 Actions/PotentialAction/SavePotentialsAction.hpp 460 464 POTENTIALACTIONDEFS = \ 465 Actions/PotentialAction/AddPotentialAction.def \ 461 466 Actions/PotentialAction/ClearHomologiesAction.def \ 462 467 Actions/PotentialAction/FitPartialChargesAction.def \ … … 466 471 Actions/PotentialAction/ParseParticleParametersAction.def \ 467 472 Actions/PotentialAction/ParsePotentialsAction.def \ 473 Actions/PotentialAction/RemovePotentialAction.def \ 468 474 Actions/PotentialAction/SaveAtomFragmentsAction.def \ 469 475 Actions/PotentialAction/SaveHomologiesAction.def \ -
tests/regression/Makefile.am
ra0d8aa ra4b917 234 234 $(srcdir)/Parser/Xyz/testsuite-parser-xyz-save.at \ 235 235 $(srcdir)/Potential/testsuite-potential.at \ 236 $(srcdir)/Potential/AddPotential/testsuite-potential-add-potential.at \ 237 $(srcdir)/Potential/AddPotential/testsuite-potential-add-potential-various_cases.at \ 236 238 $(srcdir)/Potential/FitCompoundPotential/testsuite-potential-fit-compound-potential.at \ 237 239 $(srcdir)/Potential/FitPartialCharges/testsuite-potential-fit-partial-charges.at \ 238 240 $(srcdir)/Potential/FitPotential/testsuite-potential-fit-potential.at \ 239 241 $(srcdir)/Potential/GeneratePotentials/testsuite-potential-generate-potentials.at \ 242 $(srcdir)/Potential/RemovePotential/testsuite-potential-remove-potential.at \ 243 $(srcdir)/Potential/RemovePotential/testsuite-potential-remove-potential-various_cases.at \ 240 244 $(srcdir)/Potential/SaveParseParticleParameters/testsuite-potential-save-parse-particle-parameters.at \ 241 245 $(srcdir)/Potential/SaveParsePotentials/testsuite-potential-save-parse-potentials.at \ -
tests/regression/Potential/testsuite-potential.at
ra0d8aa ra4b917 19 19 AT_BANNER([MoleCuilder - potential tests]) 20 20 21 # adding a potential 22 m4_include([Potential/AddPotential/testsuite-potential-add-potential.at]) 23 m4_include([Potential/AddPotential/testsuite-potential-add-potential-various_cases.at]) 24 21 25 # parsing and saving potential file 22 26 m4_include([Potential/SaveParsePotentials/testsuite-potential-save-parse-potentials.at]) 27 28 # removing a potential 29 m4_include([Potential/RemovePotential/testsuite-potential-remove-potential.at]) 30 m4_include([Potential/RemovePotential/testsuite-potential-remove-potential-various_cases.at]) 23 31 24 32 # fitting potential to fragment results
Note:
See TracChangeset
for help on using the changeset viewer.
