Compare commits

..

201 Commits

Author SHA1 Message Date
ad125bf36a Merge pull request #1881 from akohlmey/next_lammps_version
Update version string for next patch release
2020-02-17 14:53:17 -05:00
fe6f6b3002 Merge pull request #1869 from akohlmey/doc-continued-refactoring
More documentation refactoring for embedding math expressions
2020-02-17 13:06:07 -05:00
f9bee338dd Merge pull request #1875 from akohlmey/collected-small-fixes
Collected small bug fixes and updates
2020-02-17 11:40:27 -05:00
f69c6196a0 Merge branch 'master' into doc-continued-refactoring
# Conflicts:
#	doc/src/compute_fep.rst
2020-02-17 17:37:10 +01:00
c8561ecef0 Merge pull request #1879 from akohlmey/user-plumed-update
Update USER-PLUMED to include support for version 2.6.0. Fix bug in API check
2020-02-17 11:32:10 -05:00
d01b0ed543 Merge pull request #1882 from agiliopadua/docs
Convert documentation of compute_fep, pair_fep_soft, pair_nm to mathjax
2020-02-17 11:31:43 -05:00
b30670d405 correct some grammar and style issues in describing using/building LAMMPS on windows 2020-02-17 10:27:57 +01:00
4a2f05d333 convert pair styles srp to tersoff 2020-02-16 13:42:37 -05:00
3f5bb96aed pair ufm to pair zbl 2020-02-15 16:47:32 -05:00
a508138510 convert wall fixes to embedded math 2020-02-15 12:13:32 -05:00
b25f781071 convert docs for more fixes 2020-02-15 11:35:21 -05:00
0e2604fc80 Convert documentation of compute_fep and pair_fep_soft to mathjax 2020-02-15 16:19:39 +01:00
fd8cd6faa5 typeset hyperdynamics fix docs with embedded math 2020-02-15 06:50:04 -05:00
b0de48e47f convert some more fixes 2020-02-15 02:31:50 -05:00
f4b64e8d91 fix typo in comment 2020-02-14 18:29:11 -05:00
07c5adc57a we need more specific matches to correctly handle TIME and TIMESTEP items 2020-02-14 16:07:34 -05:00
381ac888c8 initialize cut_respa to NULL in constructor to avoid uninitialized access 2020-02-14 15:51:38 -05:00
9bff431553 make sure coulomb tables are initialized in all coul/long GPU pair styles 2020-02-14 15:50:49 -05:00
0b57549f4c must generate coulomb tables with pair style lj/class2/coul/long/gpu 2020-02-14 15:34:12 -05:00
c23f164639 Increase portability to more C++ compilers 2020-02-14 13:40:31 -05:00
2de515c671 improve layout 2020-02-14 12:31:55 +01:00
74a2fd973b convert docs for fixes eos/cv, eos/table/rx, gcmc, grem, langevin/spin, lb/fluid 2020-02-14 12:27:55 +01:00
c47245c629 update/correct lammps executable manpage 2020-02-14 10:33:08 +01:00
d7a7c103ca Update version string for next patch release 2020-02-14 09:55:56 +01:00
7b32b1e595 Update pair_body_rounded_polyhedron docs 2020-02-14 09:52:06 +01:00
b1493d651f Update pair_body_rounded_polygon docs 2020-02-14 09:44:03 +01:00
f70e39c366 update fix ave/correlate/long docs to include info about limitations in output options vs. ave/correlate 2020-02-14 09:30:06 +01:00
147d430a6d Update pair_body_nparticle docs 2020-02-14 09:27:55 +01:00
e339e1735d Update pair_beck docs 2020-02-14 09:19:32 +01:00
076c28538c Merge branch 'read_dump_item_time' of https://github.com/mkanski/lammps into collected-small-fixes 2020-02-13 13:13:24 -05:00
9e35b85335 Merge remote-tracking branch 'github/master' into collected-small-fixes 2020-02-13 13:13:12 -05:00
7c62bce7d9 Enable reading dump file with ITEM:TIME 2020-02-13 18:13:22 +01:00
4cacc4701d update plumed support to include version 2.6.0. Fix bug in API check 2020-02-13 16:03:58 +01:00
5d467bcc74 Merge pull request #1876 from Vsevak/tip4p_gpu_sharedtypes
TIP4P GPU kernel: shared memory optimization
2020-02-12 11:11:17 -05:00
10a76affd4 Merge pull request #1877 from ellio167/openkim-models-docs
Add openkim-models install instructions
2020-02-12 11:08:25 -05:00
cf67c16fcb Add openkim-models install instructions 2020-02-11 22:33:56 -06:00
d024b3d340 Add shared memory optimization 2020-02-12 01:35:44 +03:00
bfaae6860e fix controller 2020-02-11 16:28:45 +01:00
e4a730d57a fix bond/react, box/relax, ehex 2020-02-11 16:14:00 +01:00
6d5c001b61 delete no longer used equations 2020-02-11 14:57:31 +01:00
440f3b9492 correct for typo in txt style markup 2020-02-11 14:54:54 +01:00
3314b4853e convert compute xrd to use embedded math 2020-02-11 11:26:29 +01:00
002fff95c6 copy large target image files only once 2020-02-11 11:07:55 +01:00
ed9c8b4ea0 reset Modify::n_timeflag in post_run() so we won't skip computes defined between runs 2020-02-11 00:30:09 -05:00
23b7adc9b2 we must defer to Modify::addstep_compute_all() if Modify::addstep_compute() if n_timeflag has not been set 2020-02-11 00:06:41 -05:00
ec3e687b0c fix bug in set type/ratio when operating on subsets 2020-02-10 16:22:23 -05:00
c8034d19c4 fix up remaining computes for embedded math and a few other issues 2020-02-10 16:21:19 -05:00
e952bcb5ac Fix pdf build of pair_atm docs 2020-02-08 20:09:40 +01:00
86ebc8260e Update pair_atm docs 2020-02-08 19:24:27 +01:00
712dbe6acc Update pair_airebo docs 2020-02-08 19:07:54 +01:00
5bb28e9e84 Update pair_agni docs 2020-02-08 18:36:34 +01:00
01805cf6ce Update pair_adp 2020-02-08 18:09:19 +01:00
db805bc009 first chunk of compute commands to be converted to use embedded math 2020-02-04 17:05:23 -05:00
301a662a1d cosmetic corrections 2020-02-03 13:41:50 -05:00
f0935feabe Merge pull request #1868 from akohlmey/next_patch_version
Step version strings for next patch release
2020-02-03 11:50:12 -05:00
966bc626fc Merge pull request #1858 from akohlmey/fft-consistency
Improved consistency and thread support in FFTs
2020-02-03 11:14:16 -05:00
f95428ee5e Merge pull request #1867 from akohlmey/doc-convert-to-mathjax
Convert more documentation to use embedded math expressions
2020-02-03 11:11:33 -05:00
b71e41dc8a minor fixes 2020-02-03 10:48:04 -05:00
1827ce1d32 update dynamical_matrix docs 2020-02-03 09:01:31 -05:00
73364404a1 Step version strings for next patch release 2020-02-03 07:18:31 -05:00
ecf30b47a0 Convert and revise a few more files (minimize, neb, tricilinic) 2020-02-02 22:35:39 -05:00
fde2a59b0e update documentation for contributing files and building the manual to using rst files 2020-02-02 19:05:35 -05:00
5b557ca4c8 remove references to .txt files for building the documentation 2020-02-02 18:50:49 -05:00
8ef3d77724 Convert documentation of improper styles from images to mathjax 2020-02-02 18:22:40 -05:00
949f88eb65 Convert documentation of dihedral styles from images to mathjax 2020-02-02 17:22:54 -05:00
bbf229e8cc Merge pull request #1866 from YunxingZuo/master
add SNAP and quadratic SNAP potentials for six elemental systems
2020-02-02 06:55:09 -05:00
0a10f5567a correct potential file format to be compatible with latest lammps 2020-01-31 21:04:03 -08:00
01a6608fb6 add SNAP and quadratic SNAP potentials for six elemental systems 2020-01-31 19:30:02 -08:00
2b6a022309 Merge branch 'master' into fft-consistency 2020-01-31 20:51:58 -05:00
dd91d519e1 Merge pull request #1703 from jboschen/nwchem
add NWChem wrapper to client/server mode for AIMD
2020-01-31 20:50:51 -05:00
5983c2a87d Merge pull request #1864 from akohlmey/doc-remove-redundant-links
More documentation ReStructuredText cleanup
2020-01-31 17:32:51 -05:00
472fe8216f address spelling errors 2020-01-31 16:54:27 -05:00
b66717d8cb add one more missing link 2020-01-31 16:40:41 -05:00
a9a2a9fef9 provide updated information on how to report bugs on github or via e-mail 2020-01-31 16:39:34 -05:00
f386598c54 restore missing links 2020-01-31 16:39:09 -05:00
1a4e6228a2 add false positive 2020-01-31 15:59:26 -05:00
21a80e9b50 fix typo 2020-01-31 15:57:52 -05:00
8fd2ab78f1 Merge branch 'master' into nwchem
# Conflicts:
#	doc/src/Howto_client_server.rst
#	doc/src/server_md.txt
2020-01-31 15:56:25 -05:00
97addd2bee Merge branch 'master' into doc-remove-redundant-links
# Conflicts:
#	doc/src/min_modify.rst
#	doc/src/min_style.rst
#	doc/src/minimize.rst
2020-01-31 15:39:25 -05:00
947827fe1f Merge pull request #1052 from jguenole/adaptglok
Optimized implementation of FIRE
2020-01-31 15:24:00 -05:00
0f37e641eb restore one global definition of previously removed links, that are still in use 2020-01-31 14:09:12 -05:00
3169ef772b delete superfluous horizontal line plus preceding empty lines at the end of doc files 2020-01-31 14:06:14 -05:00
cdf2f66c0a delete empty lines at the end of files 2020-01-31 14:03:52 -05:00
ce10fd01a8 remove redundant/obsolete link definitions 2020-01-31 14:00:53 -05:00
b524db88a3 Merge remote-tracking branch 'github/master' into adaptglok
# Conflicts:
#	doc/src/min_modify.rst
2020-01-31 12:24:59 -05:00
56ff70de70 Merge pull request #1860 from akohlmey/collected-small-changes
Collected small changes for next patch release
2020-01-31 12:21:17 -05:00
39188da85b Merge pull request #1857 from ohenrich/user-cgdna
USER-CGDNA: Increased tolerance for fatal error in FENE bond
2020-01-31 12:20:57 -05:00
710929da1d Merge pull request #1861 from akohlmey/doc-link-escape-removal
Documentation link formatting cleanup and fixup
2020-01-31 11:00:27 -05:00
6424883daf apply revisions suggested by @sjplimp 2020-01-31 10:52:31 -05:00
82aab36898 reset array size since we don't use the last element anymore 2020-01-31 09:59:35 -05:00
2069c7a5fd correct incorrect bugfix 2020-01-31 09:58:04 -05:00
31c4833707 correct out-of-bounds array access in RanMars::select_subset() 2020-01-31 09:51:23 -05:00
ed628a2de7 remove some more unneeded backslash escapes and fix up a few more doc links 2020-01-31 09:01:26 -05:00
82286702cb switch OpenMP pragma to default(shared), so it is compatible with all OpenMP standard versions 2020-01-31 08:32:14 -05:00
bc3807aa4b Fix sign of forces in AO mode, update h2o examples 2020-01-31 00:42:00 -06:00
e4cf0a07a0 remove more \_ escapes from doc anchors and a bunch of other issues found in the process 2020-01-31 00:45:13 -05:00
bb94303e73 remove backslash escapes from link anchors 2020-01-30 17:04:09 -05:00
c732ccc0f8 remove trailing whitespace 2020-01-30 17:02:06 -05:00
f872d374a0 Merge branch 'adaptglok' of github.com:jguenole/lammps into adaptglok 2020-01-30 17:00:10 -05:00
6369ab230e make inclusion guard defines consistent with LAMMPS and avoid redefinition of MAX() 2020-01-30 16:56:02 -05:00
9fade740fb Fix issue with Kokkos FFT_CUFFT 2020-01-30 13:27:36 -07:00
a50563d582 Fix issue with Kokkos FFTW3 2020-01-30 13:03:15 -07:00
4ea9dea19c More Kokkos FFT refactor 2020-01-30 12:04:57 -07:00
292fc77dce correct broken links to commands 2020-01-30 12:55:59 -05:00
eb7958d04c update documentation for pair_modify to reflect code changes and clarify the use of special 2020-01-30 12:55:25 -05:00
ef30d0ed7b Add missing endif 2020-01-29 17:32:25 -07:00
f8e2543c44 Move FFT data types out of kokkos_type.h 2020-01-29 17:15:47 -07:00
1851a9f7d4 Refactor Kokkos FFT_DATA 2020-01-29 16:21:33 -07:00
0613790b6b support having the keyword special multiple times after pair in pair_modify 2020-01-29 17:23:11 -05:00
0d0c5e2961 make KOKKOS and KSPACE FFT3d code more consistent and remove redundant code 2020-01-29 16:37:29 -05:00
ccd395fdd8 remove dead code 2020-01-29 14:34:03 -05:00
5962e880d4 remove some unneeded backslash escapes 2020-01-29 14:33:36 -05:00
426ca97aa6 correct bug introduced in previous commit 2020-01-29 17:53:10 +01:00
1e7f09bded removing deprecated functions in log comment 2020-01-29 17:50:56 +01:00
60b9627657 one missing example 2020-01-29 17:48:58 +01:00
c855bbb6bf Merge branch 'master' into adaptglok 2020-01-29 11:42:25 -05:00
6bd23f4909 New example folder for fire 2020-01-29 17:31:20 +01:00
668feb22b5 Merge pull request #1859 from giacomofiorin/colvars-update
Update Colvars library to version 2020-01-27
2020-01-28 16:01:59 -05:00
9427fc50a5 Update Colvars library to version 2020-01-27
One new feature (arithmetic path variables) and several smaller enhancements
or bugfixes.

    Fix error check when loading an old state file
    https://github.com/Colvars/colvars/pull/317

    Get default values for grid boundaries when available
    https://github.com/Colvars/colvars/pull/310

    Allow redefining existing index groups (warn when this happens)
    https://github.com/Colvars/colvars/pull/302

    Simplified replica communication syntax in metadynamics
    https://github.com/Colvars/colvars/pull/301

    Obtain the bias_energy for ABF biases
    https://github.com/Colvars/colvars/pull/294

    Fix reading path file with vector CVCs
    https://github.com/Colvars/colvars/pull/288

    Fix segfault at deleting CVBasedPath
    https://github.com/Colvars/colvars/pull/286

    Parrinello's (arithmetic) pathCV in CV space
    https://github.com/Colvars/colvars/pull/274

    Fix race condition when starting a bundle of walkers
    https://github.com/Colvars/colvars/pull/279
2020-01-28 14:15:05 -05:00
e9b6824e11 correct spelling 2020-01-28 16:27:19 +01:00
a3d10d537c Updated documentation 2020-01-28 16:03:49 +01:00
197ba62cd9 Change fire to fire/old and fire2 to fire. Implement normstyle in fire. Update author affiliation. 2020-01-28 14:51:23 +01:00
5eef3b1828 Merge pull request #1855 from akohlmey/remove-txt-files
Remove txt sources of rst files from doc folder
2020-01-27 12:04:37 -05:00
99cfc9e668 small documentation tweak 2020-01-27 11:17:08 -05:00
795f2fd894 properly support threaded FFTs with MKL and document it. remove commented out FFTW2 code 2020-01-27 11:00:57 -05:00
ec381964e4 Merge branch 'master' into remove-txt-files
# Conflicts:
#	doc/src/Build_settings.rst
2020-01-24 21:32:24 -05:00
0302c0ba24 correct malformed tables 2020-01-24 12:30:15 -05:00
c9cc13c2a6 add mpi4py url and expand/update the python with MPI introduction 2020-01-24 11:27:43 -05:00
899a654161 Merge branch 'master' into user-cgdna 2020-01-24 14:21:55 +00:00
23febc7101 Increased tolerance for fatal error in FENE bond argument 2020-01-24 14:19:18 +00:00
fa4d9ff0d8 remove automatic translation of .txt to .rst and references to txt folder 2020-01-23 16:56:41 -05:00
daa5efe1fd remove .txt doc sources 2020-01-23 16:53:11 -05:00
72d8bea459 remove backslash escapes for underscore in doc references 2020-01-23 16:52:38 -05:00
958b8d96a9 expand explanations about setting the python version for the python wrapper 2020-01-23 00:14:44 -05:00
204fb6f7ed fix issue with standalone anchor_check 2020-01-22 23:51:53 -05:00
ea24ec8d6a minor formatting edits 2020-01-14 09:15:05 -07:00
95a3abc74e Merge branch 'master' into fire 2020-01-14 08:53:40 -07:00
6297c685e8 Add missing false positives for spell check 2019-11-27 11:38:53 -05:00
453d03177d Remove UTF-8 characters 2019-11-27 11:36:37 -05:00
41666be740 Update RST docs and remove txt files 2019-11-27 11:22:16 -05:00
489b7eb2a2 Merge branch 'master' into adaptglok 2019-11-27 11:12:00 -05:00
4859f3e534 Minor documentation correction 2019-10-24 15:29:07 +02:00
f758d0670e Small documentation simplification 2019-10-24 15:27:44 +02:00
9215bce14f Updated and simplified documentation 2019-10-24 15:06:43 +02:00
1cb9e0d86d Remove unecessary compute 2019-10-24 14:20:03 +02:00
4a669bb883 Renamed: adaptglok -> fire2 2019-10-24 14:14:00 +02:00
549c8ee734 Renamed: adaptglok -> fire2 2019-10-24 14:11:16 +02:00
b9d68f93af remove debug statement 2019-10-03 17:04:40 -06:00
5c92e5aa01 added W minimization example 2019-10-03 17:02:04 -06:00
319df973d9 Fix typo in cmd line 2019-10-02 11:27:21 -05:00
80168d0d5a Automatically append input file to nwchemcmd 2019-10-02 11:11:50 -05:00
214850088b add NWChem wrapper to client/server mode for AIMD 2019-09-27 15:28:48 -06:00
48967a6fd6 Updated documentation 2019-09-19 16:05:57 +02:00
de78e309cf Resolved merge conflict by accepting incomming changes 2019-09-19 15:59:38 +02:00
11bc0601de minor correction in LeapFrog integration 2019-09-03 18:08:24 +02:00
c2e4009106 Remove option relaxbox from adaptglok: wrong behavior with non-P boundaries. Code cleanup. 2019-05-29 10:37:53 +02:00
58d99f5e1f add keywords in false_positive.txt to correct doc comppilation warnings 2019-05-27 18:38:13 +02:00
1a5c448ae1 doc correction 2019-05-27 17:49:14 +02:00
9f08b1c316 finalize merge 2019-05-27 16:43:06 +02:00
8f90dc54bf relaxbox: updated documentation 2018-11-20 17:41:59 +01:00
0d9cd31764 relax_box: add nb build check, add zeroing v 2018-11-20 17:27:38 +01:00
b0004bfd57 minor opt.: check for nb build 2018-11-19 20:13:13 +01:00
98868cd66d cleanup of relax_box method 2018-11-19 14:07:25 +01:00
6d5f495965 Merge branch 'fix-relaxbox' into adaptglok 2018-11-19 13:37:15 +01:00
0912054fca re-writting relax_box method 2018-11-19 13:18:55 +01:00
c047de5ad8 minor: validation of relaxbox_rate 2018-09-17 17:06:15 +02:00
beb9cf6ead Correct default value for tmax 2018-09-14 18:17:57 +02:00
0bc4e8665e update default value for tmax 2018-09-14 18:13:24 +02:00
3eb53cb1a4 Doc corrections 2018-08-16 13:40:17 +02:00
69860a7944 Merge branch 'master' into adaptglok 2018-08-13 10:59:36 +02:00
d4e27c833c update doc 2018-07-13 12:22:29 +02:00
f586d7c197 Merge remote-tracking branch 'upstream/master' 2018-03-21 18:06:06 +01:00
00bbe7c612 New stopping criterion based on v.f number. Timestep reset moved to min.* 2017-09-06 11:57:29 +02:00
a296c43d78 flag to control the initial delay for dtshrink 2017-09-01 20:49:32 +02:00
16934e4ce4 marged with last stable 2017-08-18 19:34:19 +02:00
0d901e8535 Final polish of boxrelax. Updated documentation. 2017-08-16 20:01:16 +02:00
6345e6b760 Finalized boxrelax option 2017-08-16 16:54:49 +02:00
a2cf4e98b7 partially adding boxrelax 2017-08-16 11:48:41 +02:00
a438d2c856 Removing relaxbox code. Cleanup of the code. Add some parameter check. Improved documentation. 2017-08-15 17:02:58 +02:00
0ef2f3749e cleanup repository 2017-08-15 13:38:59 +02:00
d156263f54 Add relax_box function. Adapted documentation. 2017-08-11 13:39:13 +02:00
8053375a72 Remove un-necessary option adaptstep in adaptglok. Adapted documentation. 2017-08-07 17:35:24 +02:00
bf85b04aaf New options adaptstep and halfstepback in adaptglok. Adapted documentation. 2017-08-04 16:43:23 +02:00
f9315a7ad9 Correct calculation of the Forces within the Verlet integrator. Updated doc. 2017-07-17 14:10:17 +02:00
e5e630ee09 new integrator to adaptblok: standard Euler (idem lammps-Fire) 2017-07-14 14:23:00 +02:00
89c9c32c30 multi-integrator version of adaptglok: semi-implicit Euler, Verlet and Leap Frog 2017-07-12 21:58:23 +02:00
a0002432cf remove test folder 2017-07-11 20:20:54 +02:00
e19a98d1d7 Merge branch 'master' of https://github.com/jguenole/lammps-new-fire
Merge to the last versionO
2017-07-11 20:16:04 +02:00
c82ef3027f Merge pull request #1 from lammps/master
Syncing with the last version of lammps/lammps
2017-07-11 20:12:31 +02:00
5055b2ab7d Merge remote-tracking branch 'upstream/master' 2017-07-11 20:04:26 +02:00
3477015296 remove .vscode folder 2017-07-11 17:50:35 +02:00
9c9f6933cd final cleanup? min_modify options, quick documentation 2017-07-11 17:46:24 +02:00
7d1a76f6a5 more cleanup, var name, remove screen output 2017-07-11 16:17:21 +02:00
690d93f763 more cleanup 2017-07-11 15:02:43 +02:00
fc31bde345 cleanup 2017-07-11 14:28:56 +02:00
74b761974f cleanup 2017-07-11 14:28:20 +02:00
c3ea0c7928 Update to Velocity-Verlet 2017-07-10 19:38:05 +02:00
fe940abecf update 2017-06-30 18:35:59 +02:00
885c0bbd4b work-in-progress version of adaptglok 2017-05-25 16:57:20 +02:00
0be11eb801 Merge branch 'master' of https://github.com/lammps/lammps 2017-05-15 15:05:45 +02:00
a624ed90c1 add min_adaptglok from Wolfram 2017-05-15 14:48:19 +02:00
1884 changed files with 23502 additions and 110127 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ vgcore.*
.vagrant
\#*#
.#*
.vscode
.DS_Store
.DS_Store?

View File

@ -739,7 +739,7 @@ if(PKG_KSPACE)
else()
message(STATUS "Using double precision FFTs")
endif()
if(FFT_FFTW_THREADS)
if(FFT_FFTW_THREADS OR FFT_MKL_THREADS)
message(STATUS "Using threaded FFTs")
else()
message(STATUS "Using non-threaded FFTs")

View File

@ -22,7 +22,7 @@ if(PKG_KSPACE)
include_directories(${${FFTW}_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${${FFTW}_LIBRARIES})
if(FFTW3_OMP_LIBRARY OR FFTW3F_OMP_LIBRARY)
option(FFT_FFTW_THREADS "Use threaded FFT library" ON)
option(FFT_FFTW_THREADS "Use threaded FFTW library" ON)
else()
option(FFT_FFTW_THREADS "Use threaded FFT library" OFF)
endif()
@ -38,6 +38,10 @@ if(PKG_KSPACE)
elseif(FFT STREQUAL "MKL")
find_package(MKL REQUIRED)
add_definitions(-DFFT_MKL)
option(FFT_MKL_THREADS "Use threaded MKL FFT" ON)
if(FFT_MKL_THREADS)
add_definitions(-DFFT_MKL_THREADS)
endif()
include_directories(${MKL_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${MKL_LIBRARIES})
else()

View File

@ -49,8 +49,8 @@ if(PKG_USER-PLUMED)
message(STATUS "PLUMED download requested - we will build our own")
include(ExternalProject)
ExternalProject_Add(plumed_build
URL https://github.com/plumed/plumed2/releases/download/v2.5.3/plumed-src-2.5.3.tgz
URL_MD5 de30d6e7c2dcc0973298e24a6da24286
URL https://github.com/plumed/plumed2/releases/download/v2.6.0/plumed-src-2.6.0.tgz
URL_MD5 204d2edae58d9b10ba3ad460cad64191
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR>
${CONFIGURE_REQUEST_PIC}

View File

@ -3,7 +3,6 @@
SHELL = /bin/bash
BUILDDIR = ${CURDIR}
RSTDIR = $(BUILDDIR)/src
TXTDIR = $(BUILDDIR)/txt
VENV = $(BUILDDIR)/docenv
TXT2RST = $(VENV)/bin/txt2rst
ANCHORCHECK = $(VENV)/bin/rst_anchor_check
@ -28,8 +27,6 @@ HAS_VIRTUALENV = YES
endif
SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocessing.cpu_count())')
SOURCES=$(filter-out $(wildcard $(TXTDIR)/lammps_commands*.txt) $(TXTDIR)/lammps_support.txt $(TXTDIR)/lammps_tutorials.txt,$(wildcard $(TXTDIR)/*.txt))
OBJECTS=$(SOURCES:$(TXTDIR)/%.txt=$(RSTDIR)/%.rst)
.PHONY: help clean-all clean epub mobi rst html pdf venv spelling anchor_check style_check
@ -61,9 +58,9 @@ clean:
clean-spelling:
rm -rf spelling
rst: clean $(OBJECTS) $(ANCHORCHECK)
rst: clean $(ANCHORCHECK)
html: $(OBJECTS) $(ANCHORCHECK)
html: $(ANCHORCHECK)
@(\
. $(VENV)/bin/activate ;\
sphinx-build $(SPHINXEXTRA) -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\
@ -78,15 +75,18 @@ html: $(OBJECTS) $(ANCHORCHECK)
@rm -rf html/_sources
@rm -rf html/PDF
@rm -rf html/USER
@rm -rf html/JPG
@cp -r src/PDF html/PDF
@cp -r src/USER html/USER
@mkdir -p html/JPG
@cp `grep -A2 '\.\. image::' src/*.rst | grep ':target:' | sed -e 's,.*:target: JPG/,src/JPG/,' | sort | uniq` html/JPG/
@rm -rf html/PDF/.[sg]*
@rm -rf html/USER/.[sg]*
@rm -rf html/USER/*/.[sg]*
@rm -rf html/USER/*/*.[sg]*
@echo "Build finished. The HTML pages are in doc/html."
spelling: $(OBJECTS) utils/sphinx-config/false_positives.txt
spelling: utils/sphinx-config/false_positives.txt
@(\
. $(VENV)/bin/activate ;\
pip install sphinxcontrib-spelling ;\
@ -96,7 +96,7 @@ spelling: $(OBJECTS) utils/sphinx-config/false_positives.txt
)
@echo "Spell check finished."
epub: $(OBJECTS)
epub:
@mkdir -p epub/JPG
@rm -f LAMMPS.epub
@cp src/JPG/lammps-logo.png epub/
@ -115,7 +115,7 @@ mobi: epub
@ebook-convert LAMMPS.epub LAMMPS.mobi
@echo "Conversion finished. The MOBI manual file is created."
pdf: $(OBJECTS) $(ANCHORCHECK)
pdf: $(ANCHORCHECK)
@(\
cd src/Developer; \
pdflatex developer; \
@ -167,7 +167,7 @@ fetch:
anchor_check : $(ANCHORCHECK)
@(\
. $(VENV)/bin/activate ;\
rst_anchor_check src/*.txt ;\
rst_anchor_check src/*.rst ;\
deactivate ;\
)
@ -180,14 +180,6 @@ style_check :
# ------------------------------------------
$(RSTDIR)/%.rst : $(TXTDIR)/%.txt $(TXT2RST)
@(\
mkdir -p $(RSTDIR) ; \
. $(VENV)/bin/activate ;\
txt2rst -v $< > $@ ;\
deactivate ;\
)
$(VENV):
@if [ "$(HAS_PYTHON3)" == "NO" ] ; then echo "Python3 was not found! Please check README.md for further instructions" 1>&2; exit 1; fi
@if [ "$(HAS_VIRTUALENV)" == "NO" ] ; then echo "virtualenv was not found! Please check README.md for further instructions" 1>&2; exit 1; fi

View File

@ -1,4 +1,4 @@
.TH LAMMPS "24 January 2020" "2020-01-24"
.TH LAMMPS "18 February 2020" "2020-02-18"
.SH NAME
.B LAMMPS
\- Molecular Dynamics Simulator.
@ -11,13 +11,18 @@ or
mpirun \-np 2
.B lmp
<input file> [OPTIONS] ...
\-in <input file> [OPTIONS] ...
or
.B lmp
\-r2data file.restart file.data
or
.B lmp
\-h
.SH DESCRIPTION
.B LAMMPS
is a classical molecular dynamics code, and an acronym for \fBL\fRarge-scale
@ -249,7 +254,7 @@ the chapter on errors in the
manual gives some additional information about error messages, if possible.
.SH COPYRIGHT
© 2003--2019 Sandia Corporation
© 2003--2020 Sandia Corporation
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as

View File

@ -21,8 +21,3 @@ as described on the :doc:`Install <Install>` doc page.
Build_extras
Build_windows
Build_development
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -430,8 +430,3 @@ you want to copy files to is protected.
There is no "install" option in the src/Makefile for LAMMPS. If you
wish to do this you will need to first build LAMMPS, then manually
copy the desired LAMMPS files to the appropriate system directories.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -238,8 +238,3 @@ enough version, you can download the latest version at
`https://cmake.org/download/ <https://cmake.org/download/>`_.
Instructions on how to install it on various platforms can be found
`on this page <https://cmake.org/install/>`_.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -112,9 +112,3 @@ These reports require GCOVR to be installed. The easiest way to do this to insta
.. parsed-literal::
pip install git+https://github.com/gcovr/gcovr.git
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -177,7 +177,7 @@ KIM package
To build with this package, the KIM library with API v2 must be downloaded
and built on your system. It must include the KIM models that you want to
use with LAMMPS. If you want to use the :doc:`kim\_query <kim_commands>`
use with LAMMPS. If you want to use the :doc:`kim_query <kim_commands>`
command, you also need to have libcurl installed with the matching
development headers and the curl-config tool.
@ -880,6 +880,9 @@ USER-PLUMED package
Before building LAMMPS with this package, you must first build PLUMED.
PLUMED can be built as part of the LAMMPS build or installed separately
from LAMMPS using the generic `plumed installation instructions <plumedinstall_>`_.
The USER-PLUMED package has been tested to work with Plumed versions
2.4.x, 2.5.x, and 2.6.x and will error out, when trying to run calculations
with a different version of the Plumed kernel.
PLUMED can be linked into MD codes in three different modes: static,
@ -1414,8 +1417,3 @@ the settings are not valid for your system, check if one of the other
lib/vtk/Makefile.lammps.\* files is compatible and copy it to
Makefile.lammps. If none of the provided files work, you will need to
edit the Makefile.lammps file. See lib/vtk/README for details.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -84,8 +84,3 @@ See the sample codes in examples/COUPLE/simple for examples of C++ and
C and Fortran codes that invoke LAMMPS through its library interface.
Other examples in the COUPLE directory use coupling ideas discussed on
the :doc:`Howto couple <Howto_couple>` doc page.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -87,8 +87,3 @@ settings may become outdated:
make kokkos_omp # build with the KOKKOS package for OpenMP
make kokkos_cuda_mpi # build with the KOKKOS package for GPUs
make kokkos_phi # build with the KOKKOS package for KNLs
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -258,8 +258,3 @@ sub-directories with src files.
Type "make package-diff" to list all differences between pairs of
files in both the src dir and a package dir.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -5,11 +5,11 @@ LAMMPS can be built with several optional settings. Each sub-section
explain how to do this for building both with CMake and make.
| :ref:`C++11 standard compliance test <cxx11>` when building all of LAMMPS
| :ref:`FFT library <fft>` for use with the :doc:`kspace\_style pppm <kspace_style>` command
| :ref:`FFT library <fft>` for use with the :doc:`kspace_style pppm <kspace_style>` command
| :ref:`Size of LAMMPS data types <size>`
| :ref:`Read or write compressed files <gzip>`
| :ref:`Output of JPG and PNG files <graphics>` via the :doc:`dump image <dump_image>` command
| :ref:`Output of movie files <graphics>` via the :doc:`dump\_movie <dump_image>` command
| :ref:`Output of movie files <graphics>` via the :doc:`dump_movie <dump_image>` command
| :ref:`Memory allocation alignment <align>`
| :ref:`Workaround for long long integers <longlong>`
| :ref:`Error handling exceptions <exceptions>` when using LAMMPS as a library
@ -72,7 +72,7 @@ FFT library
---------------------
When the KSPACE package is included in a LAMMPS build, the
:doc:`kspace\_style pppm <kspace_style>` command performs 3d FFTs which
:doc:`kspace_style pppm <kspace_style>` command performs 3d FFTs which
require use of an FFT library to compute 1d FFTs. The KISS FFT
library is included with LAMMPS but other libraries can be faster.
LAMMPS can use them if they are available on your system.
@ -106,6 +106,7 @@ to assist:
-D FFTW3_LIBRARIES=path # path to FFTW3 libraries
-D FFT_FFTW_THREADS=on # enable using threaded FFTW3 libraries
-D MKL_INCLUDE_DIRS=path # ditto for Intel MKL library
-D FFT_MKL_THREADS=on # enable using threaded FFTs with MKL libraries
-D MKL_LIBRARIES=path
**Makefile.machine settings**\ :
@ -117,6 +118,7 @@ to assist:
# default is KISS if not specified
FFT_INC = -DFFT_SINGLE # do not specify for double precision
FFT_INC = -DFFT_FFTW_THREADS # enable using threaded FFTW3 libraries
FFT_INC = -DFFT_MKL_THREADS # enable using threaded FFTs with MKL libraries
FFT_INC = -DFFT_PACK_ARRAY # or -DFFT_PACK_POINTER or -DFFT_PACK_MEMCPY
# default is FFT\_PACK\_ARRAY if not specified
@ -129,12 +131,15 @@ to assist:
FFT_LIB = -lfftw3 # FFTW3 double precision
FFT_LIB = -lfftw3 -lfftw3_omp # FFTW3 double precision with threads (needs -DFFT_FFTW_THREADS)
FFT_LIB = -lfftw3 -lfftw3f # FFTW3 single precision
FFT_LIB = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core # MKL with Intel compiler
FFT_LIB = -lmkl_gf_lp64 -lmkl_sequential -lmkl_core # MKL with GNU compier
FFT_LIB = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core # MKL with Intel compiler, serial interface
FFT_LIB = -lmkl_gf_lp64 -lmkl_sequential -lmkl_core # MKL with GNU compier, serial interface
FFT_LIB = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core # MKL with Intel compiler, threaded interface
FFT_LIB = -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core # MKL with GNU compiler, threaded interface
FFT_LIB = -lmkl_rt # MKL with automatic runtime selection of interface libs
As with CMake, you do not need to set paths in FFT\_INC or FFT\_PATH, if
make can find the FFT header and library files. You must specify
FFT\_LIB with the appropriate FFT libraries to include in the link.
the compiler can find the FFT header and library files in its default search path.
You must specify FFT\_LIB with the appropriate FFT libraries to include in the link.
**CMake and make info**\ :
@ -251,7 +256,7 @@ support 8-byte integers. It allows for:
Atom IDs are not required for atomic systems which do not store bond
topology information, though IDs are enabled by default. The
:doc:`atom\_modify id no <atom_modify>` command will turn them off. Atom
:doc:`atom_modify id no <atom_modify>` command will turn them off. Atom
IDs are required for molecular systems with bond topology (bonds,
angles, dihedrals, etc). Thus if you model a molecular system with
more than 2 billion atoms, you need the "bigbig" setting.
@ -357,7 +362,7 @@ Read or write compressed files
If this option is enabled, large files can be read or written with
gzip compression by several LAMMPS commands, including
:doc:`read\_data <read_data>`, :doc:`rerun <rerun>`, and :doc:`dump <dump>`.
:doc:`read_data <read_data>`, :doc:`rerun <rerun>`, and :doc:`dump <dump>`.
**CMake variables**\ :
@ -488,8 +493,3 @@ e.g. to Python.
.. parsed-literal::
LMP_INC = -DLAMMPS_EXCEPTIONS
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -17,9 +17,9 @@ General remarks
LAMMPS is developed and tested primarily on Linux machines. The vast
majority of HPC clusters and supercomputers today runs on Linux as well.
Thus portability to other platforms is desired, but not always achieved.
While portability to other platforms is desired, it is not always achieved.
The LAMMPS developers strongly rely on LAMMPS users giving feedback and
providing assistance in resolving portability issues. This particularly
providing assistance in resolving portability issues. This is particularly
true for compiling LAMMPS on Windows, since this platform has significant
differences with some low-level functionality.
@ -31,18 +31,20 @@ Running Linux on Windows
So before trying to build LAMMPS on Windows, please consider if using
the pre-compiled Windows binary packages are sufficient for your needs
(as an aside, those packages themselves are build on a Linux machine
using cross-compilers). If it is necessary for your to compile LAMMPS
using cross-compilers). If it is necessary for you to compile LAMMPS
on a Windows machine (e.g. because it is your main desktop), please also
consider using a virtual machine software and run a Linux virtual machine,
or - if have a recently updated Windows 10 installation - consider using
the Windows subsystem for Linux, which allows to run a bash shell from
Ubuntu and from there on, you can pretty much use that shell like you
are running on an Ubuntu Linux machine (e.g. installing software via
apt-get). For more details on that, please see :doc:`this tutorial <Howto_bash>`
consider using a virtual machine software and compile and run LAMMPS in
a Linux virtual machine, or - if you have a recently updated Windows 10
installation - consider using the Windows subsystem for Linux. This
optional Windows feature allows you to run the bash shell from Ubuntu
from within Windows and from there on, you can pretty much use that
shell like you are running on an Ubuntu Linux machine (e.g. installing
software via apt-get and more). For more details on that, please
see :doc:`this tutorial <Howto_bash>`
.. _gnu:
Using GNU GCC ported to Windows
Using a GNU GCC ported to Windows
-----------------------------------------
One option for compiling LAMMPS on Windows natively, that has been known
@ -83,13 +85,13 @@ traditional build system, but CMake has also been successfully tested
using the mingw32-cmake and mingw64-cmake wrappers that are bundled
with the cross-compiler environment on Fedora machines. A CMake preset
selecting all packages compatible with this cross-compilation build
is provided. You likely need to disable the GPU package unless you
is provided. You will likely need to disable the GPU package unless you
download and install the contents of the pre-compiled `OpenCL ICD loader library <https://download.lammps.org/thirdparty/opencl-win-devel.tar.gz>`_
into your MinGW64 cross-compiler environment. The cross-compilation
currently will only produce non-MPI serial binaries.
Please keep in mind, though, that this only applies to compiling LAMMPS.
Whether the resulting binaries do work correctly is no tested by the
Please keep in mind, though, that this only applies to **compiling** LAMMPS.
Whether the resulting binaries do work correctly is not tested by the
LAMMPS developers. We instead rely on the feedback of the users
of these pre-compiled LAMMPS packages for Windows. We will try to resolve
issues to the best of our abilities if we become aware of them. However
@ -104,8 +106,3 @@ Support for the Visual C++ compilers is currently not available. The
CMake build system is capable of creating suitable a Visual Studio
style build environment, but the LAMMPS code itself is not fully ported
to support Visual C++. Volunteers to take on this task are welcome.
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -136,4 +136,3 @@ An alphabetic list of all general LAMMPS commands.
* :doc:`write_data <write_data>`
* :doc:`write_dump <write_dump>`
* :doc:`write_restart <write_restart>`

View File

@ -131,7 +131,7 @@ OPT.
Improper_style potentials
=========================
All LAMMPS :doc:`improper\_style <improper_style>` commands. Some styles
All LAMMPS :doc:`improper_style <improper_style>` commands. Some styles
have accelerated versions. This is indicated by additional letters in
parenthesis: g = GPU, i = USER-INTEL, k = KOKKOS, o = USER-OMP, t =
OPT.

View File

@ -18,73 +18,73 @@ Setup simulation box:
* :doc:`boundary <boundary>`,
* :doc:`box <box>`,
* :doc:`change\_box <change_box>`,
* :doc:`create\_box <create_box>`,
* :doc:`change_box <change_box>`,
* :doc:`create_box <create_box>`,
* :doc:`dimension <dimension>`,
* :doc:`lattice <lattice>`,
* :doc:`region <region>`
Setup atoms:
* :doc:`atom\_modify <atom_modify>`,
* :doc:`atom\_style <atom_style>`,
* :doc:`atom_modify <atom_modify>`,
* :doc:`atom_style <atom_style>`,
* :doc:`balance <balance>`,
* :doc:`create\_atoms <create_atoms>`,
* :doc:`create\_bonds <create_bonds>`,
* :doc:`delete\_atoms <delete_atoms>`,
* :doc:`delete\_bonds <delete_bonds>`,
* :doc:`displace\_atoms <displace_atoms>`,
* :doc:`create_atoms <create_atoms>`,
* :doc:`create_bonds <create_bonds>`,
* :doc:`delete_atoms <delete_atoms>`,
* :doc:`delete_bonds <delete_bonds>`,
* :doc:`displace_atoms <displace_atoms>`,
* :doc:`group <group>`,
* :doc:`mass <mass>`,
* :doc:`molecule <molecule>`,
* :doc:`read\_data <read_data>`,
* :doc:`read\_dump <read_dump>`,
* :doc:`read\_restart <read_restart>`,
* :doc:`read_data <read_data>`,
* :doc:`read_dump <read_dump>`,
* :doc:`read_restart <read_restart>`,
* :doc:`replicate <replicate>`,
* :doc:`set <set>`,
* :doc:`velocity <velocity>`
Force fields:
* :doc:`angle\_coeff <angle_coeff>`,
* :doc:`angle\_style <angle_style>`,
* :doc:`bond\_coeff <bond_coeff>`,
* :doc:`bond\_style <bond_style>`,
* :doc:`bond\_write <bond_write>`,
* :doc:`angle_coeff <angle_coeff>`,
* :doc:`angle_style <angle_style>`,
* :doc:`bond_coeff <bond_coeff>`,
* :doc:`bond_style <bond_style>`,
* :doc:`bond_write <bond_write>`,
* :doc:`dielectric <dielectric>`,
* :doc:`dihedral\_coeff <dihedral_coeff>`,
* :doc:`dihedral\_style <dihedral_style>`,
* :doc:`improper\_coeff <improper_coeff>`,
* :doc:`improper\_style <improper_style>`,
* :doc:`kspace\_modify <kspace_modify>`,
* :doc:`kspace\_style <kspace_style>`,
* :doc:`pair\_coeff <pair_coeff>`,
* :doc:`pair\_modify <pair_modify>`,
* :doc:`pair\_style <pair_style>`,
* :doc:`pair\_write <pair_write>`,
* :doc:`special\_bonds <special_bonds>`
* :doc:`dihedral_coeff <dihedral_coeff>`,
* :doc:`dihedral_style <dihedral_style>`,
* :doc:`improper_coeff <improper_coeff>`,
* :doc:`improper_style <improper_style>`,
* :doc:`kspace_modify <kspace_modify>`,
* :doc:`kspace_style <kspace_style>`,
* :doc:`pair_coeff <pair_coeff>`,
* :doc:`pair_modify <pair_modify>`,
* :doc:`pair_style <pair_style>`,
* :doc:`pair_write <pair_write>`,
* :doc:`special_bonds <special_bonds>`
Settings:
* :doc:`comm\_modify <comm_modify>`,
* :doc:`comm\_style <comm_style>`,
* :doc:`comm_modify <comm_modify>`,
* :doc:`comm_style <comm_style>`,
* :doc:`info <info>`,
* :doc:`min\_modify <min_modify>`,
* :doc:`min\_style <min_style>`,
* :doc:`neigh\_modify <neigh_modify>`,
* :doc:`min_modify <min_modify>`,
* :doc:`min_style <min_style>`,
* :doc:`neigh_modify <neigh_modify>`,
* :doc:`neighbor <neighbor>`,
* :doc:`partition <partition>`,
* :doc:`reset\_timestep <reset_timestep>`,
* :doc:`run\_style <run_style>`,
* :doc:`reset_timestep <reset_timestep>`,
* :doc:`run_style <run_style>`,
* :doc:`timer <timer>`,
* :doc:`timestep <timestep>`
Operations within timestepping (fixes) and diagnostics (computes):
* :doc:`compute <compute>`,
* :doc:`compute\_modify <compute_modify>`,
* :doc:`compute_modify <compute_modify>`,
* :doc:`fix <fix>`,
* :doc:`fix\_modify <fix_modify>`,
* :doc:`fix_modify <fix_modify>`,
* :doc:`uncompute <uncompute>`,
* :doc:`unfix <unfix>`
@ -93,22 +93,22 @@ Output:
* :doc:`dump image <dump_image>`,
* :doc:`dump movie <dump_image>`,
* :doc:`dump <dump>`,
* :doc:`dump\_modify <dump_modify>`,
* :doc:`dump_modify <dump_modify>`,
* :doc:`restart <restart>`,
* :doc:`thermo <thermo>`,
* :doc:`thermo\_modify <thermo_modify>`,
* :doc:`thermo\_style <thermo_style>`,
* :doc:`thermo_modify <thermo_modify>`,
* :doc:`thermo_style <thermo_style>`,
* :doc:`undump <undump>`,
* :doc:`write\_coeff <write_coeff>`,
* :doc:`write\_data <write_data>`,
* :doc:`write\_dump <write_dump>`,
* :doc:`write\_restart <write_restart>`
* :doc:`write_coeff <write_coeff>`,
* :doc:`write_data <write_data>`,
* :doc:`write_dump <write_dump>`,
* :doc:`write_restart <write_restart>`
Actions:
* :doc:`minimize <minimize>`,
* :doc:`neb <neb>`,
* :doc:`neb\_spin <neb_spin>`,
* :doc:`neb_spin <neb_spin>`,
* :doc:`prd <prd>`,
* :doc:`rerun <rerun>`,
* :doc:`run <run>`,

View File

@ -163,4 +163,3 @@ KOKKOS, o = USER-OMP, t = OPT.
* :doc:`vcm/chunk <compute_vcm_chunk>`
* :doc:`voronoi/atom <compute_voronoi_atom>`
* :doc:`xrd <compute_xrd>`

View File

@ -45,7 +45,7 @@ belong to the group.
(3) Sometimes command B will use values that can be set by command A.
This means command A must precede command B in the input script if it
is to have the desired effect. For example, the
:doc:`read\_data <read_data>` command initializes the system by setting
:doc:`read_data <read_data>` command initializes the system by setting
up the simulation box and assigning atoms to processors. If default
values are not desired, the :doc:`processors <processors>` and
:doc:`boundary <boundary>` commands need to be used before read\_data to

View File

@ -14,7 +14,7 @@
KSpace solvers
==============
All LAMMPS :doc:`kspace\_style <kspace_style>` solvers. Some styles have
All LAMMPS :doc:`kspace_style <kspace_style>` solvers. Some styles have
accelerated versions. This is indicated by additional letters in
parenthesis: g = GPU, i = USER-INTEL, k = KOKKOS, o = USER-OMP, t =
OPT.

View File

@ -57,11 +57,6 @@ restart2data tool
The functionality of the restart2data tool has been folded into the
LAMMPS executable directly instead of having a separate tool. A
combination of the commands :doc:`read\_restart <read_restart>` and
:doc:`write\_data <write_data>` can be used to the same effect. For added
combination of the commands :doc:`read_restart <read_restart>` and
:doc:`write_data <write_data>` can be used to the same effect. For added
convenience this conversion can also be triggered by :doc:`command line flags <Run_options>`
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html

View File

@ -26,23 +26,23 @@ read-in from a file.
The relevant commands are :doc:`units <units>`,
:doc:`dimension <dimension>`, :doc:`newton <newton>`,
:doc:`processors <processors>`, :doc:`boundary <boundary>`,
:doc:`atom\_style <atom_style>`, :doc:`atom\_modify <atom_modify>`.
:doc:`atom_style <atom_style>`, :doc:`atom_modify <atom_modify>`.
If force-field parameters appear in the files that will be read, these
commands tell LAMMPS what kinds of force fields are being used:
:doc:`pair\_style <pair_style>`, :doc:`bond\_style <bond_style>`,
:doc:`angle\_style <angle_style>`, :doc:`dihedral\_style <dihedral_style>`,
:doc:`improper\_style <improper_style>`.
:doc:`pair_style <pair_style>`, :doc:`bond_style <bond_style>`,
:doc:`angle_style <angle_style>`, :doc:`dihedral_style <dihedral_style>`,
:doc:`improper_style <improper_style>`.
(2) Atom definition
There are 3 ways to define atoms in LAMMPS. Read them in from a data
or restart file via the :doc:`read\_data <read_data>` or
:doc:`read\_restart <read_restart>` commands. These files can contain
or restart file via the :doc:`read_data <read_data>` or
:doc:`read_restart <read_restart>` commands. These files can contain
molecular topology information. Or create atoms on a lattice (with no
molecular topology), using these commands: :doc:`lattice <lattice>`,
:doc:`region <region>`, :doc:`create\_box <create_box>`,
:doc:`create\_atoms <create_atoms>`. The entire set of atoms can be
:doc:`region <region>`, :doc:`create_box <create_box>`,
:doc:`create_atoms <create_atoms>`. The entire set of atoms can be
duplicated to make a larger simulation using the
:doc:`replicate <replicate>` command.
@ -53,25 +53,25 @@ can be specified: force field coefficients, simulation parameters,
output options, etc.
Force field coefficients are set by these commands (they can also be
set in the read-in files): :doc:`pair\_coeff <pair_coeff>`,
:doc:`bond\_coeff <bond_coeff>`, :doc:`angle\_coeff <angle_coeff>`,
:doc:`dihedral\_coeff <dihedral_coeff>`,
:doc:`improper\_coeff <improper_coeff>`,
:doc:`kspace\_style <kspace_style>`, :doc:`dielectric <dielectric>`,
:doc:`special\_bonds <special_bonds>`.
set in the read-in files): :doc:`pair_coeff <pair_coeff>`,
:doc:`bond_coeff <bond_coeff>`, :doc:`angle_coeff <angle_coeff>`,
:doc:`dihedral_coeff <dihedral_coeff>`,
:doc:`improper_coeff <improper_coeff>`,
:doc:`kspace_style <kspace_style>`, :doc:`dielectric <dielectric>`,
:doc:`special_bonds <special_bonds>`.
Various simulation parameters are set by these commands:
:doc:`neighbor <neighbor>`, :doc:`neigh\_modify <neigh_modify>`,
:doc:`neighbor <neighbor>`, :doc:`neigh_modify <neigh_modify>`,
:doc:`group <group>`, :doc:`timestep <timestep>`,
:doc:`reset\_timestep <reset_timestep>`, :doc:`run\_style <run_style>`,
:doc:`min\_style <min_style>`, :doc:`min\_modify <min_modify>`.
:doc:`reset_timestep <reset_timestep>`, :doc:`run_style <run_style>`,
:doc:`min_style <min_style>`, :doc:`min_modify <min_modify>`.
Fixes impose a variety of boundary conditions, time integration, and
diagnostic options. The :doc:`fix <fix>` command comes in many flavors.
Various computations can be specified for execution during a
simulation using the :doc:`compute <compute>`,
:doc:`compute\_modify <compute_modify>`, and :doc:`variable <variable>`
:doc:`compute_modify <compute_modify>`, and :doc:`variable <variable>`
commands.
Output options are set by the :doc:`thermo <thermo>`, :doc:`dump <dump>`,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,15 +0,0 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E_{a} = K_2\left(\theta - \theta_0\right)^2 + K_3\left(\theta - \theta_0\right)^3 + K_4\left(\theta - \theta_0\right)^4 + K_5\left(\theta - \theta_0\right)^5 + K_6\left(\theta - \theta_0\right)^6
$$
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,14 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
a &=& {\rm lx} \\
b^2 &=& {\rm ly}^2 + {\rm xy}^2 \\
c^2 &=& {\rm lz}^2 + {\rm xz}^2 + {\rm yz}^2 \\
\cos{\alpha} &=& \frac{{\rm xy}*{\rm xz} + {\rm ly}*{\rm yz}}{b*c} \\
\cos{\beta} &=& \frac{\rm xz}{c} \\
\cos{\gamma} &=& \frac{\rm xy}{b} \\
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,14 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
{\rm lx} &=& a \\
{\rm xy} &=& b \cos{\gamma} \\
{\rm xz} &=& c \cos{\beta}\\
{\rm ly}^2 &=& b^2 - {\rm xy}^2 \\
{\rm yz} &=& \frac{b*c \cos{\alpha} - {\rm xy}*{\rm xz}}{\rm ly} \\
{\rm lz}^2 &=& c^2 - {\rm xz}^2 - {\rm yz}^2 \\
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,9 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
$$
CS = \sum_{i = 1}^{N/2} | \vec{R}_i + \vec{R}_{i+N/2} |^2
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,14 +0,0 @@
\documentclass[12pt,article]{article}
\usepackage{indentfirst}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray*}
r_{c}^{fcc} & = & \frac{1}{2} \left(\frac{\sqrt{2}}{2} + 1\right) \mathrm{a} \simeq 0.8536 \:\mathrm{a} \\
r_{c}^{bcc} & = & \frac{1}{2}(\sqrt{2} + 1) \mathrm{a} \simeq 1.207 \:\mathrm{a} \\
r_{c}^{hcp} & = & \frac{1}{2}\left(1+\sqrt{\frac{4+2x^{2}}{3}}\right) \mathrm{a}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,12 +0,0 @@
\documentclass[12pt,article]{article}
\usepackage{indentfirst}
\usepackage{amsmath}
\begin{document}
$$
Rc + Rs > 2*{\rm cutoff}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,14 +0,0 @@
\documentclass[12pt,article]{article}
\usepackage{indentfirst}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray*}
r_{c}^{fcc} & = & \frac{1}{2} \left(\frac{\sqrt{2}}{2} + 1\right) \mathrm{a} \simeq 0.8536 \:\mathrm{a} \\
r_{c}^{bcc} & = & \frac{1}{2}(\sqrt{2} + 1) \mathrm{a} \simeq 1.207 \:\mathrm{a} \\
r_{c}^{hcp} & = & \frac{1}{2}\left(1+\sqrt{\frac{4+2x^{2}}{3}}\right) \mathrm{a}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,12 +0,0 @@
\documentclass[12pt,article]{article}
\usepackage{indentfirst}
\usepackage{amsmath}
\begin{document}
$$
Rc + Rs > 2*{\rm cutoff}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1,9 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
$$
Q_{i} = \frac{1}{n_i}\sum_{j = 1}^{n_i} | \sum_{k = 1}^{n_{ij}} \vec{R}_{ik} + \vec{R}_{jk} |^2
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View File

@ -1,13 +0,0 @@
\documentstyle[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
U^{cond} = \displaystyle\sum_{i=1}^{N} u_{i}^{cond} \\
U^{mech} = \displaystyle\sum_{i=1}^{N} u_{i}^{mech} \\
U^{chem} = \displaystyle\sum_{i=1}^{N} u_{i}^{chem} \\
U = \displaystyle\sum_{i=1}^{N} (u_{i}^{cond} + u_{i}^{mech} + u_{i}^{chem}) \\
\theta_{avg} = (\frac{1}{N}\displaystyle\sum_{i=1}^{N} \frac{1}{\theta_{i}})^{-1} \\
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,7 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ \left< \frac{1}{1 + \exp\left[\left(U_1 - U_0 - \Delta_0^1A \right) /kT \right]} \right>_0 = \left< \frac{1}{1 + \exp\left[\left(U_0 - U_1 + \Delta_0^1A \right) /kT \right]} \right>_1 \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ \Delta_0^1 A = \int_{\lambda=0}^{\lambda=1} \left( \frac{\partial
A(\lambda)}{\partial\lambda} \right)_\lambda \mathrm{d}\lambda
\approx \sum_{i=0}^{n-1} w_i \frac{A(\lambda_{i} + \delta) -
A(\lambda_i)}{\delta} \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ \Delta_0^1 A = \sum_{i=0}^{n-1} \Delta_{\lambda_i}^{\lambda_{i+1}} A =
- kT \sum_{i=0}^{n-1} \ln \left< \exp \left( - \frac{U(\lambda_{i+1}) -
U(\lambda_i)}{kT} \right) \right>_{\lambda_i} \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\begin{eqnarray*}
\lambda = 0 \quad\Rightarrow\quad U = U_{\mathrm{bg}} + U_0 \\
\lambda = 1 \quad\Rightarrow\quad U = U_{\mathrm{bg}} + U_1
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ \Delta_0^1 A = \int_{\lambda=0}^{\lambda=1} \left< \frac{\partial
U(\lambda)}{\partial\lambda} \right>_\lambda \mathrm{d}\lambda
\approx \sum_{i=0}^{n-1} w_i \left< \frac{U(\lambda_{i} + \delta) -
U(\lambda_i)}{\delta} \right>_{\lambda_i} \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -1,7 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ U(\lambda) = U_{\mathrm{bg}} + U_1(\lambda) + U_0(\lambda) \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
\[ \Delta_0^1 A = - kT \sum_{i=0}^{n-1} \ln \frac{\left< V \exp \left( -
\frac{U(\lambda_{i+1}) - U(\lambda_i)}{kT} \right)
\right>_{\lambda_i}}{\left< V \right>_{\lambda_i}} \]
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
{R_g}^2 = \frac{1}{M} \sum_i m_i (r_i - r_{cm})^2
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
NGP(t) = 3<(r(t)-r(0))^4>/(5<(r(t)-r(0))^2>^2) - 1
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
I=\frac{F^{*}F}{N}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
F(\mathbf{k})=\sum_{j=1}^{N}f_j(\theta)exp(2\pi i \mathbf{k}\cdot \mathbf{r}_j)
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
f_j\left ( \frac{sin(\theta)}{\lambda} \right )=\sum_{i}^{5}
a_i exp\left ( -b_i \frac{sin^{2}(\theta)}{\lambda^{2}} \right )
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -1,13 +0,0 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
c = l_z - 0.5(l_y+l_x) \\
b = l_y - l_x \\
k = \frac{3}{2} \frac{l_x^2+l_y^2+l_z^2}{(l_x+l_y+l_z)^2} - \frac{1}{2}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,11 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
\theta_0 = {\tt rfac0} \frac{r-r_{min0}}{R_{ii'}-r_{min0}} \pi
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,11 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
u^j_{m,m'} = U^j_{m,m'}(0,0,0) + \sum_{r_{ii'} < R_{ii'}}{f_c(r_{ii'}) w_{i'} U^j_{m,m'}(\theta_0,\theta,\phi)}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,16 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\newcommand{\hcoeff}[9]{H\!\!{\tiny\begin{array}{l}#1 #2 #3 \\ #4 #5 #6 \\ #7 #8 #9 \end{array}}}
\begin{equation}
B_{j_1,j_2,j} = \\
\sum_{m_1,m'_1=-j_1}^{j_1}\sum_{m_2,m'_2=-j_2}^{j_2}\sum_{m,m'=-j}^{j} (u^j_{m,m'})^*
\hcoeff{j}{m}{m'}{j_1}{\!m_1}{\!m'_1}{j_2}{m_2}{m'_2}
u^{j_1}_{m_1,m'_1} u^{j_2}_{m_2,m'_2}
\end{equation}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,14 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
\label{eqn:f_c}
f_c(r) & = & \frac{1}{2}(\cos(\pi \frac{r-r_{min0}}{R_{ii'}-r_{min0}}) + 1), r \leq R_{ii'} \\
& = & 0, r > R_{ii'}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,12 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\begin{equation}
- \sum_{i' \in I} \frac{\partial {B^{i'}_{j_1,j_2,j} }}{\partial {\bf r}_i}
\end{equation}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,12 +0,0 @@
\documentclass[24pt]{article}
\pagestyle{empty}
\begin{document}
\begin{eqnarray*}
- {\bf r}_i \otimes \sum_{i' \in I} \frac{\partial {B^{i'}_{j_1,j_2,j}}}{\partial {\bf r}_i}
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
I=Lp(\theta)\frac{F^{*}F}{N}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
F(\mathbf{k})=\sum_{j=1}^{N}f_j(\theta)exp(2\pi i \mathbf{k}\cdot \mathbf{r}_j)
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
Lp(\theta)=\frac{1+cos^{2}(2\theta)}{cos(\theta)sin^{2}(\theta)}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,9 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
\frac{sin(\theta)}{\lambda}=\frac{\left | \mathbf{k} \right |}{2}
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -1,10 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
f_j\left ( \frac{sin(\theta)}{\lambda} \right )=\sum_{i}^{4}
a_i exp\left ( -b_i \frac{sin^{2}(\theta)}{\lambda^{2}} \right )+c
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1,9 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
$$
E = K [ 1 + \cos (n \phi - d) ]
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

View File

@ -1,17 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
E & = & E_d + E_{mbt} + E_{ebt} + E_{at} + E_{aat} + E_{bb13} \\
E_d & = & \sum_{n=1}^{3} K_n [ 1 - \cos (n \phi - \phi_n) ] \\
E_{mbt} & = & (r_{jk} - r_2) [ A_1 \cos (\phi) + A_2 \cos (2\phi) + A_3 \cos (3\phi) ] \\
E_{ebt} & = & (r_{ij} - r_1) [ B_1 \cos (\phi) + B_2 \cos (2\phi) + B_3 \cos (3\phi) ] + \\
& & (r_{kl} - r_3) [ C_1 \cos (\phi) + C_2 \cos (2\phi) + C_3 \cos (3\phi) ] \\
E_{at} & = & (\theta_{ijk} - \theta_1) [ D_1 \cos (\phi) + D_2 \cos (2\phi) + D_3 \cos (3\phi) ] + \\
& & (\theta_{jkl} - \theta_2) [ E_1 \cos (\phi) + E_2 \cos (2\phi) + E_3 \cos (3\phi) ] \\
E_{aat} & = & M (\theta_{ijk} - \theta_1) (\theta_{jkl} - \theta_2) \cos (\phi) \\
E_{bb13} & = & N (r_{ij} - r_1) (r_{kl} - r_3)
\end{eqnarray*}
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -1,13 +0,0 @@
\documentstyle[12pt]{article}
\begin{document}
$$
E=-U_{min}
\frac{e^{-a U(\theta,\theta_0)}-1}{e^a-1}
\quad\mbox{with}\quad
U(\theta,\theta_0)
=-0.5 \left(1+\cos(\theta-\theta_0) \right)
$$
\end{document}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -1,9 +0,0 @@
\documentclass[12pt]{article}
\begin{document}
$$
E = \sum_{i=1,m} K_i [ 1.0 + \cos ( n_i \phi - d_i ) ]
$$
\end{document}

Some files were not shown because too many files have changed in this diff Show More