Compare commits

...

226 Commits

Author SHA1 Message Date
aa2b885783 Merge pull request #1687 from akohlmey/next_patch_release
Step version string for next patch release
2019-09-19 17:18:12 -04:00
d84cbe49a4 Merge pull request #1686 from cusentino/snap-WBe-example
Added W-Be example to example/snap folder
2019-09-19 15:38:35 -04:00
6f06b3ecf1 Merge pull request #1645 from jrgissing/bond/react-max_rxn-bug
Bond/react: max_rxn bugfix + restart reaction counts
2019-09-19 15:21:40 -04:00
3fd43224b3 update comments in example inputs 2019-09-19 15:17:52 -04:00
b7d9337da4 remove a tab 2019-09-19 15:13:53 -04:00
077647b4e2 whitespace cleanup 2019-09-19 14:54:48 -04:00
95f59f5bf1 cosmetic changes 2019-09-19 13:58:30 -04:00
415698d570 update examples/README 2019-09-19 13:53:54 -04:00
12071eec1a Merge pull request #1683 from wmbrownIntel/user-intel-g2s
USER-INTEL: Explictly disabling G2S opts to improve lj/cut, eam, and …
2019-09-19 13:48:05 -04:00
5c74782c84 step version for next patch release 2019-09-19 11:54:24 -04:00
b0b340051c Merge pull request #1684 from akohlmey/cxx-11-test
Implement test for C++11 and document it
2019-09-19 11:46:08 -04:00
ed6dd1a632 Merge pull request #1666 from tanmoy7989/local_density
added LD potential and wrote html-style doc
2019-09-19 11:45:46 -04:00
d4dbc32ba2 Merge pull request #1672 from akohlmey/dump-with-unit
Add ITEM: UNITS line to native text format dumps
2019-09-19 10:31:13 -04:00
eab66f27fd Merge pull request #1681 from akohlmey/collected-small-fixes
Collected small changes for next patch release
2019-09-19 10:27:54 -04:00
c26c8aca4f get rid of (evil) tabs and trailing whitespace in bundled Pizza.py components 2019-09-19 07:34:27 -04:00
b049b59015 revised documentation and added a citation trigger in .cpp file 2019-09-19 00:25:22 -07:00
5dba4b66c8 add warning banner to the LAMMPS output and refer to the C++11 issue on github 2019-09-18 16:56:14 -04:00
e847777e43 Added W-Be example to example/snap folder 2019-09-18 14:34:20 -06:00
2ea11b3195 implement test for C++11 and document it 2019-09-18 15:50:26 -04:00
df3fad3b49 output number of processors when reporting a mismatch on reading a restart 2019-09-18 14:35:12 -04:00
572235e66a Merge pull request #1660 from tanmoy7989/reorder_remd_traj
python tool to reorder replica traj
2019-09-17 17:29:50 -04:00
28b634f20d some more whitespace cleanup 2019-09-17 16:10:32 -04:00
fd63b08f99 Merge branch 'reorder_remd_traj' of github.com:tanmoy7989/lammps into reorder_remd_traj
# Conflicts:
#	tools/replica/reorder_remd_traj.py
2019-09-17 16:09:13 -04:00
636a8aaef9 whitespace cleanup, mention pip install --user 2019-09-17 16:06:12 -04:00
d4d5f241eb use improper style fourier instead of non-existing style opls 2019-09-17 14:48:58 -04:00
8ff6122560 correct documentation of improper style fourier 2019-09-17 14:48:11 -04:00
5cf0a5bf6d USER-INTEL: Reverting whitespace in Makefiles from last changes. 2019-09-17 09:31:51 -07:00
22f0ca7440 Merge branch 'master' into user-intel-g2s 2019-09-17 19:30:11 -07:00
7f037b6c30 some more whitespace cleanup 2019-09-17 12:05:04 -04:00
27f9ae1017 evil tab removal 2019-09-17 08:37:32 -04:00
0c9697a685 documentation whitespace cleanup 2019-09-17 08:35:20 -04:00
b2c6244b79 fix typos 2019-09-17 08:24:40 -04:00
fb7a439cd2 Merge pull request #1662 from akohlmey/hybrid-svector-fix
Fix bugs in handling of local pair property computes with hybrid pair styles
2019-09-17 08:21:15 -04:00
3e4f1d1cb8 replace tabs 2019-09-17 08:02:30 -04:00
66ddcd86a3 USER-INTEL: Explictly disabling G2S opts to improve lj/cut, eam, and dpd performance. Removing -fno-alias flag from Makefiles due to issues with 2019 compilers and adding explicit _noalias qualifier for some variables to compensate. 2019-09-17 02:50:37 -07:00
f81c1aae26 Merge branch 'master' into hybrid-svector-fix 2019-09-16 22:28:48 -04:00
357ca4605c Merge pull request #1677 from athomps/update-steinhardt-example
Added log files and updated README
2019-09-16 21:11:55 -04:00
e51e25882b Merge branch 'master' to clear KOKKOS CI failures 2019-09-16 16:39:50 -04:00
d357259cc4 Merge pull request #1669 from stanmoore1/kk_ports
Port misc files to Kokkos
2019-09-16 16:35:55 -04:00
790d7d9fae Added log files and updated README 2019-09-13 15:59:25 -06:00
c37d001178 fix stupid typo 2019-09-13 16:13:16 -04:00
c1e7294b42 Merge branch 'master' into kk_ports 2019-09-13 12:30:53 -04:00
e8f94447f7 Merge branch 'master' into hybrid-svector-fix 2019-09-13 12:28:45 -04:00
d62ef0df82 add omitted cmake entries for recent KOKKOS package changes 2019-09-13 12:26:07 -04:00
4593e159ef update docs to indicate KOKKOS support for dihedral style harmonic 2019-09-13 12:25:23 -04:00
5a07db8465 tweak docs for dump_modify units command some more 2019-09-13 12:07:39 -04:00
0a176d48d8 clarify that each created file will have the ITEM: UNITS lines 2019-09-13 11:59:55 -04:00
ca301f040b add missing include for compiling with intel compilers without TBB 2019-09-13 09:47:02 -04:00
548fd40e9a make certain that nvalues class member is initialized 2019-09-13 09:15:39 -04:00
7386956dc5 remove misspelled word from false positives list 2019-09-13 08:52:09 -04:00
be0587eab5 Merge pull request #1670 from akohlmey/fix-rigid-nh-no-extended
Consolidate constants and enumerators across rigid fix styles
2019-09-13 08:04:16 -04:00
1f9decadf8 fix typo 2019-09-13 08:03:02 -04:00
be38ef0eb0 make native dump reader compatible with dump files containing ITEM: UNITS 2019-09-12 15:26:02 -04:00
0c52a7ed70 update documentation 2019-09-12 15:23:15 -04:00
b9af05d7f4 add dump style local/gz to COMPRESS packages 2019-09-12 14:38:09 -04:00
e413aaf217 add support for optionally including unit information in standard dump files 2019-09-12 14:37:42 -04:00
fa164fffba explain new semantics for accessing pN for hybrid styles 2019-09-12 13:59:05 -04:00
1e0cd0b202 separate out svector handling to new virtual functions, so it can be handled differently for pair styles hybrid and hybrid/overlay 2019-09-12 12:30:22 -04:00
5d0c86be48 add omitted cmake entries for recent KOKKOS package changes 2019-09-12 07:33:22 -04:00
1631ecb3fe integrate pair style local density into manual builds 2019-09-11 14:18:27 -04:00
ae1054a243 change formatting so that sphinx is happier 2019-09-11 14:17:53 -04:00
ce7c3e6864 Merge pull request #1648 from athomps/add_w_l_orientorder
Add w l orientorder
2019-09-11 14:08:33 -04:00
df63a53788 Merge pull request #1650 from stanmoore1/kk_minimize
Add Kokkos version of minimize
2019-09-11 14:04:47 -04:00
102db258bc Merge pull request #1667 from edwardsmith999/master
Adjusted compute_bond_local to allow components of force to be obtained.
2019-09-11 14:02:09 -04:00
07cda306a6 Merge pull request #1668 from stanmoore1/kk_hpe
Add support for HPE MPI to Kokkos package
2019-09-11 14:00:24 -04:00
d918b17ee7 Merge pull request #1664 from jrgissing/comm_modify-docs-tweak
Comm modify docs tweak
2019-09-11 13:58:17 -04:00
Ed
34f73fddfe Added a missing break statement in fz component 2019-09-11 11:59:59 +01:00
4bbe4c73aa whitespace cleanup 2019-09-10 09:38:44 -04:00
15d2e1b260 consistent formatting 2019-09-10 09:36:17 -04:00
cd846e1bbb add ITEM: UNITS line to native text format dumps 2019-09-10 09:18:38 -04:00
f34f133f7d bugfix for pair style lubricate when used with walls 2019-09-09 18:03:43 -04:00
cde16580c0 fixed alphabetical ordering in Tools.txt and added a line highlighting the tool in temper.txt 2019-09-09 14:15:05 -07:00
493f1cf65b correct overlapping definitions of bitmask flags 2019-09-09 15:33:56 -04:00
345d6cc7fe Compute pe doesn't touch atom data 2019-09-09 12:29:46 -06:00
fb0dee49a2 Small changes to base dihedral_harmonic class 2019-09-09 12:06:52 -06:00
c36c4d50cc Add Kokkos verison of dihedral_harmonic 2019-09-09 11:16:31 -06:00
51786a459f Add support for HPE MPI to Kokkos package 2019-09-09 10:14:30 -06:00
Ed
b08b3b90da Adjusted compute_bond_local to allow components of force to be obtained 2019-09-09 14:43:34 +01:00
22fde86fd0 possible spelling mistake report from Sphinx for unidentified word ccache; added this to the false_positives.txt file 2019-09-09 02:27:54 -07:00
e7d8165a46 fixed spelling mistakes reported by sphix 2019-09-09 02:16:30 -07:00
91a1971977 added a line to tools/README and fixed the alphabetical ordering in docs 2019-09-09 02:04:59 -07:00
8c113f5fdb added LD potential and wrote html-style doc 2019-09-09 01:51:04 -07:00
450f437d9f bond/react:another edge atom clarification 2019-09-08 22:59:59 -06:00
2e0fcac744 bond/react: define MAXLINE take 2 2019-09-08 21:11:24 -06:00
f41a1f8303 vectorized in parts and made changes as suggested by evoyiatzis 2019-09-08 10:43:22 -07:00
bbb0f5740e link to data.peptide was deleted by me by mistake. Now that it's re-added, I revoked (un-necessary) changes I made since to the in.peptide input script 2019-09-06 11:18:33 -07:00
ce02cb58a5 replace explicit potential files with links to the potentials folder 2019-09-06 13:37:49 -04:00
82423ff4e0 re-add link to data.peptide file, which got deleted somehow 2019-09-06 13:25:31 -04:00
e40a710f04 comm_modify docs tweak
comm_modify cutoff usage clarification, when using restart files
2019-09-06 01:38:17 -06:00
9ba26a3145 Merge pull request #54 from lammps/master
rebase
2019-09-06 01:30:04 -06:00
0235b1a286 bond/react: move MAXLINE to header 2019-09-06 00:18:24 -06:00
49b5825e8d bond/react docs tweak: address a common mistake
no atom of a small molecule should be specified as an edge atom
2019-09-05 23:50:57 -06:00
718567f0c0 merging after deleting data.peptide per PR 1660 2019-09-05 21:25:13 -07:00
4fdece59a5 (a)fixed bz2 import, (b)linked to data.peptide in examples/peptide, (c)added a runlog 2019-09-05 21:19:57 -07:00
bb0225c02e clear svector for every invocation. document changes 2019-09-05 14:29:10 -04:00
cfd72aacce Merge pull request #1653 from cjknight/make_theta
Cleaning Theta Makefile
2019-09-05 14:14:35 -04:00
24f1981e31 use link instead of copy of data file for replica tool example 2019-09-05 14:10:02 -04:00
41d9dbff33 append all svector entries instead of copying over each other 2019-09-05 14:08:26 -04:00
4a9ca6eca2 Merge pull request #1661 from wmbrownIntel/user-intel-make-update
USER-INTEL: Adding explicit include path for MKL and updating benchma…
2019-09-05 14:02:49 -04:00
d28e5136b8 Merge pull request #1654 from nmhamster/master
Add support for Astra/Arm system to LAMMPS build files
2019-09-05 14:00:44 -04:00
92c77a2b37 Merge pull request #1634 from junghans/kim-api-version
cmake: add version check for kim-api
2019-09-05 13:59:46 -04:00
cffe43c96c bugfix for copying svector data with hybrid pair styles 2019-09-05 12:11:32 -04:00
1e3938835b consolidate rigid fix constants and enumerators into a single header and namespace 2019-09-05 11:32:13 -04:00
96c21bec98 added new valid words to doc/utils/sphinx-config/false_positives.txt 2019-09-04 23:16:19 -07:00
21699b89e0 python tool to reorder replica traj 2019-09-04 15:26:10 -07:00
fc50ae5951 clean up description 2019-09-04 16:11:19 -05:00
364ccf6361 Fix typo 2019-09-04 16:26:03 -04:00
039665c635 USER-INTEL: Adding explicit include path for MKL and updating benchmark script. 2019-09-04 07:53:33 -07:00
50af20d194 bond/react: remember reaction counts
allow restart files to restore cumutative reaction counts
2019-09-01 23:31:31 -06:00
86c21264b9 correct string assignment, take 2 2019-09-01 23:09:01 -06:00
c981dd7cf4 another one-liner: incorrect string assigment
does not affect any current features
2019-08-31 22:51:06 -06:00
5ed720e79c Add support for Astra/Arm system to LAMMPS build files. Testing on Astra at Sandia using ATSE environment. 2019-08-29 08:54:37 -06:00
43a004daac Cleaning Theta Makefile 2019-08-28 17:00:59 -05:00
c24486c824 Fall back to base class function 2019-08-28 09:47:26 -07:00
9961229226 Update docs 2019-08-28 10:01:00 -06:00
02e6ce32ea Add Kokkos version of minimize 2019-08-28 09:41:15 -06:00
3ec9317d03 Modified documentation 2019-08-26 14:28:09 -06:00
07fceec1ee Tweaked doc page 2019-08-25 23:26:42 -06:00
fb702fa9d6 Added FCC, BCC, and ICOS examples 2019-08-25 23:02:41 -06:00
0b34db7881 Merge pull request #1642 from lammps/chunk-doc
add another example to Howto chunk doc page
2019-08-25 20:16:35 -04:00
438400e5fe Merge pull request #1644 from rbberger/kokkos_cmake_fix
Add missing npair style for KOKKOS when using CMake
2019-08-25 20:15:38 -04:00
f8e3ea2839 Added Wlhat 2019-08-25 12:06:25 -06:00
8e1b3116a7 Added Clebsch-Gordan coefficients 2019-08-23 22:29:41 -06:00
aa9b805cc9 started on W_l 2019-08-23 18:11:52 -06:00
f44470fe63 Added fcc and bcc examples for the Steinhardt-Nelson parameters 2019-08-23 16:28:13 -06:00
ed02c25cfc bond/react: bug in 'max_rxn' option
fix one-line bug in 'max_rxn' option of bond/react
2019-08-22 22:36:48 -06:00
7d0ac95121 Merge pull request #52 from lammps/master
rebase
2019-08-22 22:28:28 -06:00
09937c9941 Add missing npair style for KOKKOS when using CMake 2019-08-22 18:36:36 -04:00
cb999ad65f fix typo 2019-08-22 13:46:24 -04:00
c74f5ae416 add another example to Howto chunk doc page 2019-08-22 11:37:21 -06:00
1599fcef12 Merge pull request #1640 from akohlmey/fix-wall-morse
Implement fix wall/morse
2019-08-21 22:17:08 -04:00
ad83f0e2e3 update docs to add morse in a similar style to fix wall/region 2019-08-21 17:12:04 -04:00
aac557a98f integrate fix wall/morse docs properly into manual 2019-08-21 16:00:14 -04:00
6a584672e8 implement fix wall/morse based on fix wall/region and fix wall/harmonic 2019-08-21 16:00:14 -04:00
82b3fad152 Merge pull request #1628 from erozic/feature-wall-region-morse
Added "morse" style to the "wall/region" fix
2019-08-21 11:47:43 -04:00
bf85bff783 Merge pull request #1641 from rbberger/fix_external_via_python
Extend lib interface to allow setting fix external callbacks
2019-08-21 10:54:59 -04:00
cfa9179b28 Merge pull request #1503 from etomica/master
Implement HMA compute in LAMMPS
2019-08-21 00:12:16 -04:00
42b282fe36 Merge pull request #1637 from dsbolin/granular_bug_fixes
Bug fix for fix/wall/gran
2019-08-21 00:09:04 -04:00
c686df1aba Merge pull request #1621 from akohlmey/collected-small-fixes
Collected small fixes and updates
2019-08-20 19:36:10 -04:00
ffc023adfe Merge pull request #1626 from erozic/feature-pair-cossq
New pair_style cosine/squared
2019-08-20 19:35:45 -04:00
9fc021d8db Merge pull request #1638 from ellio167/kim-api-2.1.3
bump kim-api to 2.1.3
2019-08-20 19:34:44 -04:00
91a80c3c21 Silence another compiler warning 2019-08-20 19:28:03 -04:00
fffe2eb958 Silence compiler warning 2019-08-20 19:26:26 -04:00
14b93f91e2 Compute HMA style name should be lowercase (and match the docs) 2019-08-20 19:25:19 -04:00
6b1df07298 compute HMA style name should be lowercase 2019-08-20 19:24:22 -04:00
b79e5401d4 Increase string buffer size to 128 2019-08-20 16:55:36 -06:00
9b703c6675 Fix file name 2019-08-20 16:54:37 -06:00
f4254cba09 Use snprintf instead of sprintf 2019-08-20 16:47:43 -06:00
b5a79f9616 update fix wall/region docs as requested by @sjplimp (i hope) 2019-08-20 16:50:49 -04:00
7beb2a53f2 Add missing comment 2019-08-20 14:12:14 -06:00
2b42428d28 Extend lib interface to set fix external callback
This allows creating a callback in Python and attaching it to
a fix external instance.
2019-08-20 14:04:49 -06:00
88ff8ce2d7 fix spelling issues in docs 2019-08-20 12:05:14 -04:00
6d5089e078 Merge branch 'master' into collected-small-fixes 2019-08-20 12:01:52 -04:00
3d9e737a19 change order of morse style wall potential parameters to be consistent with pair morse and bond morse 2019-08-20 11:27:29 -04:00
a0f49f27d9 Final tweaks to HMA documentation 2019-08-19 18:15:19 -04:00
9a849a4d4f Merge branch 'master' into master 2019-08-19 15:55:39 -06:00
5cee51204c Adjust warnings for default kim download behavior settings 2019-08-17 12:04:00 -05:00
3a4e6c0dfd Revert "Update FindKIM-API.cmake"
This reverts commit 2f531d0dab.
2019-08-17 11:40:13 -05:00
2f531d0dab Update FindKIM-API.cmake 2019-08-16 12:05:20 -06:00
b72215fe02 add support for automated checksumming of downloaded sources to kim api conventional build 2019-08-16 12:43:37 -04:00
379fa22147 FindKIM-API.cmake: address Ryan's comments 2019-08-16 10:30:09 -06:00
42711245a2 bump kim-api to 2.1.3 2019-08-16 10:08:23 -06:00
8cfdf4fad5 Merge pull request #1632 from ellio167/kim-query-user-agent
Add user-agent setting to kim_query curl command
2019-08-16 12:05:55 -04:00
72c5808cfe Merge pull request #1633 from junghans/chain.x_install
cmake: install chain.x as well
2019-08-16 12:05:33 -04:00
578bcf0fb0 Fixes normal force calculation bug in fix wall granular, allows twisting to be used without rolling in fix/wall/gran 2019-08-16 01:19:08 -06:00
cd77f71e99 cmake: add version check for kim-api 2019-08-15 12:56:15 -06:00
edbd525bcb cmake: install chain.x as well 2019-08-14 17:16:43 -06:00
259176c590 Add user-agent setting to kim_query curl command 2019-08-14 17:16:10 -06:00
e4e2342641 no need to include mpi.h in headers that include pointers.h (directly or indirectly) 2019-08-13 11:04:13 -04:00
47533bc526 Update fix_wall_region.txt 2019-08-13 00:31:03 +02:00
ff09c19149 documentation for fix_wall_region morse 2019-08-13 00:10:50 +02:00
915e0b30cf Merge branch 'master' into feature-wall-region-morse 2019-08-12 23:01:01 +02:00
fa6cf0fa8f reduce compiler warnings 2019-08-09 16:00:02 -04:00
42239bf480 update USER-MISC README 2019-08-09 15:51:49 -04:00
18725ce060 reformat documentation to match typical LAMMPS conventions, change links 2019-08-09 15:42:32 -04:00
5f442d7b64 add a couple of false positives 2019-08-09 15:31:22 -04:00
11f1ba220b fix typo 2019-08-09 15:30:55 -04:00
a12b959f39 Merge pull request #1625 from ellio167/kim-logs
Added logs for examples/kim
2019-08-09 13:47:41 -04:00
d90d2316d1 small tweak on include file list 2019-08-09 11:11:48 -04:00
838238b1ca documentation 2019-08-08 00:38:41 +02:00
8619462b3b Added logs for examples/kim 2019-08-07 16:14:22 -05:00
b084ad519d Merge branch 'master' into feature-pair-cossq 2019-08-07 19:19:16 +02:00
131c5aadd2 Error/warning tweaks 2019-08-07 19:16:54 +02:00
71ce1c2027 use cube() and square() from math_special.h instead of pow(x,3.0) and pow(x,2.0) 2019-08-05 23:25:06 -04:00
21f3f51ea2 better error messages on accessing invalid IDs in variable expressions 2019-08-05 23:17:38 -04:00
2a04e41287 Add pointers between doc pages for compute hma and dynamical matrix 2019-07-12 22:43:05 -04:00
226e68a784 Rename Pair::pairTensor() => Pair::hessian_twobody() 2019-07-12 22:42:23 -04:00
b675edcf5c More false positives 2019-07-03 16:28:37 -04:00
8e9037ac95 Add request to contact if interested in more pair styles 2019-07-03 16:19:26 -04:00
5ef389eaea Mention that a smoothly truncated potential works better
Add a table of pair styles that implement single_hessian
2019-07-03 14:45:45 -04:00
ef1b62a422 rename single2nd => single_hessian 2019-07-01 20:44:03 -04:00
3cd1095dd8 Add line for compute hma 2019-07-01 16:12:51 -04:00
fe5e952319 Fix docs issues 2019-06-19 19:17:20 -04:00
87e6fda820 Merge remote-tracking branch 'upstream/master' 2019-06-19 18:52:47 -04:00
fe1afee84e Merge remote-tracking branch 'upstream/master' 2019-06-19 16:12:36 -04:00
395a9d3739 Fold hma compute into USER-MISC 2019-06-19 16:12:15 -04:00
04cfaae54f Fold HMA README into source code in preparation for move to MISC 2019-06-19 13:37:41 -04:00
52a3d825ef Explain more about advantages of HMA, restrictions, point to examples/hma 2019-06-19 13:35:35 -04:00
622cfd5718 Add single2nd_enable flag for Pair 2019-06-14 14:12:09 -04:00
343bc728e2 Cleanup: s/fix/compute/ and properly increment size_vector 2019-06-14 14:11:15 -04:00
db3de8a31b rename Pair::single to single2nd 2019-06-14 13:48:31 -04:00
053ac654c3 Install.sh not needed 2019-06-12 20:32:22 -04:00
56ae35fb1a Address feedback on PR #1503 2019-06-12 13:09:33 -04:00
d9206127fb Add hyphen to roundoff, fix false positives 2019-06-12 11:40:21 -04:00
36ebf4d47a Make cmake aware of HMA 2019-06-11 10:22:55 -04:00
8858846e39 Unbreak pair.h 2019-06-10 17:13:16 -04:00
2d90bb9947 Unbreak computes.txt 2019-06-10 17:12:01 -04:00
b195ccfb27 Unbreak compute.txt 2019-06-10 17:08:40 -04:00
45a2f9ae68 Merge remote-tracking branch 'upstream/master' 2019-06-10 16:15:07 -04:00
e438d46ee2 Add README in src directory 2019-06-10 16:14:28 -04:00
5c9c15025a Add bits to Packages_details, Packages_user, fix up typos 2019-06-10 16:13:34 -04:00
ad8fd4a2a4 Clean up comments 2019-06-10 16:13:09 -04:00
62bfd300f0 Gitignore update 2019-04-16 13:43:02 +02:00
d000c6883b Mention need to build HMA as USER pacakge 2019-03-29 15:41:15 -04:00
02373c4c3b Move HMA bits into USER-HMA package 2019-03-29 15:22:44 -04:00
bbec50bef1 Add HMA examples 2019-03-29 15:06:49 -04:00
26c40a262d Merge remote-tracking branch 'upstream/master' 2019-03-29 11:46:28 -04:00
de893c8cdd Merge remote-tracking branch 'upstream/master'
Conflicts:
	doc/src/compute.txt
2019-03-27 10:05:04 -04:00
05f739a5a0 Bugfix for WCA-only option (trivial) 2019-03-03 01:55:02 +01:00
14353c5ea5 Added WCA-only option (sigma == cutoff case with wca) 2019-03-03 01:52:43 +01:00
4ea7d733e8 Initial commit... 2019-02-21 02:17:19 +01:00
101948ce1e Added a Morse potential option to 'fix wall/region' 2019-02-21 01:49:04 +01:00
52d3b9f325 Merge pull request #1 from erozic/bugfix-library-scatter-subset
Fixed bug in lammps_scatter_atoms_subset...
2019-02-21 01:14:57 +01:00
134b1d70ad Cleanup, add memory_usage method 2018-11-09 21:28:41 -05:00
29cd4eb5b6 Add HMA compute 2018-11-08 12:03:51 -05:00
3367a408b2 Add single2 method to Pair that can compute and return the Hessian matrix 2018-11-08 12:03:24 -05:00
285 changed files with 43530 additions and 86875 deletions

File diff suppressed because it is too large Load Diff

1
bench/POTENTIALS/CH.airebo Symbolic link
View File

@ -0,0 +1 @@
../../potentials/CH.airebo

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
../../potentials/CdTe.bop.table

View File

@ -1,305 +0,0 @@
Cu functions (universal 3), SM Foiles et al, PRB, 33, 7983 (1986)
29 63.550 3.6150 FCC
500 5.0100200400801306e-04 500 1.0000000000000009e-02 4.9499999999999886e+00
0. -3.1561636903424350e-01 -5.2324876182494506e-01 -6.9740831416804383e-01 -8.5202525457518519e-01
-9.9329216586042435e-01 -1.1246331970890324e+00 -1.2481882647347859e+00 -1.3654054700363645e+00 -1.4773214276236644e+00
-1.5847099936904741e+00 -1.6865851873526410e+00 -1.7843534091637920e+00 -1.8790616476576076e+00 -1.9710188604521761e+00
-2.0604838665854572e+00 -2.1476762477372944e+00 -2.2327843595560068e+00 -2.3159713409697673e+00 -2.3973797031286352e+00
-2.4771348895887826e+00 -2.5553480773272810e+00 -2.6321184083774227e+00 -2.7075347880408458e+00 -2.7816773487592030e+00
-2.8546186529652005e+00 -2.9264246898861899e+00 -2.9971557080624507e+00 -3.0668669157065978e+00 -3.1356090736776849e+00
-3.2034290008357829e+00 -3.2703700069757247e+00 -3.3364722658277230e+00 -3.4017731379735778e+00 -3.4663074517059016e+00
-3.5301077484029122e+00 -3.5932044977085980e+00 -3.6556262870729199e+00 -3.7173999892229403e+00 -3.7785509106421671e+00
-3.8391029237823773e+00 -3.8990785849196925e+00 -3.9584992397079333e+00 -4.0173851179270912e+00 -4.0744518500210916e+00
-4.1306733564032641e+00 -4.1864034067843932e+00 -4.2416582335814326e+00 -4.2964533268445280e+00 -4.3508034838872618e+00
-4.4047228547107977e+00 -4.4582249835318351e+00 -4.5113228468570128e+00 -4.5640288884490872e+00 -4.6163550514904443e+00
-4.6683128082199232e+00 -4.7199131872767452e+00 -4.7711667990036801e+00 -4.8220838587683374e+00 -4.8726742087289665e+00
-4.9229473379113813e+00 -4.9729124009208192e+00 -5.0225782353423369e+00 -5.0719533779533492e+00 -5.1210460798461668e+00
-5.1698643205481289e+00 -5.2184158212228908e+00 -5.2667080570261362e+00 -5.3147482686812282e+00 -5.3625434733324937e+00
-5.4101004747367369e+00 -5.4574258728391953e+00 -5.5045260727784751e+00 -5.5514072933650311e+00 -5.5980755750691458e+00
-5.6445367875538750e+00 -5.6907966367860183e+00 -5.7368606717507191e+00 -5.7827342908000219e+00 -5.8284227476608805e+00
-5.8739311571204382e+00 -5.9192645004390272e+00 -5.9644276303605182e+00 -6.0094252761103064e+00 -6.0542620478988169e+00
-6.0989424413057520e+00 -6.1434708414539330e+00 -6.1878515269578429e+00 -6.2320886736884802e+00 -6.2761863583589275e+00
-6.3201485619430571e+00 -6.3639791729330000e+00 -6.4076819904493902e+00 -6.4512607272098990e+00 -6.4947190123648113e+00
-6.5380603942065250e+00 -6.5812883427622069e+00 -6.6243939095620874e+00 -6.6670830925929181e+00 -6.7096660473058591e+00
-6.7521459135001862e+00 -6.7945257643836499e+00 -6.8368086085521611e+00 -6.8789973918942735e+00 -6.9210949994162263e+00
-6.9631042569970703e+00 -7.0050279330721992e+00 -7.0468687402560874e+00 -7.0886293368973554e+00 -7.1303123285804020e+00
-7.1719202695651916e+00 -7.2134556641788095e+00 -7.2549209681507421e+00 -7.2963185899023415e+00 -7.3376508917899628e+00
-7.3789201913012903e+00 -7.4201287622117036e+00 -7.4612788356982946e+00 -7.5023726014152032e+00 -7.5434122085331978e+00
-7.5843997667427345e+00 -7.6253373472216595e+00 -7.6662269835740062e+00 -7.7070706727342895e+00 -7.7478703758424388e+00
-7.7886280190928119e+00 -7.8293454945503811e+00 -7.8700246609474789e+00 -7.9106673444489104e+00 -7.9512753393968865e+00
-7.9918504090315139e+00 -8.0323942861870705e+00 -8.0729086739704030e+00 -8.1133952464140293e+00 -8.1538556491162808e+00
-8.1942914998523975e+00 -8.2347043891773524e+00 -8.2750958810033808e+00 -8.3154675131659701e+00 -8.3558207979692725e+00
-8.3961572227176475e+00 -8.4364782502312892e+00 -8.4767853193496308e+00 -8.5170798454139458e+00 -8.5573632207473906e+00
-8.5976368151087286e+00 -8.6379019761436666e+00 -8.6781600298199919e+00 -8.7184122808490656e+00 -8.7586600130993020e+00
-8.7989044899963460e+00 -8.8391469549140993e+00 -8.8793886315543773e+00 -8.9196307243150841e+00 -8.9598744186541239e+00
-9.0001208814363167e+00 -9.0403712612778122e+00 -9.0806266888772029e+00 -9.1208882773446476e+00 -9.1611571225108719e+00
-9.2014343032440138e+00 -9.2417208817437881e+00 -9.2820179038447463e+00 -9.3223263992829857e+00 -9.3626473819958278e+00
-9.4029818503831279e+00 -9.4433307875392529e+00 -9.4836951616705960e+00 -9.5237840547885071e+00 -9.5637918926951784e+00
-9.6038142178817338e+00 -9.6438519061474608e+00 -9.6839058194810832e+00 -9.7239768064614509e+00 -9.7640657024289226e+00
-9.8041733297054634e+00 -9.8443004978059889e+00 -9.8844480036373170e+00 -9.9246166317080906e+00 -9.9648071543198853e+00
-1.0005020331762637e+01 -1.0045256912501884e+01 -1.0085517633366123e+01 -1.0125803219723423e+01 -1.0166114385662183e+01
-1.0206451834160134e+01 -1.0246816257258331e+01 -1.0287208336224353e+01 -1.0327628741713852e+01 -1.0368078133934148e+01
-1.0408557162795717e+01 -1.0449066468066974e+01 -1.0489606679525650e+01 -1.0530178417100558e+01 -1.0570782291022510e+01
-1.0611418901960292e+01 -1.0652088841158786e+01 -1.0692792690577562e+01 -1.0733531023022920e+01 -1.0774304402276016e+01
-1.0815113383222808e+01 -1.0855958511980305e+01 -1.0896840326017184e+01 -1.0937759354276295e+01 -1.0978716117290730e+01
-1.1019711127305925e+01 -1.1060744888386239e+01 -1.1101817896531486e+01 -1.1142930639787664e+01 -1.1184083598352004e+01
-1.1225277244679319e+01 -1.1266512043589387e+01 -1.1307788452364719e+01 -1.1349106920870327e+01 -1.1390467891550486e+01
-1.1431871799781504e+01 -1.1473319073642074e+01 -1.1514810134213008e+01 -1.1556345395619132e+01 -1.1597925265115521e+01
-1.1639550143177303e+01 -1.1681220423591583e+01 -1.1722936493536452e+01 -1.1764698733669888e+01 -1.1806507518187232e+01
-1.1848363215029394e+01 -1.1890266185706139e+01 -1.1932216785634637e+01 -1.1974215364086319e+01 -1.2016262264291129e+01
-1.2058357823507606e+01 -1.2100502373105996e+01 -1.2142696238631970e+01 -1.2184939739884385e+01 -1.2227233190982815e+01
-1.2269576900438324e+01 -1.2311971171220080e+01 -1.2354416300827552e+01 -1.2396912581348374e+01 -1.2439460299532641e+01
-1.2482059736851909e+01 -1.2524711169562636e+01 -1.2567414868772744e+01 -1.2610171100495961e+01 -1.2652980125719694e+01
-1.2695842200459083e+01 -1.2738757575819193e+01 -1.2781726498053729e+01 -1.2824749208615117e+01 -1.2867825944219817e+01
-1.2910956936899197e+01 -1.2954142414054047e+01 -1.2997382598508125e+01 -1.3040677708563408e+01 -1.3084027958052218e+01
-1.3127433556386677e+01 -1.3170894708610035e+01 -1.3214411615448739e+01 -1.3257984473359954e+01 -1.3301613474583519e+01
-1.3345298807190659e+01 -1.3389040655121903e+01 -1.3432839198243016e+01 -1.3476694612386723e+01 -1.3520607069407617e+01
-1.3564576737214225e+01 -1.3608603779754390e+01 -1.3652688357330362e+01 -1.3696830626228689e+01 -1.3741030739041094e+01
-1.3785288844633044e+01 -1.3829605088192579e+01 -1.3873979611263849e+01 -1.3918412551792358e+01 -1.3962904044165157e+01
-1.4007454219246995e+01 -1.4052063204422609e+01 -1.4096731123636516e+01 -1.4141458097424390e+01 -1.4186244242962175e+01
-1.4231089674089560e+01 -1.4275994501358696e+01 -1.4320958832063411e+01 -1.4365982770278379e+01 -1.4411066416893846e+01
-1.4456209869649911e+01 -1.4501413223171539e+01 -1.4546676569005058e+01 -1.4591999995647598e+01 -1.4637383588581656e+01
-1.4682827430315228e+01 -1.4728331600403862e+01 -1.4773896175488971e+01 -1.4819521229330235e+01 -1.4865206832833337e+01
-1.4910953054084985e+01 -1.4956759958383259e+01 -1.5002627608264334e+01 -1.5048556063539081e+01 -1.5094545381317744e+01
-1.5140595616041765e+01 -1.5186706819511983e+01 -1.5232879040916600e+01 -1.5279112326867676e+01 -1.5325406721414765e+01
-1.5371762266086876e+01 -1.5418178999911675e+01 -1.5464656959446415e+01 -1.5511196178805903e+01 -1.5557796689685119e+01
-1.5604458521389688e+01 -1.5651181700861002e+01 -1.5697966252703509e+01 -1.5744812199205967e+01 -1.5791719560374304e+01
-1.5838688353945599e+01 -1.5885718595428898e+01 -1.5932810298111235e+01 -1.5979963473102316e+01 -1.6027178129340314e+01
-1.6074454273625634e+01 -1.6121791910645470e+01 -1.6169191042992907e+01 -1.6216651671189425e+01 -1.6264173793714576e+01
-1.6311757407021901e+01 -1.6359402505566209e+01 -1.6407109081822910e+01 -1.6454877126310635e+01 -1.6502706627614998e+01
-1.6550597572407241e+01 -1.6598549945469813e+01 -1.6646563729715353e+01 -1.6694638906205682e+01 -1.6742775454176012e+01
-1.6790973351056778e+01 -1.6839232572488413e+01 -1.6887553092348412e+01 -1.6935934882766333e+01 -1.6984377914146876e+01
-1.7032882155186826e+01 -1.7081447572897673e+01 -1.7130074132623690e+01 -1.7178761798061373e+01 -1.7227510531275698e+01
-1.7276320292724563e+01 -1.7325191041271864e+01 -1.7374122734215121e+01 -1.7423115327299456e+01 -1.7472168774711918e+01
-1.7521283029136725e+01 -1.7570458041655343e+01 -1.7619693762170868e+01 -1.7668990138814479e+01 -1.7718347118374936e+01
-1.7767764646209685e+01 -1.7817242666259403e+01 -1.7866781121071881e+01 -1.7916379951810882e+01 -1.7966039098283659e+01
-1.8015758498943796e+01 -1.8065538090918608e+01 -1.8115377810021755e+01 -1.8165277590764617e+01 -1.8215237366381530e+01
-1.8265257068836149e+01 -1.8315336628844307e+01 -1.8365475975885602e+01 -1.8415675038220570e+01 -1.8465933742903644e+01
-1.8516252015799409e+01 -1.8566629781600568e+01 -1.8617066963838965e+01 -1.8667563484898778e+01 -1.8718119266039025e+01
-1.8768734227397317e+01 -1.8819408288014415e+01 -1.8870141365839345e+01 -1.8920933377750998e+01 -1.8971784239569388e+01
-1.9022693866067016e+01 -1.9073662170983084e+01 -1.9124689067045438e+01 -1.9175774465969539e+01 -1.9226918278483254e+01
-1.9278120414338218e+01 -1.9329380782317116e+01 -1.9380699290257098e+01 -1.9432075845048644e+01 -1.9483510352663075e+01
-1.9535002718153464e+01 -1.9586552845676124e+01 -1.9638160638497766e+01 -1.9689825999008235e+01 -1.9741548828738019e+01
-1.9793329028359494e+01 -1.9845166497711489e+01 -1.9897061135804051e+01 -1.9949012840833348e+01 -2.0001021510188707e+01
-2.0053087040468540e+01 -2.0105209327494322e+01 -2.0157388266314911e+01 -2.0209623751249865e+01 -2.0261915675825890e+01
-2.0314263932714312e+01 -2.0366668414255741e+01 -2.0419129011700647e+01 -2.0471645615726288e+01 -2.0524218116314501e+01
-2.0576846402769888e+01 -2.0629530363722893e+01 -2.0682269887147754e+01 -2.0735064860369221e+01 -2.0787915170073120e+01
-2.0840820702317274e+01 -2.0893781342541502e+01 -2.0946796975575580e+01 -2.0999867485656864e+01 -2.1052992756428125e+01
-2.1106172670961428e+01 -2.1159407111702421e+01 -2.1212695960751944e+01 -2.1266039099329419e+01 -2.1319436408360275e+01
-2.1372887768154328e+01 -2.1426393058473991e+01 -2.1479952158748461e+01 -2.1533564947619766e+01 -2.1587231303431395e+01
-2.1640951103995235e+01 -2.1694724226644553e+01 -2.1748550548245930e+01 -2.1802429945213817e+01 -2.1856362293508028e+01
-2.1910347468648524e+01 -2.1964385345728829e+01 -2.2018475799410339e+01 -2.2072618703948137e+01 -2.2126813933181779e+01
-2.2181061360561898e+01 -2.2235360859143157e+01 -2.2289712301596296e+01 -2.2344115560361388e+01 -2.2398570507087584e+01
-2.2453077013515781e+01 -2.2507634950890292e+01 -2.2562244190064348e+01 -2.2616904601590250e+01 -2.2671616055687764e+01
-2.2726378422261405e+01 -2.2781191570901910e+01 -2.2836055370890790e+01 -2.2890969691219198e+01 -2.2945934400583837e+01
-2.3000949367399926e+01 -2.3056014459808921e+01 -2.3111129545678523e+01 -2.3166294492618363e+01 -2.3221509167983868e+01
-2.3276773438880355e+01 -2.3332087172173260e+01 -2.3387450234495873e+01 -2.3442862492249787e+01 -2.3498323811618320e+01
-2.3553834058571510e+01 -2.3609393098863848e+01 -2.3665000798062465e+01 -2.3720657021526677e+01 -2.3776361634436626e+01
-2.3832114501780552e+01 -2.3887915488378439e+01 -2.3943764458878377e+01 -2.3999661277761106e+01 -2.4055605809352301e+01
-2.4111597917826657e+01 -2.4167637467209488e+01 -2.4223724321393092e+01 -2.4279858344124932e+01 -2.4336039399030597e+01
-2.4392267349614485e+01 -2.4448542059257761e+01 -2.4504863391234494e+01 -2.4561231208711206e+01 -2.4617645374753693e+01
-2.4674105752332935e+01 -2.4730612204329191e+01 -2.4787164593538137e+01 -2.4843762782677913e+01 -2.4900406634392539e+01
-2.4957096011252133e+01 -2.5013830775771112e+01 -2.5070610790396586e+01 -2.5127435917366029e+01 -2.5184306019355063e+01
-2.5241220958503845e+01 -2.5298180597080318e+01 -2.5355184797285347e+01 -2.5412233421340488e+01 -2.5469326331427965e+01
1.0000000000000000e+01 1.0801534951171448e+01 1.0617375158244670e+01 1.0436688151228793e+01 1.0259403283230313e+01
1.0085451405601304e+01 9.9147648356938589e+00 9.7472773253084029e+00 9.5829240298195373e+00 9.4216414779654656e+00
9.2633675422888473e+00 9.1080414102110012e+00 8.9556035557302494e+00 8.8059957117284853e+00 8.6591608428743143e+00
8.5150431191084976e+00 8.3735878897014118e+00 8.2347416578681987e+00 8.0984520559319435e+00 7.9646678210201571e+00
7.8333387712866624e+00 7.7044157826449009e+00 7.5778507660022569e+00 7.4535966449878401e+00 7.3316073341564731e+00
7.2118377176659578e+00 7.0942436284134374e+00 6.9787818276207929e+00 6.8654099848621115e+00 6.7540866585212882e+00
6.6447712766712357e+00 6.5374241183666584e+00 6.4320062953403578e+00 6.3284797340946000e+00 6.2268071583795574e+00
6.1269520720505000e+00 6.0288787422946655e+00 5.9325521832211621e+00 5.8379381398054591e+00 5.7450030721804524e+00
5.6537141402680220e+00 5.5640391887418730e+00 5.4759467323160322e+00 5.3894059413519244e+00 5.3043866277758980e+00
5.2208592313018016e+00 5.1387948059520454e+00 5.0581650068698707e+00 4.9789420774166615e+00 4.9010988365496075e+00
4.8246086664712777e+00 4.7494455005478358e+00 4.6755838114879396e+00 4.6029985997776066e+00 4.5316653823665547e+00
4.4615601815980312e+00 4.3926595143797726e+00 4.3249403815888456e+00 4.2583802577058805e+00 4.1929570806747449e+00
4.1286492419807814e+00 4.0654355769448500e+00 4.0032953552278059e+00 3.9422082715398403e+00 3.8821544365521561e+00
3.8231143680053350e+00 3.7650689820101348e+00 3.7079995845373759e+00 3.6518878630917868e+00 3.5967158785670392e+00
3.5424660572764992e+00 3.4891211831576925e+00 3.4366643901451397e+00 3.3850791547089756e+00 3.3343492885547761e+00
3.2844589314827459e+00 3.2353925444006251e+00 3.1871349024889781e+00 3.1396710885139782e+00 3.0929864862859660e+00
3.0470667742591075e+00 3.0018979192706325e+00 2.9574661704151453e+00 2.9137580530522627e+00 2.8707603629438552e+00
2.8284601605189152e+00 2.7868447652620318e+00 2.7459017502243626e+00 2.7056189366531243e+00 2.6659843887374848e+00
2.6269864084689516e+00 2.5886135306124487e+00 2.5508545177868598e+00 2.5136983556521244e+00 2.4771342482006986e+00
2.4411516131510069e+00 2.4057400774406830e+00 2.3708894728175807e+00 2.3365898315265383e+00 2.3028313820887689e+00
2.2696045451740474e+00 2.2368999295609058e+00 2.2047083281853901e+00 2.1730207142748128e+00 2.1418282375653348e+00
2.1111222206016862e+00 2.0808941551166384e+00 2.0511356984892615e+00 2.0218386702793651e+00 1.9929950488372441e+00
1.9645969679867363e+00 1.9366367137799969e+00 1.9091067213223525e+00 1.8819995716660998e+00 1.8553079887710169e+00
1.8290248365311754e+00 1.8031431158652609e+00 1.7776559618705363e+00 1.7525566410377422e+00 1.7278385485262007e+00
1.7034952054980579e+00 1.6795202565098251e+00 1.6559074669601728e+00 1.6326507205929630e+00 1.6097440170540054e+00
1.5871814695006066e+00 1.5649573022624637e+00 1.5430658485530984e+00 1.5215015482308161e+00 1.5002589456071576e+00
1.4793326873036463e+00 1.4587175201534635e+00 1.4384082891492156e+00 1.4183999354343300e+00 1.3986874943378140e+00
1.3792660934511431e+00 1.3601309507466510e+00 1.3412773727360872e+00 1.3227007526689576e+00 1.3043965687692420e+00
1.2863603825102174e+00 1.2685878369261090e+00 1.2510746549598935e+00 1.2338166378466084e+00 1.2168096635312082e+00
1.2000496851203266e+00 1.1835327293670588e+00 1.1672548951882362e+00 1.1512123522134416e+00 1.1354013393647548e+00
1.1198181634671940e+00 1.1044591978884952e+00 1.0893208812080033e+00 1.0743997159140335e+00 1.0596922671287743e+00
1.0451951613605601e+00 1.0309050852825337e+00 1.0168187845373140e+00 1.0029330625671378e+00 9.8924477946872713e-01
9.7575085087259694e-01 9.6244824684604424e-01 9.4933399081931213e-01 9.3640515853477169e-01 9.2365887701803118e-01
9.1109232357100112e-01 8.9870272478628266e-01 8.8648735558209424e-01 8.7444353825798160e-01 8.6256864157006774e-01
8.5086007982605949e-01 8.3931531199913678e-01 8.2793184086057892e-01 8.1670721213066955e-01 8.0563901364725510e-01
7.9472487455206675e-01 7.8396246449372953e-01 7.7334949284779597e-01 7.6288370795296245e-01 7.5256289636327622e-01
7.4238488211596021e-01 7.3234752601463171e-01 7.2244872492728618e-01 7.1268641109915265e-01 7.0305855147956464e-01
6.9356314706317335e-01 6.8419823224459719e-01 6.7496187418651843e-01 6.6585217220099224e-01 6.5686725714346750e-01
6.4800529081937697e-01 6.3926446540306614e-01 6.3064300286859520e-01 6.2213915443241774e-01 6.1375120000748140e-01
6.0547744766850542e-01 5.9731623312840654e-01 5.8926591922531912e-01 5.8132489542033028e-01 5.7349157730523359e-01
5.6576440612064971e-01 5.5814184828379609e-01 5.5062239492602316e-01 5.4320456143964790e-01 5.3588688703414888e-01
5.2866793430138515e-01 5.2154628878946241e-01 5.1452055858552015e-01 5.0758937390678227e-01 5.0075138669987496e-01
4.9400527024841523e-01 4.8734971878830358e-01 4.8078344713093557e-01 4.7430519029390972e-01 4.6791370313911962e-01
4.6160776001828552e-01 4.5538615442535857e-01 4.4924769865602876e-01 4.4319122347399365e-01 4.3721557778390086e-01
4.3131962831075654e-01 4.2550225928575891e-01 4.1976237213834899e-01 4.1409888519439697e-01 4.0851073338028954e-01
4.0299686793291478e-01 3.9755625611540779e-01 3.9218788093843493e-01 3.8689074088692443e-01 3.8166384965228239e-01
3.7650623586976018e-01 3.7141694286095728e-01 3.6639502838144544e-01 3.6143956437320846e-01 3.5654963672189943e-01
3.5172434501901328e-01 3.4696280232829579e-01 3.4226413495707497e-01 3.3762748223177219e-01 3.3305199627774762e-01
3.2853684180349596e-01 3.2408119588894380e-01 3.1968424777773841e-01 3.1534519867361155e-01 3.1106326154055530e-01
3.0683766090688813e-01 3.0266763267296426e-01 2.9855242392259740e-01 2.9449129273803010e-01 2.9048350801842027e-01
2.8652834930171167e-01 2.8262510658997009e-01 2.7877308017785829e-01 2.7497158048439907e-01 2.7121992788793392e-01
2.6751745256412462e-01 2.6386349432690004e-01 2.6025740247248841e-01 2.5669853562631850e-01 2.5318626159266877e-01
2.4971995720718354e-01 2.4629900819206618e-01 2.4292280901402563e-01 2.3959076274464408e-01 2.3630228092351846e-01
2.3305678342376535e-01 2.2985369832002167e-01 2.2669246175884616e-01 2.2357251783148069e-01 2.2049331844890929e-01
2.1745432321916880e-01 2.1445499932688783e-01 2.1149482141498144e-01 2.0857327146848004e-01 2.0568983870040114e-01
2.0284401943976604e-01 2.0003531702142130e-01 1.9726324167804599e-01 1.9452731043391402e-01 1.9182704700056608e-01
1.8916198167437770e-01 1.8653165123588344e-01 1.8393559885088084e-01 1.8137337397327791e-01 1.7884453224959973e-01
1.7634863542523593e-01 1.7388525125224241e-01 1.7145395339876757e-01 1.6905432136008169e-01 1.6668594037109052e-01
1.6434840132036665e-01 1.6204130066570688e-01 1.5976424035106618e-01 1.5751682772493769e-01 1.5529867546015819e-01
1.5310940147503249e-01 1.5094862885580707e-01 1.4881598578045718e-01 1.4671110544379484e-01 1.4463362598375351e-01
1.4258319040899092e-01 1.4055944652768915e-01 1.3856204687748974e-01 1.3659064865666881e-01 1.3464491365640630e-01
1.3272450819420012e-01 1.3082910304837103e-01 1.2895837339364213e-01 1.2711199873781265e-01 1.2528966285941134e-01
1.2349105374641756e-01 1.2171586353596986e-01 1.1996378845505173e-01 1.1823452876211782e-01 1.1652778868972380e-01
1.1484327638801961e-01 1.1318070386919254e-01 1.1153978695277944e-01 1.0992024521187505e-01 1.0832180192018548e-01
1.0674418399992769e-01 1.0518712197055757e-01 1.0365034989832456e-01 1.0213360534659532e-01 1.0063662932698936e-01
9.9159166251264974e-02 9.7700963883974534e-02 9.6261773295835962e-02 9.4841348817873428e-02 9.3439447996227276e-02
9.2055831547688260e-02 9.0690263315935660e-02 8.9342510228411331e-02 8.8012342253891429e-02 8.6699532360706044e-02
8.5403856475584128e-02 8.4125093443141896e-02 8.2863024985984080e-02 8.1617435665412685e-02 8.0388112842733062e-02
7.9174846641143493e-02 7.7977429908209661e-02 7.6795658178889781e-02 7.5629329639115728e-02 7.4478245089953710e-02
7.3342207912248103e-02 7.2221024031827064e-02 7.1114501885225945e-02 7.0022452385910761e-02 6.8944688890991479e-02
6.7881027168450458e-02 6.6831285364849169e-02 6.5795283973477225e-02 6.4772845803028556e-02 6.3763795946680801e-02
6.2767961751651669e-02 6.1785172789201148e-02 6.0815260825057393e-02 5.9858059790287577e-02 5.8913405752569759e-02
5.7981136887894191e-02 5.7061093452682510e-02 5.6153117756271964e-02 5.5257054133826422e-02 5.4372748919636837e-02
5.3500050420772105e-02 5.2638808891131372e-02 5.1788876505864945e-02 5.0950107336147354e-02 5.0122357324306366e-02
4.9305484259319243e-02 4.8499347752635869e-02 4.7703809214351578e-02 4.6918731829721727e-02 4.6143980535982010e-02
4.5379421999521163e-02 4.4624924593352100e-02 4.3880358374905226e-02 4.3145595064128850e-02 4.2420508021892900e-02
4.1704972228691739e-02 4.0998864263647405e-02 4.0302062283785300e-02 3.9614446003616965e-02 3.8935896674993531e-02
3.8266297067221844e-02 3.7605531447481688e-02 3.6953485561492139e-02 3.6310046614435487e-02 3.5675103252157392e-02
3.5048545542616605e-02 3.4430264957581835e-02 3.3820154354582632e-02 3.3218107959093635e-02 3.2624021346983278e-02
3.2037791427166340e-02 3.1459316424514716e-02 3.0888495862994469e-02 3.0325230549015147e-02 2.9769422555015357e-02
2.9220975203265720e-02 2.8679793049885216e-02 2.8145781869070463e-02 2.7618848637539717e-02 2.7098901519172047e-02
2.6585849849867671e-02 2.6079604122596356e-02 2.5580075972643668e-02 2.5087178163056167e-02 2.4600824570288671e-02
2.4120930170012267e-02 2.3647411023137499e-02 2.3180184262011627e-02 2.2719168076792418e-02 2.2264281702001121e-02
2.1815445403263078e-02 2.1372580464206647e-02 2.0935609173537761e-02 2.0504454812290795e-02 2.0079041641240414e-02
1.9659294888467183e-02 1.9245140737102040e-02 1.8836506313223755e-02 1.8433319673904158e-02 1.8035509795416238e-02
1.7643006561603891e-02 1.7255740752380899e-02 1.6873644032391555e-02 1.6496648939823388e-02 1.6124688875347792e-02
1.5757698091213634e-02 1.5395611680482646e-02 1.5038365566394485e-02 1.4685896491875350e-02 1.4338142009180710e-02
1.3995040469664266e-02 1.3656531013687800e-02 1.3322553560652262e-02 1.2993048799157525e-02 1.2667958177290606e-02
1.2347223893038994e-02 1.2030788884814458e-02 1.1718596822117511e-02 1.1410592096299910e-02 1.1106719811460941e-02
1.0806925775450060e-02 1.0511156490982998e-02 1.0219359146882878e-02 9.9314816094114855e-03 9.6474724137328716e-03
9.3672807554677773e-03 9.0908564823645177e-03 8.8181500860711193e-03 8.5491126940134832e-03 8.2836960613733579e-03
8.0218525631707838e-03 7.7635351864465685e-03 7.5086975225370223e-03 7.2572937594544973e-03 7.0092786743605195e-03
6.7646076261301813e-03 6.5232365480138998e-03 6.2851219403949887e-03 6.0502208636273869e-03 5.8184909309735300e-03
5.5898903016277091e-03 5.3643776738254711e-03 5.1419122780385074e-03 4.9224538702609122e-03 4.7059627253757674e-03
4.4923996305976099e-03 4.2817258790122659e-03 4.0739032631877392e-03 3.8688940688609841e-03 3.6666610687164924e-03
3.4671675162341598e-03 3.2703771396105918e-03 3.0762541357672313e-03 2.8847631644254856e-03 2.6958693422570179e-03
2.5095382371091990e-03 2.3257358623008373e-03 2.1444286709895732e-03 1.9655835506104946e-03 1.7891678173820869e-03
1.6151492108847365e-03 1.4434958887007410e-03 1.2741764211267048e-03 1.1071597859496629e-03 9.4241536328815156e-04
7.7991293049733956e-04 6.1962265713921827e-04 4.6151510001329887e-04 3.0556119825198014e-04 1.5173226847375876e-04
0. 0. 0. 0. 0.
0. 5.4383329664155645e-05 9.3944898415945083e-04 4.3251847212615047e-03 1.2334244035325348e-02
2.7137722173468548e-02 5.0697119791449641e-02 8.4607638668976470e-02 1.3001641279549414e-01 1.8759487452762702e-01
2.5754900895683441e-01 3.3965493779430744e-01 4.3331024634064264e-01 5.3759384878832961e-01 6.5132908316254046e-01
7.7314622535699939e-01 9.0154178511424377e-01 1.0349328562818201e+00 1.1717054897399350e+00 1.3102565818166738e+00
1.4490291582473986e+00 1.5865412121263560e+00 1.7214084470448441e+00 1.8523614026473965e+00 1.9782575145276269e+00
2.0980886961566938e+00 2.2109850373516764e+00 2.3162151996095730e+00 2.4131840597491703e+00 2.5014281146549706e+00
2.5806091153285706e+00 2.6505063508648590e+00 2.7110079545661563e+00 2.7621015568249447e+00 2.8038645637913220e+00
2.8364542979766156e+00 2.8600981973448825e+00 2.8750842333755031e+00 2.8817516761559574e+00 2.8804823057701157e+00
2.8716921439699092e+00 2.8558237581894161e+00 2.8333391711552594e+00 2.8047133934346959e+00 2.7704285829676252e+00
2.7309688247181469e+00 2.6868155147671331e+00 2.6384433262347358e+00 2.5863167291097398e+00 2.5308870321738226e+00
2.4725899125317596e+00 2.4118433966060167e+00 2.3490462556752334e+00 2.2845767789603002e+00 2.2187918877813502e+00
2.1520265552815943e+00 2.0845934975626363e+00 2.0167831036919637e+00 1.9488635738636404e+00 1.8810812369508270e+00
1.8136610207193371e+00 1.7468070500507196e+00 1.6807033505858371e+00 1.6155146372447149e+00 1.5513871690559142e+00
1.4884496536383409e+00 1.4268141864958608e+00 1.3665772120042590e+00 1.3078204945836447e+00 1.2506120900523854e+00
1.1950073085502879e+00 1.1410496616995687e+00 1.0887717878420631e+00 1.0381963502565981e+00 9.8933690422003551e-01
9.4219872964247031e-01 8.9677962677415124e-01 8.5307067316958651e-01 8.1105694069385592e-01 7.7071817188505065e-01
7.3202941544290212e-01 6.9496162100761794e-01 6.5948219372701189e-01 6.2555550939233484e-01 5.9314339115629977e-01
5.6220554903693554e-01 5.3269998356387660e-01 5.0458335504023211e-01 4.7781131998032222e-01 4.5233883634534777e-01
4.2812043923464138e-01 4.0511048870905242e-01 3.8326339142174781e-01 3.6253379771729577e-01 3.4287677583286325e-01
3.2424796479760154e-01 3.0660370758054967e-01 2.8990116598452254e-01 2.7409841872609064e-01 2.5915454407883409e-01
2.4502968839369110e-01 2.3168512174254197e-01 2.1908328186436687e-01 2.0718780752542632e-01 1.9596356233750800e-01
1.8537665001230508e-01 1.7539442196444632e-01 1.6598547811304609e-01 1.5711966166996927e-01 1.4876804864444715e-01
1.4090293273673637e-01 1.3349780623990259e-01 1.2652733751724909e-01 1.1996734557434463e-01 1.1379477219856060e-01
1.0798765209582406e-01 1.0252508141368288e-01 9.7387185001678311e-02 9.2555082724584015e-02 8.8010855111109620e-02
8.3737508589961873e-02 7.9718940536826377e-02 7.5939904329596963e-02 7.2385974585237101e-02 6.9043512729294765e-02
6.5899633029043336e-02 6.2942169202580001e-02 6.0159641699440547e-02 5.7541225732930634e-02 5.5076720130546430e-02
5.2756517056398833e-02 5.0571572648238083e-02 4.8513378601664936e-02 4.6573934725081756e-02 4.4745722480991068e-02
4.3021679522073253e-02 4.1395175224364866e-02 3.9859987214311721e-02 3.8410278881708670e-02 3.7040577866510604e-02
3.5745755503880039e-02 3.4521007208912380e-02 3.3361833779917971e-02 3.2264023597108116e-02 3.1223635691821294e-02
3.0236983660070216e-02 2.9300620393215571e-02 2.8411323597772320e-02 2.7566082075896281e-02 2.6762082737777249e-02
2.5996698317105604e-02 2.5267475760840985e-02 2.4572125264713973e-02 2.3908509926274246e-02 2.3274635987705516e-02
2.2668643641204911e-02 2.2088798370316409e-02 2.1533482801290083e-02 2.1001189039288493e-02 2.0490511464994254e-02
2.0000139967999431e-02 1.9528853594166895e-02 1.9075514584991349e-02 1.8639062787818239e-02 1.8218510416650235e-02
1.7812937144080498e-02 1.7421485505751177e-02 1.7043356599549031e-02 1.6677806062561751e-02 1.6324140309613155e-02
1.5981713017976018e-02 1.5649921843605585e-02 1.5328205354974755e-02 1.5016040171312250e-02 1.4712938292708366e-02
1.4418444610242331e-02 1.4132134584901757e-02 1.3853612084676337e-02 1.3582507369821917e-02 1.3318475216818060e-02
1.3061193172097418e-02 1.2810359927147186e-02 1.2565693807050415e-02 1.2326931365025051e-02 1.2093826075940506e-02
1.1866147122233661e-02 1.1643678266026136e-02 1.1426216801644407e-02 1.1213572583084475e-02 1.1005567121320226e-02
1.0802032746662471e-02 1.0602811831688208e-02 1.0407756070544782e-02 1.0216725810699157e-02 1.0029589433467268e-02
9.8462227798860602e-03 9.6665086187306404e-03 9.4903361536790021e-03 9.3176005668363371e-03 9.1482025960089031e-03
8.9820481433065535e-03 8.8190479128032462e-03 8.6591170751522117e-03 8.5021749571883021e-03 8.3481447546937537e-03
8.1969532666261724e-03 8.0485306492223962e-03 7.9028101885199598e-03 7.7597280899136256e-03 7.6192232834934315e-03
7.4812372439735375e-03 7.3457138241272979e-03 7.2125991007052359e-03 7.0818412319012813e-03 6.9533903254870300e-03
6.8271983168139705e-03 6.7032188559211503e-03 6.5814072030662141e-03 6.4617201320263939e-03 6.3441158405819764e-03
6.2285538676237207e-03 6.1149950163802147e-03 6.0034012832899109e-03 5.8937357920846312e-03 5.7859627326801166e-03
5.6800473044990030e-03 5.5759556638887986e-03 5.4736548753111791e-03 5.3731128660109428e-03 5.2742983838981461e-03
5.1771809583849582e-03 5.0817308639591330e-03 4.9879190862693046e-03 4.8957172905357560e-03 4.8050977921015592e-03
4.7160335289582467e-03 4.6284980360953021e-03 4.5424654215287241e-03 4.4579103438822931e-03 4.3748079913988880e-03
4.2931340622749670e-03 4.2128647462132407e-03 4.1339767071033873e-03 4.0564470667446839e-03 3.9802533895282599e-03
3.9053736680121076e-03 3.8317863093158128e-03 3.7594701222811860e-03 3.6884043053326127e-03 3.6185684349951674e-03
3.5499424550168301e-03 3.4825066660512660e-03 3.4162417158645347e-03 3.3511285900229004e-03 3.2871486030347646e-03
3.2242833899080170e-03 3.1625148980992668e-03 3.1018253798278661e-03 3.0421973847258310e-03 2.9836137528083811e-03
2.9260576077371064e-03 2.8695123503632708e-03 2.8139616525287708e-03 2.7593894511106498e-03 2.7057799422959966e-03
2.6531175760685227e-03 2.6013870509009052e-03 2.5505733086344240e-03 2.5006615295404683e-03 2.4516371275501436e-03
2.4034857456453340e-03 2.3561932514012535e-03 2.3097457326723414e-03 2.2641294934160616e-03 2.2193310496436136e-03
2.1753371254977782e-03 2.1321346494441173e-03 2.0897107505768314e-03 2.0480527550303662e-03 2.0071481824917164e-03
1.9669847428123305e-03 1.9275503327108034e-03 1.8888330325659355e-03 1.8508211032951805e-03 1.8135029833145980e-03
1.7768672855772646e-03 1.7409027946878666e-03 1.7055984640891586e-03 1.6709434133182904e-03 1.6369269253308227e-03
1.6035384438881917e-03 1.5707675710093030e-03 1.5386040644797400e-03 1.5070378354209296e-03 1.4760589459142243e-03
1.4456576066784674e-03 1.4158241748004133e-03 1.3865491515145517e-03 1.3578231800324136e-03 1.3296370434173130e-03
1.3019816625059188e-03 1.2748480938728074e-03 1.2482275278369870e-03 1.2221112865106742e-03 1.1964908218862064e-03
1.1713577139624703e-03 1.1467036689077198e-03 1.1225205172586891e-03 1.0988002121543120e-03 1.0755348276031765e-03
1.0527165567835728e-03 1.0303377103750150e-03 1.0083907149206553e-03 9.8686811121878604e-04 9.6576255274356815e-04
9.4506680409354657e-04 9.2477373946662708e-04 9.0487634116191706e-04 8.8536769810608137e-04 8.6624100440530968e-04
8.4748955791986991e-04 8.2910675886310736e-04 8.1108610842155551e-04 7.9342120739794852e-04 7.7610575487466887e-04
7.5913354689786591e-04 7.4249847518158968e-04 7.2619452583109687e-04 7.1021577808524222e-04 6.9455640307671332e-04
6.7921066261025093e-04 6.6417290795844214e-04 6.4943757867335500e-04 6.3499920141575628e-04 6.2085238879914031e-04
6.0699183824991856e-04 5.9341233088238896e-04 5.8010873038847818e-04 5.6707598194186137e-04 5.5430911111587280e-04
5.4180322281523891e-04 5.2955350022104025e-04 5.1755520374872563e-04 5.0580367001857793e-04 4.9429431083891986e-04
4.8302261220136561e-04 4.7198413328763435e-04 4.6117450548847222e-04 4.5058943143359842e-04 4.4022468403297037e-04
4.3007610552883886e-04 4.2013960655883260e-04 4.1041116522908330e-04 4.0088682619821882e-04 3.9156269977118005e-04
3.8243496100300207e-04 3.7349984881274514e-04 3.6475366510662147e-04 3.5619277391102898e-04 3.4781360051482253e-04
3.3961263062063513e-04 3.3158640950565685e-04 3.2373154119109092e-04 3.1604468762060252e-04 3.0852256784754707e-04
3.0116195723081836e-04 2.9395968663908575e-04 2.8691264166377101e-04 2.8001776184017647e-04 2.7327203987681688e-04
2.6667252089326854e-04 2.6021630166557681e-04 2.5390052988028163e-04 2.4772240339593181e-04 2.4167916951265550e-04
2.3576812424967210e-04 2.2998661163024531e-04 2.2433202297460642e-04 2.1880179620031078e-04 2.1339341513026532e-04
2.0810440880823181e-04 2.0293235082175821e-04 1.9787485863260665e-04 1.9292959291436311e-04 1.8809425689761319e-04
1.8336659572205580e-04 1.7874439579616125e-04 1.7422548416372047e-04 1.6980772787763936e-04 1.6548903338088530e-04
1.6126734589430591e-04 1.5714064881157744e-04 1.5310696310104604e-04 1.4916434671449329e-04 1.4531089400280153e-04
1.4154473513841234e-04 1.3786403554466153e-04 1.3426699533172857e-04 1.3075184873951283e-04 1.2731686358694039e-04
1.2396034072819674e-04 1.2068061351527565e-04 1.1747604726729168e-04 1.1434503874632306e-04 1.1128601563955686e-04
1.0829743604811193e-04 1.0537778798212988e-04 1.0252558886227753e-04 9.9739385027582898e-05 9.7017751249615057e-05
9.4359290252773662e-05 9.1762632240957511e-05 8.9226434430383569e-05 8.6749380588361721e-05 8.4330180578390864e-05
8.1967569911181246e-05 7.9660309301724484e-05 7.7407184232279429e-05 7.5207004521348451e-05 7.3058603898526649e-05
7.0960839585107720e-05 6.8912591880629977e-05 6.6912763755002085e-05 6.4960280446513426e-05 6.3054089065330086e-05
6.1193158202771814e-05 5.9376477546041213e-05 5.7603057498502742e-05 5.5871928805544500e-05 5.4182142185708361e-05
5.2532767967318744e-05 5.0922895730446966e-05 4.9351633954125953e-05 4.7818109668823321e-05 4.6321468114150300e-05
4.4860872401664663e-05 4.3435503182825573e-05 4.2044558321957873e-05 4.0687252574273750e-05 3.9362817268785450e-05
3.8070499996214428e-05 3.6809564301621984e-05 3.5579289382025496e-05 3.4378969788611451e-05 3.3207915133769052e-05
3.2065449802711312e-05 3.0950912669766876e-05 2.9863656819185611e-05 2.8803049270468119e-05 2.7768470708167169e-05
2.6759315216115260e-05 2.5774990015931323e-05 2.4814915209964844e-05 2.3878523528387922e-05 2.2965260080560611e-05
2.2074582110528148e-05 2.1205958756658535e-05 2.0358870815317476e-05 1.9532810508535560e-05 1.8727281255713447e-05
1.7941797449145505e-05 1.7175884233475961e-05 1.6429077288930018e-05 1.5700922618341645e-05 1.4990976337865471e-05
1.4298804471386687e-05 1.3623982748522034e-05 1.2966096406226424e-05 1.2324739993882115e-05 1.1699517181902770e-05
1.1090040573734860e-05 1.0495931521266495e-05 9.9168199435395021e-06 9.3523441487842465e-06 8.8021506596591475e-06
8.2658940417265321e-06 7.7432367350197678e-06 7.2338488887770244e-06 6.7374081991923703e-06 6.2535997501888662e-06
5.7821158571569505e-06 5.3226559136389283e-06 4.8749262408651290e-06 4.4386399401326240e-06 4.0135167480073166e-06
3.5992828942305738e-06 3.1956709623667747e-06 2.8024197531120341e-06 2.4192741502208947e-06 2.0459849890155880e-06
1.6823089274468580e-06 1.3280083196495871e-06 9.8285109196557868e-07 6.4661062138351467e-07 3.1906561636122974e-07
0. 0. 0. 0. 0.

1
bench/POTENTIALS/Cu_u3.eam Symbolic link
View File

@ -0,0 +1 @@
../../potentials/Cu_u3.eam

File diff suppressed because it is too large Load Diff

1
bench/POTENTIALS/Ni.adp Symbolic link
View File

@ -0,0 +1 @@
../../potentials/Ni.adp

View File

@ -56,6 +56,13 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -restrict")
endif()
option(DISABLE_CXX11_REQUIREMENT "Disable check that requires C++11 for compiling LAMMPS" OFF)
if(DISABLE_CXX11_REQUIREMENT)
add_definitions(-DLAMMPS_CXX98)
else()
set(CMAKE_CXX_STANDARD 11)
endif()
# GNU compiler features
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
option(ENABLE_COVERAGE "Enable code coverage" OFF)
@ -589,6 +596,7 @@ if(BUILD_TOOLS)
enable_language(Fortran)
add_executable(chain.x ${LAMMPS_TOOLS_DIR}/chain.f)
target_link_libraries(chain.x ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
install(TARGETS chain.x DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
enable_language(C)

View File

@ -37,6 +37,26 @@
# KIM-API-CMAKE_Fortran_COMPILER
#
function(_KIMAPI_GET_VERSION _OUT_ver _version_hdr)
if(NOT EXISTS ${_version_hdr})
message(FATAL_ERROR "Header file ${_version_hdr} not found (check value of KIM-API_INCLUDE_DIR)")
endif()
foreach(_var KIM_VERSION_MAJOR KIM_VERSION_MINOR KIM_VERSION_PATCH)
file(STRINGS ${_version_hdr} _contents REGEX "#define ${_var}[ \t]+")
if(_contents)
string(REGEX REPLACE ".*#define ${_var}[ \t]+([0-9]+).*" "\\1" _${_var} "${_contents}")
if(${_${_var}} STREQUAL "")
message(FATAL_ERROR "Version parsing failed for ${_var} in ${_version_hdr}, got empty return!")
elseif(NOT ${_${_var}} MATCHES "^[0-9]+$")
message(FATAL_ERROR "Version parsing failed for ${_var} in ${_version_hdr}, excepted a number but got ${_${_var}}!")
endif()
else()
message(FATAL_ERROR "No ${_var} line found in include file ${_version_hdr}")
endif()
endforeach()
set(${_OUT_ver} ${_KIM_VERSION_MAJOR}.${_KIM_VERSION_MINOR}.${_KIM_VERSION_PATCH} PARENT_SCOPE)
endfunction()
if(KIM-API_FIND_QUIETLY)
set(REQ_OR_QUI "QUIET")
else()
@ -54,6 +74,12 @@ if(KIM-API_FOUND)
pkg_get_variable(KIM-API_CMAKE_Fortran_COMPILER libkim-api CMAKE_Fortran_COMPILER)
endif()
if(KIM-API_INCLUDEDIR)
_KIMAPI_GET_VERSION(KIM-API_VERSION ${KIM-API_INCLUDEDIR}/KIM_Version.h)
else()
set(KIM-API_VERSION 0)
endif()
# handle the QUIETLY and REQUIRED arguments and set KIM-API_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(KIM-API REQUIRED_VARS KIM-API_LIBRARIES)
find_package_handle_standard_args(KIM-API REQUIRED_VARS KIM-API_LIBRARIES VERSION_VAR KIM-API_VERSION)

View File

@ -1,4 +1,5 @@
if(PKG_KIM)
set(KIM-API_MIN_VERSION 2.1)
find_package(CURL)
if(CURL_FOUND)
include_directories(${CURL_INCLUDE_DIRS})
@ -7,10 +8,17 @@ if(PKG_KIM)
endif()
find_package(KIM-API QUIET)
if(KIM-API_FOUND)
set(DOWNLOAD_KIM_DEFAULT OFF)
if (KIM-API_VERSION VERSION_LESS ${KIM-API_MIN_VERSION})
if ("${DOWNLOAD_KIM}" STREQUAL "")
message(WARNING "Unsuitable KIM-API version \"${KIM-API_VERSION}\" found, but required is at least \"${KIM-API_MIN_VERSION}\". Default behavior set to download and build our own.")
endif()
set(DOWNLOAD_KIM_DEFAULT ON)
else()
if (NOT DOWNLOAD_KIM)
message(WARNING "KIM-API package not found. We will download and build our own")
set(DOWNLOAD_KIM_DEFAULT OFF)
endif()
else()
if ("${DOWNLOAD_KIM}" STREQUAL "")
message(WARNING "KIM-API package not found. Default behavior set to download and build our own")
endif()
set(DOWNLOAD_KIM_DEFAULT ON)
endif()
@ -28,8 +36,8 @@ if(PKG_KIM)
message(FATAL_ERROR "Compiling the KIM-API library requires a Fortran compiler")
endif()
ExternalProject_Add(kim_build
URL https://s3.openkim.org/kim-api/kim-api-2.1.2.txz
URL_MD5 6ac52e14ef52967fc7858220b208cba5
URL https://s3.openkim.org/kim-api/kim-api-2.1.3.txz
URL_MD5 6ee829a1bbba5f8b9874c88c4c4ebff8
BINARY_DIR build
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
@ -42,7 +50,7 @@ if(PKG_KIM)
set(KIM-API_LDFLAGS ${INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/libkim-api${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND LAMMPS_DEPS kim_build)
else()
find_package(KIM-API REQUIRED)
find_package(KIM-API ${KIM-API_MIN_VERSION} REQUIRED)
endif()
list(APPEND LAMMPS_LINK_LIBS "${KIM-API_LDFLAGS}")
include_directories(${KIM-API_INCLUDE_DIRS})

View File

@ -17,12 +17,15 @@ if(PKG_KOKKOS)
${KOKKOS_PKG_SOURCES_DIR}/atom_vec_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/comm_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/comm_tiled_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/min_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/min_linesearch_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neighbor_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neigh_list_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neigh_bond_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/fix_nh_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/npair_halffull_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/domain_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/modify_kokkos.cpp)
@ -38,6 +41,7 @@ if(PKG_KOKKOS)
# register kokkos-only styles
RegisterNBinStyle(${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.h)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.h)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_halffull_kokkos.h)
if(PKG_USER-DPD)
get_property(KOKKOS_PKG_SOURCES GLOBAL PROPERTY KOKKOS_PKG_SOURCES)

View File

@ -1,4 +1,4 @@
.TH LAMMPS "7 August 2019" "2019-08-07"
.TH LAMMPS "19 September 2019" "2019-09-19"
.SH NAME
.B LAMMPS
\- Molecular Dynamics Simulator.

View File

@ -802,7 +802,7 @@ dir, using a command like these, which simply invoke the
lib/h5md/Install.py script with the specified args:
make lib-h5md # print help message
make lib-hm5d args="-m h5cc" # build with h5cc compiler :pre
make lib-h5md args="-m h5cc" # build with h5cc compiler :pre
The build should produce two files: lib/h5md/libch5md.a and
lib/h5md/Makefile.lammps. The latter is copied from an existing

View File

@ -12,6 +12,7 @@ Optional build settings :h3
LAMMPS can be built with several optional settings. Each sub-section
explain how to do this for building both with CMake and make.
"C++11 standard compliance test"_#cxx11 when building all of LAMMPS
"FFT library"_#fft for use with the "kspace_style pppm"_kspace_style.html command
"Size of LAMMPS data types"_#size
"Read or write compressed files"_#gzip
@ -23,6 +24,28 @@ explain how to do this for building both with CMake and make.
:line
C++11 standard compliance test :h4,link(cxx11)
The LAMMPS developers plan to transition to make the C++11 standard the
minimum requirement for compiling LAMMPS. Currently this only applies to
some packages like KOKKOS while the rest aims to be compatible with the C++98
standard. Most currently used compilers are compatible with C++11; some need
to set extra flags to switch. To determine the impact of requiring C++11,
we have added a simple compliance test to the source code, that will cause
the compilation to abort, if C++11 compliance is not available or enabled.
To bypass this check, you need to change a setting in the makefile or
when calling CMake.
[CMake variable]:
-D DISABLE_CXX11_REQUIREMENT=yes
[Makefile.machine setting]:
LMP_INC = -DLAMMPS_CXX98
:line
FFT library :h4,link(fft)
When the KSPACE package is included in a LAMMPS build, the

View File

@ -108,7 +108,7 @@ OPT.
"class2 (ko)"_dihedral_class2.html,
"cosine/shift/exp (o)"_dihedral_cosine_shift_exp.html,
"fourier (io)"_dihedral_fourier.html,
"harmonic (io)"_dihedral_harmonic.html,
"harmonic (iko)"_dihedral_harmonic.html,
"helix (o)"_dihedral_helix.html,
"multi/harmonic (o)"_dihedral_multi_harmonic.html,
"nharmonic (o)"_dihedral_nharmonic.html,

View File

@ -232,6 +232,7 @@ OPT.
"wall/lj1043"_fix_wall.html,
"wall/lj126"_fix_wall.html,
"wall/lj93 (k)"_fix_wall.html,
"wall/morse"_fix_wall.html,
"wall/piston"_fix_wall_piston.html,
"wall/reflect (k)"_fix_wall_reflect.html,
"wall/region"_fix_wall_region.html,

View File

@ -65,6 +65,7 @@ OPT.
"colloid (go)"_pair_colloid.html,
"comb (o)"_pair_comb.html,
"comb3"_pair_comb.html,
"cosine/squared"_pair_cosine_squared.html,
"coul/cut (gko)"_pair_coul.html,
"coul/cut/soft (o)"_pair_fep_soft.html,
"coul/debye (gko)"_pair_coul.html,
@ -165,6 +166,7 @@ OPT.
"lj/smooth/linear (o)"_pair_lj_smooth_linear.html,
"lj/switch3/coulgauss/long"_pair_lj_switch3_coulgauss.html,
"lj96/cut (go)"_pair_lj96.html,
"local/density"_pair_local_density.html,
"lubricate (o)"_pair_lubricate.html,
"lubricate/poly (o)"_pair_lubricate.html,
"lubricateU"_pair_lubricateU.html,

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

@ -0,0 +1,16 @@
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
E =
\begin{cases}
-\epsilon& \quad r < \sigma \\
-\epsilon\cos\left(\frac{\pi\left(r - \sigma\right)}{2\left(r_c - \sigma\right)}\right)&\quad \sigma \leq r < r_c \\
0& \quad r \geq r_c
\end{cases}
\end{align*}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,11 @@
\documentstyle[12pt]{article}
\begin{document}
$$
E = \epsilon \left[ \left(\frac{\sigma}{r}\right)^{12} -
2\left(\frac{\sigma}{r}\right)^6 + 1\right]
, \quad r < \sigma
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,11 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_i F(\rho_i)
$$
\end{document}
~

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_k U_{LD}^{(k)} = \sum_i \left[ \sum_k a_\alpha^{(k)} F^{(k)} \left(\rho_i^{(k)}\right) \right]
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
$$
U_{LD} = \sum_i a_\alpha F(\rho_i)
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -0,0 +1,16 @@
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}
\[
\varphi(r) =
\begin{cases}
1 & r \le R_1 \\
c_0 + c_2r^2 + c_4r^4 + c_6r^6 & r \in (R_1, R_2) \\
0 & r \ge R_2
\end{cases}
\]
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,10 @@
\documentclass[12pt]{article}
\begin{document}
$$
\rho_i = \sum_{j \neq i} \varphi(r_{ij})
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,10 @@
\documentstyle[12pt]{article}
\begin{document}
$$
\rho_i^{(k)} = \sum_j b_\beta^{(k)} \varphi^{(k)} (r_{ij})
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,10 @@
\documentclass[12pt]{article}
\begin{document}
$$
\rho_i = \sum_{j \neq i} b_\beta \varphi(r_{ij})
$$
\end{document}

View File

@ -136,7 +136,9 @@ The "compute chunk/spread/atom"_compute_chunk_spread_atom.html command
spreads per-chunk values to each atom in the chunk, producing per-atom
values as its output. This can be useful for outputting per-chunk
values to a per-atom "dump file"_dump.html. Or for using an atom's
associated chunk value in an "atom-style variable"_variable.html.
associated chunk value in an "atom-style variable"_variable.html. Or
as input to the "fix ave/chunk"_fix_ave_chunk.html command to
spatially average per-chunk values calculated by a per-chunk compute.
The "compute reduce/chunk"_compute_reduce_chunk.html command reduces a
peratom value across the atoms in each chunk to produce a value per
@ -184,12 +186,20 @@ compute cc1 all chunk/atom c_cluster compress yes
compute size all property/chunk cc1 count
fix 1 all ave/histo 100 1 100 0 20 20 c_size mode vector ave running beyond ignore file tmp.histo :pre
(6) An example of using a per-chunk value to apply per-atom forces to
(6) An example for using a per-chunk value to apply per-atom forces to
compress individual polymer chains (molecules) in a mixture, is
explained on the "compute
chunk/spread/atom"_compute_chunk_spread_atom.html command doc page.
(7) An example of using one set of per-chunk values for molecule
(7) An example for using one set of per-chunk values for molecule
chunks, to create a 2nd set of micelle-scale chunks (clustered
molecules, due to hydrophobicity), is explained on the "compute
chunk/reduce"_compute_reduce_chunk.html command doc page.
(8) An example for using one set of per-chunk values (dipole moment
vectors) for molecule chunks, spreading the values to each atom in
each chunk, then defining a second set of chunks as spatial bins, and
using the "fix ave/chunk"_fix_ave_chunk.html command to calculate an
average dipole moment vector for each bin. This example is explained
on the "compute chunk/spread/atom"_compute_chunk_spread_atom.html
command doc page.

View File

@ -59,14 +59,15 @@ granular particles; all the other commands create smooth walls.
"fix wall/lj126"_fix_wall.html - flat walls, with Lennard-Jones 12/6 potential
"fix wall/colloid"_fix_wall.html - flat walls, with "pair_style colloid"_pair_colloid.html potential
"fix wall/harmonic"_fix_wall.html - flat walls, with repulsive harmonic spring potential
"fix wall/morse"_fix_wall.html - flat walls, with Morse potential
"fix wall/region"_fix_wall_region.html - use region surface as wall
"fix wall/gran"_fix_wall_gran.html - flat or curved walls with "pair_style granular"_pair_gran.html potential :ul
The {lj93}, {lj126}, {colloid}, and {harmonic} styles all allow the
flat walls to move with a constant velocity, or oscillate in time.
The "fix wall/region"_fix_wall_region.html command offers the most
generality, since the region surface is treated as a wall, and the
geometry of the region can be a simple primitive volume (e.g. a
The {lj93}, {lj126}, {colloid}, {harmonic}, and {morse} styles all
allow the flat walls to move with a constant velocity, or oscillate in
time. The "fix wall/region"_fix_wall_region.html command offers the
most generality, since the region surface is treated as a wall, and
the geometry of the region can be a simple primitive volume (e.g. a
sphere, or cube, or plane), or a complex volume made from the union
and intersection of primitive volumes. "Regions"_region.html can also
specify a volume "interior" or "exterior" to the specified primitive

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -1,7 +1,7 @@
<!-- HTML_ONLY -->
<HEAD>
<TITLE>LAMMPS Users Manual</TITLE>
<META NAME="docnumber" CONTENT="7 Aug 2019 version">
<META NAME="docnumber" CONTENT="19 Sep 2019 version">
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
</HEAD>
@ -21,7 +21,7 @@
:line
LAMMPS Documentation :c,h1
7 Aug 2019 version :c,h2
19 Sep 2019 version :c,h2
"What is a LAMMPS version?"_Manual_version.html

View File

@ -126,9 +126,10 @@ are intended for computational work like running LAMMPS. By default
Ng = 1 and Ns is not set.
Depending on which flavor of MPI you are running, LAMMPS will look for
one of these 3 environment variables
one of these 4 environment variables
SLURM_LOCALID (various MPI variants compiled with SLURM support)
MPT_LRANK (HPE MPI)
MV2_COMM_WORLD_LOCAL_RANK (Mvapich)
OMPI_COMM_WORLD_LOCAL_RANK (OpenMPI) :pre

View File

@ -76,6 +76,7 @@ Post-processing tools :h3
"pymol_asphere"_#pymol,
"python"_#pythontools,
"reax"_#reax_tool,
"replica"_#replica,
"smd"_#smd,
"spin"_#spin,
"xmgrace"_#xmgrace :tb(c=6,ea=c,a=l)
@ -485,6 +486,21 @@ README for more info on Pizza.py and how to use these scripts.
:line
replica tool :h4,link(replica)
The tools/replica directory contains the reorder_remd_traj python script which
can be used to reorder the replica trajectories (resulting from the use of the
temper command) according to temperature. This will produce discontinuous
trajectories with all frames at the same temperature in each trajectory.
Additional options can be used to calculate the canonical configurational
log-weight for each frame at each temperature using the pymbar package. See
the README.md file for further details. Try out the peptide example provided.
This tool was written by (and is maintained by) Tanmoy Sanyal,
while at the Shell lab at UC Santa Barbara. (tanmoy dot 7989 at gmail.com)
:line
reax tool :h4,link(reax_tool)
The reax sub-directory contains stand-alone codes that can
@ -549,3 +565,4 @@ simulation.
See the README file for details.
These files were provided by Vikas Varshney (vv0210 at gmail.com)

View File

@ -40,11 +40,12 @@ coordinates and other properties are exchanged between neighboring
processors and stored as properties of ghost atoms.
NOTE: These options apply to the currently defined comm style. When
you specify a "comm_style"_comm_style.html command, all communication
settings are restored to their default values, including those
you specify a "comm_style"_comm_style.html or
"read_restart"_read_restart.html command, all communication settings
are restored to their default or stored values, including those
previously reset by a comm_modify command. Thus if your input script
specifies a comm_style command, you should use the comm_modify command
after it.
specifies a comm_style or read_restart command, you should use the
comm_modify command after it.
The {mode} keyword determines whether a single or multiple cutoff
distances are used to determine which atoms to communicate.

View File

@ -217,6 +217,7 @@ compute"_Commands_compute.html doc page are followed by one or more of
"heat/flux"_compute_heat_flux.html - heat flux through a group of atoms
"heat/flux/tally"_compute_tally.html -
"hexorder/atom"_compute_hexorder_atom.html - bond orientational order parameter q6
"hma"_compute_hma.html - harmonically mapped averaging for atomic crystals
"improper"_compute_improper.html - energy of each improper sub-style
"improper/local"_compute_improper_local.html - angle of each improper
"inertia/chunk"_compute_inertia_chunk.html - inertia tensor for each chunk

View File

@ -15,10 +15,11 @@ compute ID group-ID bond/local value1 value2 ... keyword args ... :pre
ID, group-ID are documented in "compute"_compute.html command :ulb,l
bond/local = style name of this compute command :l
one or more values may be appended :l
value = {dist} or {engpot} or {force} or {engvib} or {engrot} or {engtrans} or {omega} or {velvib} or {v_name} :l
value = {dist} or {engpot} or {force} or {fx} or {fy} or {fz} or {engvib} or {engrot} or {engtrans} or {omega} or {velvib} or {v_name} :l
{dist} = bond distance
{engpot} = bond potential energy
{force} = bond force :pre
{fx},{fy},{fz} = components of bond force
{engvib} = bond kinetic energy of vibration
{engrot} = bond kinetic energy of rotation
{engtrans} = bond kinetic energy of translation
@ -38,6 +39,7 @@ keyword = {set} :l
compute 1 all bond/local engpot
compute 1 all bond/local dist engpot force :pre
compute 1 all bond/local dist fx fy fz :pre
compute 1 all angle/local dist v_distsq set dist d :pre
[Description:]
@ -59,6 +61,9 @@ based on the current separation of the pair of atoms in the bond.
The value {force} is the magnitude of the force acting between the
pair of atoms in the bond.
The values {fx}, {fy}, and {fz} are the xyz components of
{force} between the pair of atoms in the bond.
The remaining properties are all computed for motion of the two atoms
relative to the center of mass (COM) velocity of the 2 atoms in the
bond.

View File

@ -30,11 +30,18 @@ compute 1 all chunk/spread/atom mychunk c_com[*] c_gyration :pre
[Description:]
Define a calculation that "spreads" one or more per-chunk values to
each atom in the chunk. This can be useful for creating a "dump
file"_dump.html where each atom lists info about the chunk it is in,
e.g. for post-processing purposes. It can also be used in "atom-style
variables"_variable.html that need info about the chunk each atom is
in. Examples are given below.
each atom in the chunk. This can be useful in several scenarios:
For creating a "dump file"_dump.html where each atom lists info about
the chunk it is in, e.g. for post-processing purposes. :ulb,l
To access chunk value in "atom-style variables"_variable.html that
need info about the chunk each atom is in. :l
To use the "fix ave/chunk"_fix_ave_chunk.html command to spatially
average per-chunk values calculated by a per-chunk compute. :l,ule
Examples are given below.
In LAMMPS, chunks are collections of atoms defined by a "compute
chunk/atom"_compute_chunk_atom.html command, which assigns each atom
@ -148,6 +155,28 @@ thermo_style custom step etotal press v_ave :pre
:line
Here is an example for using one set of chunks, defined for molecules,
to compute the dipole moment vector for each chunk. E.g. for water
molecules. Then spreading those values to each atom in each chunk.
Then defining a second set of chunks based on spatial bins. And
finally, using the "fix ave/chunk"_fix_ave_chunk.html command to
calculate an average dipole moment vector per spatial bin.
compute cmol all chunk/atom molecule
compute dipole all dipole/chunk cmol
compute spread all chunk/spread/atom cmol c_dipole\[1\] c_dipole\[2\] c_dipole\[3\]
compute cspatial all chunk/atom bin/1d z lower 0.1 units reduced
fix ave all ave/chunk 100 10 1000 cspatial c_spread\[*\] :pre
Note that the "fix ave/chunk"_fix_ave_chunk.html command requires
per-atom values as input. That is why the compute chunk/spread/atom
command is used to assign per-chunk values to each atom in the chunk.
If a molecule straddles bin boundaries, each of its atoms contributes
in a weighted manner to the average dipole moment of the spatial bin
it is in.
:line
[Output info:]
This compute calculates a per-atom vector or array, which can be

184
doc/src/compute_hma.txt Normal file
View File

@ -0,0 +1,184 @@
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)
:line
compute hma command :h3
[Syntax:]
compute ID group-ID hma temp-ID keyword ... :pre
ID, group-ID are documented in "compute"_compute.html command :l
hma = style name of this compute command :l
temp-ID = ID of fix that specifies the set temperature during canonical simulation :l
keyword = {anharmonic} {u} {p Pharm} {cv} :l
{anharmonic} = compute will return anharmonic property values
{u} = compute will return potential energy
{p} = compute will return pressure. the following keyword must be the difference between the harmonic pressure and lattice pressure as described below
{cv} = compute will return the heat capacity :pre
:ule
[Examples:]
compute 2 all hma 1 u
compute 2 all hma 1 anharmonic u p 0.9
compute 2 all hma 1 u cv :pre
[Description:]
Define a computation that calculates the properties of a solid (potential
energy, pressure or heat capacity), using the harmonically-mapped averaging
(HMA) method.
This command yields much higher precision than the equivalent compute commands
("compute pe"_compute_pe.html, "compute pressure"_compute_pressure.html, etc.)
commands during a canonical simulation of an atomic crystal. Specifically,
near melting HMA can yield averages of a given precision an order of magnitude
faster than conventional methods, and this only improves as the temperatures is
lowered. This is particularly important for evaluating the free energy by
thermodynamic integration, where the low-temperature contributions are the
greatest source of statistical uncertainty. Moreover, HMA has other
advantages, including smaller potential-truncation effects, finite-size
effects, smaller timestep inaccuracy, faster equilibration and shorter
decorrelation time.
HMA should not be used if atoms are expected to diffuse. It is also
restricted to simulations in the NVT ensemble. While this compute may be
used with any potential in LAMMPS, it will provide inaccurate results
for potentials that do not go to 0 at the truncation distance;
"pair_lj_smooth_linear"_pair_lj_smooth_linear.html and Ewald summation should
work fine, while "pair_lj"_pair_lj.html will perform poorly unless
the potential is shifted (via "pair_modify"_pair_modify.html shift) or the cutoff is large. Furthermore, computation of the heat capacity with
this compute is restricted to those that implement the single_hessian method
in Pair. Implementing single_hessian in additional pair styles is simple.
Please contact Andrew Schultz (ajs42 at buffalo.edu) and David Kofke (kofke at
buffalo.edu) if your desired pair style does not have this method. This is
the list of pair styles that currently implement pair_hessian:
"lj_smooth_linear"_pair_lj_smooth_linear.html :l
:ule
In this method, the analytically known harmonic behavior of a crystal is removed from the traditional ensemble
averages, which leads to an accurate and precise measurement of the anharmonic contributions without contamination
by noise produced by the already-known harmonic behavior.
A detailed description of this method can be found in ("Moustafa"_#hma-Moustafa). The potential energy is computed by the formula:
\begin\{equation\}
\left< U\right>_\{HMA\} = \frac\{d\}\{2\} (N-1) k_B T + \left< U + \frac\{1\}\{2\} F\bullet\Delta r \right>
\end\{equation\}
where \(N\) is the number of atoms in the system, \(k_B\) is Boltzmann's
constant, \(T\) is the temperature, \(d\) is the
dimensionality of the system (2 or 3 for 2d/3d), \(F\bullet\Delta r\) is the sum of dot products of the
atomic force vectors and displacement (from lattice sites) vectors, and \(U\) is the sum of
pair, bond, angle, dihedral, improper, kspace (long-range), and fix energies.
The pressure is computed by the formula:
\begin\{equation\}
\left< P\right>_\{HMA\} = \Delta \hat P + \left< P_\{vir\} + \frac\{\beta \Delta \hat P - \rho\}\{d(N-1)\} F\bullet\Delta r \right>
\end\{equation\}
where \(\rho\) is the number density of the system, \(\Delta \hat P\) is the
difference between the harmonic and lattice pressure, \(P_\{vir\}\) is
the virial pressure computed as the sum of pair, bond, angle, dihedral,
improper, kspace (long-range), and fix contributions to the force on each
atom, and \(k_B=1/k_B T\). Although the method will work for any value of \(\Delta \hat P\)
specified (use pressure "units"_units.html), the precision of the resultant
pressure is sensitive to \(\Delta \hat P\); the precision tends to be
best when \(\Delta \hat P\) is the actual the difference between the lattice
pressure and harmonic pressure.
\begin\{equation\}
\left<C_V \right>_\{HMA\} = \frac\{d\}\{2\} (N-1) k_B + \frac\{1\}\{k_B T^2\} \left( \left<
U_\{HMA\}^2 \right> - \left<U_\{HMA\}\right>^2 \right) + \frac\{1\}\{4 T\}
\left< F\bullet\Delta r + \Delta r \bullet \Phi \bullet \Delta r \right>
\end\{equation\}
where \(\Phi\) is the Hessian matrix. The compute hma command
computes the full expression for \(C_V\) except for the
\(\left<U_\{HMA\}^2\right>^2\) in the variance term, which can be obtained by
passing the {u} keyword; you must add this extra contribution to the \(C_V\)
value reported by this compute. The variance term can cause significant
round-off error when computing \(C_V\). To address this, the {anharmonic}
keyword can be passed and/or the output format can be specified with more
digits.
thermo_modify format float '%22.15e' :pre
The {anharmonic} keyword will instruct the compute to return anharmonic
properties rather than the full properties, which include lattice, harmonic
and anharmonic contributions.
When using this keyword, the compute must be first active (it must be included
via a "thermo_style custom"_thermo_style.html command) while the atoms are
still at their lattice sites (before equilibration).
The temp-ID specified with compute hma command should be same as the fix-ID of Nose-Hoover ("fix nvt"_fix_nh.html) or
Berendsen ("fix temp/berendsen"_fix_temp_berendsen.html) thermostat used for the simulation. While using this command, Langevin thermostat
("fix langevin"_fix_langevin.html)
should be avoided as its extra forces interfere with the HMA implementation.
NOTE: Compute hma command should be used right after the energy minimization, when the atoms are at their lattice sites.
The simulation should not be started before this command has been used in the input script.
The following example illustrates the placement of this command in the input script:
min_style cg
minimize 1e-35 1e-15 50000 500000
compute 1 all hma thermostatid u
fix thermostatid all nvt temp 600.0 600.0 100.0 :pre
NOTE: Compute hma should be used when the atoms of the solid do not diffuse. Diffusion will reduce the precision in the potential energy computation.
NOTE: The "fix_modify energy yes"_fix_modify.html command must also be specified if a fix is to contribute potential energy to this command.
An example input script that uses this compute is included in
examples/USER/hma/ along with corresponding LAMMPS output showing that the HMA
properties fluctuate less than the corresponding conventional properties.
[Output info:]
This compute calculates a global vector that includes the n properties
requested as arguments to the command (the potential energy, pressure and/or heat
capacity). The elements of the vector can be accessed by indices 1-n by any
command that uses global vector values as input. See the "Howto
output"_Howto_output.html doc page for an overview of LAMMPS output options.
The vector values calculated by this compute are "extensive". The
scalar value will be in energy "units"_units.html.
[Restrictions:]
This compute is part of the USER-MISC package. It is enabled only
if LAMMPS was built with that package. See the "Build
package"_Build_package.html doc page for more info.
Usage restricted to canonical (NVT) ensemble simulation only.
[Related commands:]
"compute pe"_compute_pe.html, "compute pressure"_compute_pressure.html
"dynamical matrix"_dynamical_matrix.html provides a finite difference
formulation of the hessian provided by Pair's single_hessian, which is used by
this compute.
[Default:] none
:line
:link(hma-Moustafa)
[(Moustafa)] Sabry G. Moustafa, Andrew J. Schultz, and David A. Kofke, {Very fast averaging of thermal properties of crystals by molecular simulation},
"Phys. Rev. E \[92\], 043303 (2015)"_https://link.aps.org/doi/10.1103/PhysRevE.92.043303

View File

@ -19,6 +19,8 @@ keyword = {cutoff} or {nnn} or {degrees} or {components}
{cutoff} value = distance cutoff
{nnn} value = number of nearest neighbors
{degrees} values = nlvalues, l1, l2,...
{wl} value = yes or no
{wl/hat} value = yes or no
{components} value = ldegree :pre
:ule
@ -27,7 +29,8 @@ keyword = {cutoff} or {nnn} or {degrees} or {components}
compute 1 all orientorder/atom
compute 1 all orientorder/atom degrees 5 4 6 8 10 12 nnn NULL cutoff 1.5
compute 1 all orientorder/atom degrees 4 6 components 6 nnn NULL cutoff 3.0 :pre
compute 1 all orientorder/atom wl/hat yes
compute 1 all orientorder/atom components 6 :pre
[Description:]
@ -48,7 +51,7 @@ neighbors of the central atom.
The angles theta and phi are the standard spherical polar angles
defining the direction of the bond vector {rij}.
The second equation defines {Ql}, which is a
rotationally invariant scalar quantity obtained by summing
rotationally invariant non-negative amplitude obtained by summing
over all the components of degree {l}.
The optional keyword {cutoff} defines the distance cutoff
@ -63,7 +66,7 @@ specified distance cutoff are used.
The optional keyword {degrees} defines the list of order parameters to
be computed. The first argument {nlvalues} is the number of order
parameters. This is followed by that number of integers giving the
parameters. This is followed by that number of non-negative integers giving the
degree of each order parameter. Because {Q}2 and all odd-degree order
parameters are zero for atoms in cubic crystals (see
"Steinhardt"_#Steinhardt), the default order parameters are {Q}4,
@ -71,7 +74,20 @@ parameters are zero for atoms in cubic crystals (see
= sqrt(7/3)/8 = 0.19094.... The numerical values of all order
parameters up to {Q}12 for a range of commonly encountered
high-symmetry structures are given in Table I of "Mickel et
al."_#Mickel.
al."_#Mickel, and these can be reproduced with this compute
The optional keyword {wl} will output the third-order invariants {Wl}
(see Eq. 1.4 in "Steinhardt"_#Steinhardt) for the same degrees as
for the {Ql} parameters. For the FCC crystal with {nnn} =12,
{W}4 = -sqrt(14/143).(49/4096)/Pi^1.5 = -0.0006722136...
The optional keyword {wl/hat} will output the normalized third-order
invariants {Wlhat} (see Eq. 2.2 in "Steinhardt"_#Steinhardt)
for the same degrees as for the {Ql} parameters. For the FCC crystal
with {nnn} =12, {W}4hat = -7/3*sqrt(2/429) = -0.159317...The numerical
values of {Wlhat} for a range of commonly encountered high-symmetry
structures are given in Table I of "Steinhardt"_#Steinhardt, and these
can be reproduced with this keyword.
The optional keyword {components} will output the components of the
normalized complex vector {Ybar_lm} of degree {ldegree}, which must be
@ -82,7 +98,7 @@ particles, as discussed in "ten Wolde"_#tenWolde2.
The value of {Ql} is set to zero for atoms not in the
specified compute group, as well as for atoms that have less than
{nnn} neighbors within the distance cutoff.
{nnn} neighbors within the distance cutoff, unless {nnn} is NULL.
The neighbor list needed to compute this quantity is constructed each
time the calculation is performed (i.e. each time a snapshot of atoms
@ -108,6 +124,12 @@ This compute calculates a per-atom array with {nlvalues} columns,
giving the {Ql} values for each atom, which are real numbers on the
range 0 <= {Ql} <= 1.
If the keyword {wl} is set to yes, then the {Wl} values for each
atom will be added to the output array, which are real numbers.
If the keyword {wl/hat} is set to yes, then the {Wl_hat}
values for each atom will be added to the output array, which are real numbers.
If the keyword {components} is set, then the real and imaginary parts
of each component of (normalized) {Ybar_lm} will be added to the
output array in the following order: Re({Ybar_-m}) Im({Ybar_-m})
@ -130,7 +152,8 @@ hexorder/atom"_compute_hexorder_atom.html
[Default:]
The option defaults are {cutoff} = pair style cutoff, {nnn} = 12,
{degrees} = 5 4 6 8 10 12 i.e. {Q}4, {Q}6, {Q}8, {Q}10, and {Q}12.
{degrees} = 5 4 6 8 10 12 i.e. {Q}4, {Q}6, {Q}8, {Q}10, and {Q}12,
{wl} = no, {wl/hat} = no, and {components} off
:line

View File

@ -64,6 +64,23 @@ which calculate the tangential force between two particles and return
its components and magnitude acting on atom I for N = 1,2,3,4. See
individual pair styles for details.
When using {pN} with pair style {hybrid}, the output will be the Nth
quantity from the sub-style that computes the pairwise interaction
(based on atom types). If that sub-style does not define a {pN},
the output will be 0.0. The maximum allowed N is the maximum number
of quantities provided by any sub-style.
When using {pN} with pair style {hybrid/overlay} the quantities
from all sub-styles that provide them are concatenated together
into one long list. For example, if there are 3 sub-styles and
2 of them have additional output (with 3 and 4 quantities,
respectively), then 7 values ({p1} up to {p7}) are defined.
The values {p1} to {p3} refer to quantities defined by the first
of the two sub-styles. Values {p4} to {p7} refer to quantities
from the second of the two sub-styles. If the referenced {pN}
is not computed for the specific pairwise interaction (based on
atom types), then the output will be 0.0.
The value {dist} will be in distance "units"_units.html. The value
{eng} will be in energy "units"_units.html. The values {force}, {fx},
{fy}, and {fz} will be in force "units"_units.html. The values {pN}
@ -126,7 +143,7 @@ options.
The output for {dist} will be in distance "units"_units.html. The
output for {eng} will be in energy "units"_units.html. The output for
{force}, {fx}, {fy}, and {fz} will be in force "units"_units.html.
The outpur for {pN} will be in whatever units the pair style defines.
The output for {pN} will be in whatever units the pair style defines.
[Restrictions:] none

View File

@ -47,6 +47,7 @@ Computes :h1
compute_gyration_shape
compute_heat_flux
compute_hexorder_atom
compute_hma
compute_improper
compute_improper_local
compute_inertia_chunk

View File

@ -8,6 +8,7 @@
dihedral_style harmonic command :h3
dihedral_style harmonic/intel command :h3
dihedral_style harmonic/kk command :h3
dihedral_style harmonic/omp command :h3
[Syntax:]

View File

@ -21,7 +21,8 @@ dump ID group-ID style N file args :pre
ID = user-assigned name for the dump :ulb,l
group-ID = ID of the group of atoms to be dumped :l
style = {atom} or {atom/gz} or {atom/mpiio} or {cfg} or {cfg/gz} or {cfg/mpiio} or {custom} or {custom/gz} or {custom/mpiio} or {dcd} or {h5md} or {image} or {local} or {molfile} or {movie} or {netcdf} or {netcdf/mpiio} or {vtk} or {xtc} or {xyz} or {xyz/gz} or {xyz/mpiio} :l
style = {atom} or {atom/gz} or {atom/mpiio} or {cfg} or {cfg/gz} or
{cfg/mpiio} or {custom} or {custom/gz} or {custom/mpiio} or {dcd} or {h5md} or {image} or {local} or {local/gz} or {molfile} or {movie} or {netcdf} or {netcdf/mpiio} or {vtk} or {xtc} or {xyz} or {xyz/gz} or {xyz/mpiio} :l
N = dump every this many timesteps :l
file = name of file to write dump info to :l
args = list of arguments for a particular style :l

View File

@ -50,6 +50,7 @@ keyword = {append} or {at} or {buffer} or {delay} or {element} or {every} or {fi
{sfactor} arg = coordinate scaling factor (> 0.0)
{thermo} arg = {yes} or {no}
{tfactor} arg = time scaling factor (> 0.0)
{units} arg = {yes} or {no}
{sort} arg = {off} or {id} or N or -N
off = no sorting of per-atom lines within a snapshot
id = sort per-atom lines by atom ID
@ -620,6 +621,21 @@ threshold criterion is met. Otherwise it is not met.
:line
The {units} keyword only applies to the dump {atom}, {custom}, and
{local} styles (and their COMPRESS package versions {atom/gz},
{custom/gz} and {local/gz}). If set to {yes}, each individual dump
file will contain two extra lines at the very beginning with:
ITEM: UNITS
\<units style\> :pre
This will output the current selected "units"_units.html style
to the dump file and thus allows visualization and post-processing
tools to determine the choice of units of the data in the dump file.
The default setting is {no}.
:line
The {unwrap} keyword only applies to the dump {dcd} and {xtc} styles.
If set to {yes}, coordinates will be written "unwrapped" by the image
flags for each atom. Unwrapped means that if the atom has passed through
@ -924,6 +940,7 @@ scale = yes
sort = off for dump styles {atom}, {custom}, {cfg}, and {local}
sort = id for dump styles {dcd}, {xtc}, and {xyz}
thresh = none
units = no
unwrap = no :ul
acolor = * red/green/blue/yellow/aqua/cyan

View File

@ -47,6 +47,9 @@ package"_Build_package.html doc page for more info.
"fix phonon"_fix_phonon.html
"compute hma"_compute_hma.html uses an analytic formulation of the hessian
provided by Pair's single_hessian.
[Default:]
The default settings are file = "dynmat.dyn", binary = no

View File

@ -244,7 +244,7 @@ accelerated styles exist.
"mscg"_fix_mscg.html - apply MSCG method for force-matching to generate coarse grain models
"msst"_fix_msst.html - multi-scale shock technique (MSST) integration
"mvv/dpd"_fix_mvv_dpd.html - DPD using the modified velocity-Verlet integration algorithm
"mvv/edpd"_fix_mvv_dpd.html - constant energy DPD using the modified velocity-Verlet algrithm
"mvv/edpd"_fix_mvv_dpd.html - constant energy DPD using the modified velocity-Verlet algorithm
"mvv/tdpd"_fix_mvv_dpd.html - constant temperature DPD using the modified velocity-Verlet algorithm
"neb"_fix_neb.html - nudged elastic band (NEB) spring forces
"nph"_fix_nh.html - constant NPH time integration via Nose/Hoover
@ -371,6 +371,7 @@ accelerated styles exist.
"wall/lj1043"_fix_wall.html - Lennard-Jones 10-4-3 wall
"wall/lj126"_fix_wall.html - Lennard-Jones 12-6 wall
"wall/lj93"_fix_wall.html - Lennard-Jones 9-3 wall
"wall/morse"_fix_wall.html - Morse potential wall
"wall/piston"_fix_wall_piston.html - moving reflective piston wall
"wall/reflect"_fix_wall_reflect.html - reflecting wall(s)
"wall/region"_fix_wall_region.html - use region surface as wall

View File

@ -186,20 +186,25 @@ reacting atoms.
Some atoms in the pre-reacted template that are not reacting may have
missing topology with respect to the simulation. For example, the
pre-reacted template may contain an atom that would connect to the
rest of a long polymer chain. These are referred to as edge atoms, and
are also specified in the map file. When the pre-reaction template
contains edge atoms, not all atoms, bonds, charges, etc. specified in
the reaction templates will be updated. Specifically, topology that
involves only atoms that are 'too near' to template edges will not be
updated. The definition of 'too near the edge' depends on which
interactions are defined in the simulation. If the simulation has
defined dihedrals, atoms within two bonds of edge atoms are considered
'too near the edge.' If the simulation defines angles, but not
dihedrals, atoms within one bond of edge atoms are considered 'too
near the edge.' If just bonds are defined, only edge atoms are
pre-reacted template may contain an atom that, in the simulation, is
currently connected to the rest of a long polymer chain. These are
referred to as edge atoms, and are also specified in the map file. All
pre-reaction template atoms should be linked to a bonding atom, via at
least one path that does not involve edge atoms. When the pre-reaction
template contains edge atoms, not all atoms, bonds, charges, etc.
specified in the reaction templates will be updated. Specifically,
topology that involves only atoms that are 'too near' to template
edges will not be updated. The definition of 'too near the edge'
depends on which interactions are defined in the simulation. If the
simulation has defined dihedrals, atoms within two bonds of edge atoms
are considered 'too near the edge.' If the simulation defines angles,
but not dihedrals, atoms within one bond of edge atoms are considered
'too near the edge.' If just bonds are defined, only edge atoms are
considered 'too near the edge.'
NOTE: Small molecules, i.e. ones that have all their atoms contained
within the reaction templates, never have edge atoms.
Note that some care must be taken when a building a molecule template
for a given simulation. All atom types in the pre-reacted template
must be the same as those of a potential reaction site in the
@ -392,10 +397,11 @@ local command.
[Restart, fix_modify, output, run start/stop, minimize info:]
No information about this fix is written to "binary restart
files"_restart.html, aside from internally-created per-atom
properties. None of the "fix_modify"_fix_modify.html options are
relevant to this fix.
Cumulative reaction counts for each reaction are written to "binary
restart files"_restart.html. These values are associated with the
reaction name (react-ID). Additionally, internally-created per-atom
properties are stored to allow for smooth restarts. None of the
"fix_modify"_fix_modify.html options are relevant to this fix.
This fix computes one statistic for each {react} argument that it
stores in a global vector, of length 'number of react arguments', that
@ -406,8 +412,8 @@ These is 1 quantity for each react argument:
(1) cumulative # of reactions occurred :ul
No parameter of this fix can be used with the {start/stop} keywords of
the "run"_run.html command. This fix is not invoked during "energy
No parameter of this fix can be used with the {start/stop} keywords
of the "run"_run.html command. This fix is not invoked during "energy
minimization"_minimize.html.
When fix bond/react is 'unfixed,' all internally-created groups are
@ -417,18 +423,20 @@ all other fixes that use any group created by fix bond/react.
[Restrictions:]
This fix is part of the USER-MISC package. It is only enabled if
LAMMPS was built with that package. See the "Build
package"_Build_package.html doc page for more info.
LAMMPS was built with that package. See the
"Build package"_Build_package.html doc page for more info.
[Related commands:]
"fix bond/create"_fix_bond_create.html, "fix
bond/break"_fix_bond_break.html, "fix bond/swap"_fix_bond_swap.html,
"fix bond/create"_fix_bond_create.html,
"fix bond/break"_fix_bond_break.html,
"fix bond/swap"_fix_bond_swap.html,
"dump local"_dump.html, "special_bonds"_special_bonds.html
[Default:]
The option defaults are stabilization = no, prob = 1.0, stabilize_steps = 60, update_edges = none
The option defaults are stabilization = no, prob = 1.0, stabilize_steps = 60,
update_edges = none
:line

View File

@ -31,7 +31,6 @@ cvar = name of control variable :l
[Examples:]
fix 1 all controller 100 1.0 0.5 0.0 0.0 c_thermo_temp 1.5 tcontrol
fix 1 all controller 100 0.2 0.5 0 100.0 v_pxxwall 1.01325 xwall
fix 1 all controller 10000 0.2 0.5 0 2000 v_avpe -3.785 tcontrol :pre

View File

@ -12,15 +12,17 @@ fix wall/lj126 command :h3
fix wall/lj1043 command :h3
fix wall/colloid command :h3
fix wall/harmonic command :h3
fix wall/morse command :h3
[Syntax:]
fix ID group-ID style face args ... keyword value ... :pre
ID, group-ID are documented in "fix"_fix.html command :ulb,l
style = {wall/lj93} or {wall/lj126} or {wall/lj1043} or {wall/colloid} or {wall/harmonic} :l
style = {wall/lj93} or {wall/lj126} or {wall/lj1043} or {wall/colloid} or {wall/harmonic} or {wall/morse} :l
one or more face/arg pairs may be appended :l
face = {xlo} or {xhi} or {ylo} or {yhi} or {zlo} or {zhi} :l
args for styles {lj93} or {lj126} or {lj1043} or {colloid} or {harmonic} :l
args = coord epsilon sigma cutoff
coord = position of wall = EDGE or constant or variable
EDGE = current lo or hi edge of simulation box
@ -31,6 +33,19 @@ face = {xlo} or {xhi} or {ylo} or {yhi} or {zlo} or {zhi} :l
sigma = size factor for wall-particle interaction (distance units)
sigma can be a variable (see below)
cutoff = distance from wall at which wall-particle interaction is cut off (distance units) :pre
args for style {morse} :l
args = coord D_0 alpha r_0 cutoff
coord = position of wall = EDGE or constant or variable
EDGE = current lo or hi edge of simulation box
constant = number like 0.0 or -30.0 (distance units)
variable = "equal-style variable"_variable.html like v_x or v_wiggle
D_0 = depth of the potential (energy units)
D_0 can be a variable (see below)
alpha = width factor for wall-particle interaction (1/distance units)
alpha can be a variable (see below)
r_0 = distance of the potential minimum from the face of region (distance units)
r_0 can be a variable (see below)
cutoff = distance from wall at which wall-particle interaction is cut off (distance units) :pre
zero or more keyword/value pairs may be appended :l
keyword = {units} or {fld} :l
{units} value = {lattice} or {box}
@ -48,6 +63,7 @@ keyword = {units} or {fld} :l
fix wallhi all wall/lj93 xlo -1.0 1.0 1.0 2.5 units box
fix wallhi all wall/lj93 xhi EDGE 1.0 1.0 2.5
fix wallhi all wall/morse xhi EDGE 1.0 1.0 1.0 2.5 units box
fix wallhi all wall/lj126 v_wiggle 23.2 1.0 1.0 2.5
fix zwalls all wall/colloid zlo 0.0 1.0 1.0 0.858 zhi 40.0 1.0 1.0 0.858 :pre
@ -80,6 +96,10 @@ potential:
:c,image(Eqs/fix_wall_harmonic.jpg)
For style {wall/morse}, the energy E is given by a Morse potential:
:c,image(Eqs/pair_morse.jpg)
In all cases, {r} is the distance from the particle to the wall at
position {coord}, and Rc is the {cutoff} distance at which the
particle and wall no longer interact. The energy of the wall
@ -147,7 +167,13 @@ constant K, and has units (energy/distance^2). The input parameter
spring is at the {cutoff}. This is a repulsive-only spring since the
interaction is truncated at the {cutoff}
For any wall, the {epsilon} and/or {sigma} parameter can be specified
For the {wall/morse} style, the three parameters are in this order:
{D_0} the depth of the potential, {alpha} the width parameter, and
{r_0} the location of the minimum. {D_0} has energy units, {alpha}
inverse distance units, and {r_0} distance units.
For any wall, the {epsilon} and/or {sigma} and/or {alpha} parameter can
be specified
as an "equal-style variable"_variable.html, in which case it should be
specified as v_name, where name is the variable name. As with a
variable wall position, the variable is evaluated each timestep and

View File

@ -10,19 +10,27 @@ fix wall/region command :h3
[Syntax:]
fix ID group-ID wall/region region-ID style epsilon sigma cutoff :pre
fix ID group-ID wall/region region-ID style args ... cutoff :pre
ID, group-ID are documented in "fix"_fix.html command
wall/region = style name of this fix command
region-ID = region whose boundary will act as wall
style = {lj93} or {lj126} or {lj1043} or {colloid} or {harmonic}
ID, group-ID are documented in "fix"_fix.html command :ulb,l
wall/region = style name of this fix command :l
region-ID = region whose boundary will act as wall :l
style = {lj93} or {lj126} or {lj1043} or {colloid} or {harmonic} or {morse} :l
args for styles {lj93} or {lj126} or {lj1043} or {colloid} or {harmonic} = :l
epsilon = strength factor for wall-particle interaction (energy or energy/distance^2 units)
sigma = size factor for wall-particle interaction (distance units)
cutoff = distance from wall at which wall-particle interaction is cut off (distance units) :ul
sigma = size factor for wall-particle interaction (distance units) :pre
args for style {morse} = :l
D_0 = depth of the potential (energy units)
alpha = width parameter (1/distance units)
r_0 = distance of the potential minimum from wall position (distance units) :pre
cutoff = distance from wall at which wall-particle interaction is cut off (distance units) :l
:ule
[Examples:]
fix wall all wall/region mySphere lj93 1.0 1.0 2.5 :pre
fix wall all wall/region mySphere lj93 1.0 1.0 2.5
fix wall all wall/region mySphere harmonic 1.0 0.0 2.5
fix wall all wall/region box_top morse 1.0 1.0 1.5 3.0 :pre
[Description:]
@ -122,15 +130,22 @@ the "pair_style colloid"_pair_colloid.html potential:
:c,image(Eqs/fix_wall_colloid.jpg)
For style {wall/harmonic}, the energy E is given by a harmonic spring
potential:
potential (the distance parameter is ignored):
:c,image(Eqs/fix_wall_harmonic.jpg)
For style {wall/morse}, the energy E is given by the Morse potential:
:c,image(Eqs/pair_morse.jpg)
Unlike other styles, this requires three parameters ({D_0}, {alpha}, {r_0}
in this order) instead of two like for the other wall styles.
In all cases, {r} is the distance from the particle to the region
surface, and Rc is the {cutoff} distance at which the particle and
surface no longer interact. The energy of the wall potential is
shifted so that the wall-particle interaction energy is 0.0 at the
cutoff distance.
surface no longer interact. The cutoff is always the last argument.
The energy of the wall potential is shifted so that the wall-particle
interaction energy is 0.0 at the cutoff distance.
For a full description of these wall styles, see fix_style
"wall"_fix_wall.html
@ -179,7 +194,9 @@ option for this fix.
"fix wall/lj93"_fix_wall.html,
"fix wall/lj126"_fix_wall.html,
"fix wall/lj1043"_fix_wall.html,
"fix wall/colloid"_fix_wall.html,
"fix wall/harmonic"_fix_wall.html,
"fix wall/gran"_fix_wall_gran.html
[Default:] none

View File

@ -16,7 +16,7 @@ improper_style fourier :pre
[Examples:]
improper_style fourier
improper_coeff 1 100.0 180.0 :pre
improper_coeff 1 100.0 0.0 1.0 0.5 1 :pre
[Description:]
@ -24,12 +24,12 @@ The {fourier} improper style uses the following potential:
:c,image(Eqs/improper_fourier.jpg)
where K is the force constant and omega is the angle between the IL
axis and the IJK plane:
where K is the force constant, C0, C1, C2 are dimensionless coefficients,
and omega is the angle between the IL axis and the IJK plane:
:c,image(JPG/umbrella.jpg)
If all parameter (see bellow) is not zero, the all the three possible angles will taken in account.
If all parameter (see below) is not zero, the all the three possible angles will taken in account.
The following coefficients must be defined for each improper type via
the "improper_coeff"_improper_coeff.html command as in the example
@ -38,10 +38,10 @@ above, or in the data file or restart files read by the
commands:
K (energy)
C0 (real)
C1 (real)
C2 (real)
all (integer >= 0) :ul
C0 (unitless)
C1 (unitless)
C2 (unitless)
all (0 or 1, optional) :ul
:line

View File

@ -569,6 +569,7 @@ pair_charmm.html
pair_class2.html
pair_colloid.html
pair_comb.html
pair_cosine_squared.html
pair_coul.html
pair_coul_diel.html
pair_coul_shield.html
@ -610,6 +611,7 @@ pair_lj_smooth.html
pair_lj_smooth_linear.html
pair_fep_soft.html
pair_lj_switch3_coulgauss.html
pair_local_density.html
pair_lubricate.html
pair_lubricateU.html
pair_mdf.html

View File

@ -11,7 +11,7 @@ min_style command :h3
min_style style :pre
style = {cg} or {hftn} or {sd} or {quickmin} or {fire} or {spin} :ul
style = {cg} or {cg/kk} or {hftn} or {sd} or {quickmin} or {fire} or {spin} :ul
[Examples:]
@ -74,9 +74,34 @@ defined via the "timestep"_timestep.html command. Often they will
converge more quickly if you use a timestep about 10x larger than you
would normally use for dynamics simulations.
NOTE: The {quickmin}, {fire}, and {hftn} styles do not yet support the
use of the "fix box/relax"_fix_box_relax.html command or minimizations
involving the electron radius in "eFF"_pair_eff.html models.
NOTE: The {quickmin}, {fire}, {hftn}, and {cg/kk} styles do not yet
support the use of the "fix box/relax"_fix_box_relax.html command or
minimizations involving the electron radius in "eFF"_pair_eff.html
models.
:line
Styles with a {gpu}, {intel}, {kk}, {omp}, or {opt} suffix are
functionally the same as the corresponding style without the suffix.
They have been optimized to run faster, depending on your available
hardware, as discussed on the "Speed packages"_Speed_packages.html doc
page. The accelerated styles take the same arguments and should
produce the same results, except for round-off and precision issues.
These accelerated styles are part of the GPU, USER-INTEL, KOKKOS,
USER-OMP and OPT packages, respectively. They are only enabled if
LAMMPS was built with those packages. See the "Build
package"_Build_package.html doc page for more info.
You can specify the accelerated styles explicitly in your input script
by including their suffix, or you can use the "-suffix command-line
switch"_Run_options.html when you invoke LAMMPS, or you can use the
"suffix"_suffix.html command in your input script.
See the "Speed packages"_Speed_packages.html doc page for more
instructions on how to use the accelerated styles effectively.
:line
[Restrictions:] none

View File

@ -7,6 +7,7 @@
:line
minimize command :h3
minimize/kk command :h3
[Syntax:]
@ -256,6 +257,28 @@ info in the Restrictions section below.
:line
Styles with a {gpu}, {intel}, {kk}, {omp}, or {opt} suffix are
functionally the same as the corresponding style without the suffix.
They have been optimized to run faster, depending on your available
hardware, as discussed on the "Speed packages"_Speed_packages.html doc
page. The accelerated styles take the same arguments and should
produce the same results, except for round-off and precision issues.
These accelerated styles are part of the GPU, USER-INTEL, KOKKOS,
USER-OMP and OPT packages, respectively. They are only enabled if
LAMMPS was built with those packages. See the "Build
package"_Build_package.html doc page for more info.
You can specify the accelerated styles explicitly in your input script
by including their suffix, or you can use the "-suffix command-line
switch"_Run_options.html when you invoke LAMMPS, or you can use the
"suffix"_suffix.html command in your input script.
See the "Speed packages"_Speed_packages.html doc page for more
instructions on how to use the accelerated styles effectively.
:line
[Restrictions:]
Features that are not yet implemented are listed here, in case someone

View File

@ -0,0 +1,108 @@
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)
:line
pair_style cosine/squared command :h3
[Syntax:]
pair_style cosine/squared cutoff :pre
cutoff = global cutoff for cosine-squared interactions (distance units) :ul
pair_coeff i j eps sigma
pair_coeff i j eps sigma cutoff
pair_coeff i j eps sigma wca
pair_coeff i j eps sigma cutoff wca :pre
i,j = a particle type
eps = interaction strength, i.e. the depth of the potential minimum (energy units)
sigma = distance of the potential minimum from 0
cutoff = the cutoff distance for this pair type, if different from global (distance units)
wca = if specified a Weeks-Chandler-Andersen potential (with eps strength and minimum at sigma) is added, otherwise not :ul
[Examples:]
pair_style cosine/squared 3.0
pair_coeff * * 1.0 1.3
pair_coeff 1 3 1.0 1.3 2.0
pair_coeff 1 3 1.0 1.3 wca
pair_coeff 1 3 1.0 1.3 2.0 wca :pre
[Description:]
Style {cosine/squared} computes a potential of the form
:c,image(Eqs/pair_cosine_squared.jpg)
between two point particles, where (sigma, -epsilon) is the location of
the (rightmost) minimum of the potential, as explained in the syntax
section above.
This potential was first used in (Cooke)_#CKD for a coarse-grained lipid
membrane model. It is generally very useful as a non-specific
interaction potential because it is fully adjustable in depth and width
while joining the minimum at (sigma, -epsilon) and zero at (cutoff, 0)
smoothly, requiring no shifting and causing no related artifacts, tail
energy calculations etc. This evidently requires {cutoff} to be larger
than {sigma}.
If the {wca} option is used then a Weeks-Chandler-Andersen potential
(Weeks)_#WCA is added to the above specified cosine-squared potential,
specifically the following:
:c,image(Eqs/pair_cosine_squared_wca.jpg)
In this case, and this case only, the {sigma} parameter can be equal to
{cutoff} (sigma = cutoff) which will result in ONLY the WCA potential
being used (and print a warning), so the minimum will be attained at
(sigma, 0). This is a convenience feature that enables a purely
repulsive potential to be used without a need to define an additional
pair style and use the hybrid styles.
The energy and force of this pair style for parameters epsilon = 1.0,
sigma = 1.0, cutoff = 2.5, with and without the WCA potential, are shown
in the graphs below:
:c,image(JPG/pair_cosine_squared_graphs.jpg)
:line
[Mixing, shift, table, tail correction, restart, rRESPA info]:
Mixing is not supported for this style.
The {shift}, {table} and {tail} options are not relevant for this style.
This pair style writes its information to "binary restart
files"_restart.html, so pair_style and pair_coeff commands do not need
to be specified in an input script that reads a restart file.
These pair styles can only be used via the {pair} keyword of the
"run_style respa"_run_style.html command. They do not support the
{inner}, {middle}, {outer} keywords.
:line
[Restrictions:]
The {cosine/squared} style is part of the "USER-MISC" package. It is only
enabled if LAMMPS is build with that package. See the "Build
package"_Build_package.html doc page for more info.
[Related commands:]
"pair_coeff"_pair_coeff.html,
"pair_style lj/cut"_pair_lj.html
[Default:] none
:link(CKD)
[(Cooke)] "Cooke, Kremer and Deserno, Phys. Rev. E, 72, 011506 (2005)"
:link(WCA)
[(Weeks)] "Weeks, Chandler and Andersen, J. Chem. Phys., 54, 5237 (1971)"

View File

@ -0,0 +1,207 @@
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)
:line
pair_style local/density command :h3
[Syntax:]
pair_style style arg :pre
style = {local/density}
arg = name of file containing tabulated values of local density and the potential :ul
[Examples:]
pair_style local/density benzene_water.localdensity.table :pre
pair_style hybrid/overlay table spline 500 local/density
pair_coeff * * local/density benzene_water.localdensity.table :pre
[Description:]
The local density (LD) potential is a mean-field manybody potential, and, in some
sense,a generalization of embedded atom models (EAM). The name "local density
potential" arises from the fact that it assigns an energy to an atom depending
on the number of neighboring atoms of given type around it within a predefined
spherical volume (i.e., within a cutoff). The bottom-up coarse-graining (CG)
literature suggests that such potentials can be widely useful in capturing
effective multibody forces in a computationally efficient manner so as to
improve the quality of CG models of implicit solvation"(Sanyal1)"_#Sanyal1 and
phase-segregation in liquid mixtures"(Sanyal2)"_#Sanyal2, and provide guidelines
to determine the extent of manybody correlations present in a CG
model."(Rosenberger)"_#Rosenberger The LD potential in LAMMPS is primarily
intended to be used as a corrective potential over traditional pair potentials
in bottom-up CG models, i.e., as a hybrid pair style with
other explicit pair interaction terms (e.g., table spline, Lennard Jones, etc.).
Because the LD potential is not a pair potential per se, it is implemented
simply as a single auxiliary file with all specifications that will be read
upon initialization.
NOTE: Thus when used as the only interaction in the system, there is no
corresponding pair_coeff command and when used with other pair styles using the
hybrid/overlay option, the corresponding pair_coeff command must be supplied
* * as placeholders for the atom types.
:line
[System with a single CG atom type:]
A system of a single atom type (e.g., LJ argon) with a single local density (LD)
potential would have an energy given by:
:c,image(Eqs/pair_local_density_energy.jpg)
where rho_i is the LD at atom i and F(rho) is similar in spirit to the
embedding function used in EAM potentials. The LD at atom i is given by the sum
:c,image(Eqs/pair_local_density_ld.jpg)
where phi is an indicator function that is one at r=0 and zero beyond a cutoff
distance R2. The choice of the functional form of phi is somewhat arbitrary,
but the following piecewise cubic function has proven sufficiently general:
"(Sanyal1)"_#Sanyal1, "(Sanyal2)"_#Sanyal2 "(Rosenberger)"_#Rosenberger
:c,image(Eqs/pair_local_density_indicator_func.jpg)
The constants {c} are chosen so that the indicator function smoothly
interpolates between 1 and 0 between the distances R1 and R2, which are
called the inner and outer cutoffs, respectively. Thus phi satisfies
phi(R1) = 1, phi(R2) = dphi/dr @ (r=R1) = dphi/dr @ (r=R2) = 0. The embedding
function F(rho) may or may not have a closed-form expression. To maintain
generality, it is practically represented with a spline-interpolated table
over a predetermined range of rho. Outside of that range it simply adopts zero
values at the endpoints.
It can be shown that the total force between two atoms due to the LD potential
takes the form of a pair force, which motivates its designation as a LAMMPS
pair style. Please see "(Sanyal1)"_#Sanyal1 for details of the derivation.
:line
[Systems with arbitrary numbers of atom types:]
The potential is easily generalized to systems involving multiple atom types:
:c,image(Eqs/pair_local_density_energy_multi.jpg)
with the LD expressed as
:c,image(Eqs/pair_local_density_ld_multi.jpg)
where alpha gives the type of atom i, beta the type of atom j, and the
coefficients a and b filter for atom types as specified by the user. a is
called the central atom filter as it determines to which atoms the
potential applies; a_alpha = 1 if the LD potential applies to atom type alpha
else zero. On the other hand, b is called the neighbor atom filter because it
specifies which atom types to use in the calculation of the LD; b_beta = 1 if
atom type beta contributes to the LD and zero otherwise.
NOTE: Note that the potentials need not be symmetric with respect to atom types,
which is the reason for two distinct sets of coefficients a and b. An atom type
may contribute to the LD but not the potential, or to the potential but not the
LD. Such decisions are made by the user and should (ideally) be motivated on
physical grounds for the problem at hand.
:line
[General form for implementation in LAMMPS:]
Of course, a system with many atom types may have many different possible LD
potentials, each with their own atom type filters, cutoffs, and embedding
functions. The most general form of this potential as implemented in the
pair_style local/density is:
:c,image(Eqs/pair_local_density_energy_implement.jpg)
where, k is an index that spans the (arbitrary) number of applied LD potentials
N_LD. Each LD is calculated as before with:
:c,image(Eqs/pair_local_density_ld_implement.jpg)
The superscript on the indicator function phi simply indicates that it is
associated with specific values of the cutoff distances R1(k) and R2(k). In
summary, there may be N_LD distinct LD potentials. With each potential type (k),
one must specify:
the inner and outer cutoffs as R1 and R2
the central type filter a(k), where k = 1,2,...N_LD
the neighbor type filter b(k), where k = 1,2,...N_LD
the LD potential function F(k)(rho), typically as a table that is later spline-interpolated :ul
:line
[Tabulated input file format:]
Line 1: comment or blank (ignored)
Line 2: comment or blank (ignored)
Line 3: N_LD N_rho (# of LD potentials and # of tabulated values, single space separated)
Line 4: blank (ignored)
Line 5: R1(k) R2(k) (lower and upper cutoffs, single space separated)
Line 6: central-types (central atom types, single space separated)
Line 7: neighbor-types (neighbor atom types single space separated)
Line 8: rho_min rho_max drho (min, max and diff. in tabulated rho values, single space separated)
Line 9: F(k)(rho_min + 0.drho)
Line 10: F(k)(rho_min + 1.drho)
Line 11: F(k)(rho_min + 2.drho)
...
Line 9+N_rho: F(k)(rho_min + N_rho . drho)
Line 10+N_rho: blank (ignored) :pre
Block 2 :pre
Block 3 :pre
Block N_LD :pre
Lines 5 to 9+N_rho constitute the first block. Thus the input file is separated
(by blank lines) into N_LD blocks each representing a separate LD potential and
each specifying its own upper and lower cutoffs, central and neighbor atoms,
and potential. In general, blank lines anywhere are ignored.
:line
[Mixing, shift, table, tail correction, restart, info]:
This pair style does not support automatic mixing. For atom type pairs alpha,
beta and alpha != beta, even if LD potentials of type (alpha, alpha) and
(beta, beta) are provided, you will need to explicitly provide LD potential
types (alpha, beta) and (beta, alpha) if need be (Here, the notation (alpha,
beta) means that alpha is the central atom to which the LD potential is applied
and beta is the neighbor atom which contributes to the LD potential on alpha).
This pair style does not support the "pair_modify"_pair_modify.html
shift, table, and tail options.
The local/density pair style does not write its information to "binary restart
files"_restart.html, since it is stored in tabulated potential files.
Thus, you need to re-specify the pair_style and pair_coeff commands in
an input script that reads a restart file.
:line
[Restrictions:]
The local/density pair style is a part of the USER-MISC package. It is only
enabled if LAMMPS was built with that package. See the "Build
package"_Build_package.html doc page for more info.
[Related commands:]
"pair_coeff"_pair_coeff.html
[Default:] none
:line
:link(Sanyal1)
[(Sanyal1)] Sanyal and Shell, Journal of Chemical Physics, 2016, 145 (3), 034109.
:link(Sanyal2)
[(Sanyal2)] Sanyal and Shell, Journal of Physical Chemistry B, 122 (21), 5678-5693.
:link(Rosenberger)
[(Rosenberger)] Rosenberger, Sanyal, Shell and van der Vegt, Journal of Chemical Physics, 2019, 151 (4), 044111.

View File

@ -129,6 +129,7 @@ accelerated styles exist.
"colloid"_pair_colloid.html - integrated colloidal potential
"comb"_pair_comb.html - charge-optimized many-body (COMB) potential
"comb3"_pair_comb.html - charge-optimized many-body (COMB3) potential
"cosine/squared"_pair_cosine_squared.html - Cooke-Kremer-Deserno membrane model potential
"coul/cut"_pair_coul.html - cutoff Coulombic potential
"coul/cut/soft"_pair_fep_soft.html - Coulombic potential with a soft core
"coul/debye"_pair_coul.html - cutoff Coulombic potential with Debye screening
@ -227,6 +228,7 @@ accelerated styles exist.
"lj/smooth/linear"_pair_lj_smooth_linear.html - linear smoothed LJ potential
"lj/switch3/coulgauss"_pair_lj_switch3_coulgauss - smoothed LJ vdW potential with Gaussian electrostatics
"lj96/cut"_pair_lj96.html - Lennard-Jones 9/6 potential
"local/density"_pair_local_density.html - generalized basic local density potential
"lubricate"_pair_lubricate.html - hydrodynamic lubrication forces
"lubricate/poly"_pair_lubricate.html - hydrodynamic lubrication forces with polydispersity
"lubricateU"_pair_lubricateU.html - hydrodynamic lubrication forces for Fast Lubrication Dynamics

View File

@ -24,6 +24,7 @@ Pair Styles :h1
pair_class2
pair_colloid
pair_comb
pair_cosine_squared
pair_coul
pair_coul_diel
pair_coul_shield
@ -65,6 +66,7 @@ Pair Styles :h1
pair_lj_smooth
pair_lj_smooth_linear
pair_lj_switch3_coulgauss
pair_local_density
pair_lubricate
pair_lubricateU
pair_mdf

View File

@ -110,7 +110,13 @@ the information from the log.lammps file. E.g. you could produce one
dump file with snapshots at 300K (from all replicas), another with
snapshots at 310K, etc. Note that these new dump files will not
contain "continuous trajectories" for individual atoms, because two
successive snapshots (in time) may be from different replicas.
successive snapshots (in time) may be from different replicas. The
reorder_remd_traj python script can do the reordering for you
(and additionally also calculated configurational log-weights of
trajectory snapshots in the canonical ensemble). The script can be found
in the tools/replica directory while instructions on how to use it is
available in doc/Tools (in brief) and as a README file in tools/replica
(in detail).
The last argument {index} in the temper command is optional and is
used when restarting a tempering run from a set of restart files (one

View File

@ -45,6 +45,7 @@ Aidan
aij
airebo
Aj
ajs
ajaramil
akohlmey
Aktulga
@ -99,6 +100,7 @@ antisymmetry
anton
Antonelli
api
Apoorva
Appl
Apu
arccos
@ -303,6 +305,7 @@ Cavium
Cawkwell
cbecker
ccache
ccachepiecewise
ccmake
ccNspecies
CCu
@ -356,6 +359,7 @@ Cii
Cij
cis
civ
CKD
Clang
clearstore
Cleary
@ -421,6 +425,7 @@ coreshell
cornflowerblue
cornsilk
corotate
corotation
corotational
correlator
cosineshifted
@ -521,6 +526,7 @@ Dcut
de
dE
De
decorrelation
debye
Debye
Decius
@ -617,6 +623,7 @@ Doye
dpd
DPD
dpdTheta
dphi
DPhil
dr
dR
@ -1073,6 +1080,7 @@ Hilger
histo
histogrammed
histogramming
hma
hmaktulga
hoc
Hochbruck
@ -1329,6 +1337,8 @@ kmax
Kmax
Knizhnik
knl
Kofke
kofke
Kohlmeyer
Kohn
kokkos
@ -1716,6 +1726,7 @@ Morteza
Mosayebi
Moseler
Moskalev
Moustafa
mov
mpi
MPI
@ -2035,7 +2046,6 @@ Otype
Ouldridge
outfile
outmost
outpur
outputss
Ouyang
overlayed
@ -2128,6 +2138,7 @@ picograms
picosecond
picoseconds
pid
piecewise
Pieniazek
Pieter
pimd
@ -2215,6 +2226,7 @@ PTM
ptr
pu
purdue
Purohit
pushstore
pvar
pw
@ -2229,6 +2241,7 @@ Py
pydir
pylammps
PyLammps
pymbar
pymodule
pymol
pypar
@ -2315,6 +2328,7 @@ reinit
relink
relTol
remappings
remd
Ren
Rendon
reneighbor
@ -2407,6 +2421,7 @@ Rodrigues
Rohart
Ronchetti
Rosati
Rosenberger
Rossky
rosybrown
rotationally
@ -2432,6 +2447,7 @@ Ryckaert
Rycroft
Rydbergs
Rz
Sabry
saddlebrown
Sadigh
saed
@ -2445,6 +2461,7 @@ Sandia
sandybrown
Sanitizer
sanitizers
Sanyal
sc
scafacos
SCAFACOS
@ -2469,6 +2486,7 @@ Scripta
sdk
sdpd
SDPD
se
seagreen
Secor
sectoring
@ -2562,6 +2580,7 @@ Snodin
Sodani
Soderlind
solvated
solvation
Sorensen
soundspeed
Souza
@ -2678,6 +2697,8 @@ Tajkhorshid
Tamaskovics
Tanaka
tanh
tanmoy
Tanmoy
Tartakovsky
taskset
taubi
@ -2920,6 +2941,7 @@ vectorial
vectorization
Vectorization
vectorized
Vegt
vel
Verlag
verlet
@ -2991,6 +3013,7 @@ Waltham
wavepacket
wB
Wbody
wca
webpage
Weckner
WeinanE

View File

@ -0,0 +1,36 @@
# this example requires the LAMMPS Python package (lammps.py) to be installed
# and LAMMPS to be loadable as shared library in LD_LIBRARY_PATH
import lammps
def callback(caller, ntimestep, nlocal, tag, x, fext):
"""
This callback receives a caller object that was setup when registering the callback
In addition to timestep and number of local atoms, the tag and x arrays are passed as
NumPy arrays. The fext array is a force array allocated for fix external, which
can be used to apply forces to all atoms. Simply update the value in the array,
it will be directly written into the LAMMPS C arrays
"""
print("Data passed by caller (optional)", caller)
print("Timestep:", ntimestep)
print("Number of Atoms:", nlocal)
print("Atom Tags:", tag)
print("Atom Positions:", x)
print("Force Additions:", fext)
fext.fill(1.0)
print("Force additions after update:", fext)
print("="*40)
L = lammps.lammps()
L.file("in.fix_external")
# you can pass an arbitrary Python object to the callback every time it is called
# this can be useful if you need more state information such as the LAMMPS ptr to
# make additional library calls
custom_object = ["Some data", L]
L.set_fix_external_callback("2", callback, custom_object)
L.command("run 100")

View File

@ -0,0 +1,23 @@
# LAMMPS input for coupling LAMMPS with Python via fix external
units metal
dimension 3
atom_style atomic
atom_modify sort 0 0.0
lattice diamond 5.43
region box block 0 1 0 1 0 1
create_box 1 box
create_atoms 1 box
mass 1 28.08
velocity all create 300.0 87293 loop geom
fix 1 all nve
fix 2 all external pf/callback 1 1
#dump 2 all image 25 image.*.jpg type type &
# axes yes 0.8 0.02 view 60 -30
#dump_modify 2 pad 3
thermo 1

View File

@ -99,12 +99,12 @@ pour: pouring of granular particles into a 3d box, then chute flow
prd: parallel replica dynamics of vacancy diffusion in bulk Si
python: use of PYTHON package to invoke Python code from input script
qeq: use of QEQ package for charge equilibration
reax: RDX and TATB models using the ReaxFF
reax: RDX and TATB and several other models using ReaxFF
rigid: rigid bodies modeled as independent or coupled
shear: sideways shear applied to 2d solid, with and without a void
snap: use of SNAP potential for Ta
snap: examples for using several bundled SNAP potentials
srd: stochastic rotation dynamics (SRD) particles as solvent
snap: NVE dynamics for BCC tantalum crystal using SNAP potential
steinhardt: Steinhardt-Nelson Q_l and W_l parameters usng orientorder/atom
streitz: Streitz-Mintmire potential for Al2O3
tad: temperature-accelerated dynamics of vacancy diffusion in bulk Si
threebody: regression test input for a variety of manybody potentials

View File

@ -79,10 +79,10 @@ Dihedral Coeffs
Improper Coeffs
1 0.0000 2.1999 0.0000 0.0000 # CAO-CAO-CAT-CTT
2 0.0000 2.1999 0.0000 0.0000 # CAT-CAM-CAO-HAT
3 0.0000 2.1999 0.0000 0.0000 # CAO-CAP-CAM-HAT
4 0.0000 2.1999 0.0000 0.0000 # CAM-CAM-CAP-HAT
1 2.1999 0.0000 0.0000 -1.0000 0 # CAO-CAO-CAT-CTT
2 2.1999 0.0000 0.0000 -1.0000 0 # CAT-CAM-CAO-HAT
3 2.1999 0.0000 0.0000 -1.0000 0 # CAO-CAP-CAM-HAT
4 2.1999 0.0000 0.0000 -1.0000 0 # CAM-CAM-CAP-HAT
Atoms

View File

@ -7,7 +7,7 @@ atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
@ -109,7 +109,7 @@ fix fNPH all nve
compute cTEMP all temp/drude
thermo_style custom step cpu etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5

View File

@ -7,7 +7,7 @@ atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
@ -115,7 +115,7 @@ fix fINVERSE all drude/transform/inverse
fix fMOMENTUM all momentum 100 linear 1 1 1
thermo_style custom step cpu etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5

View File

@ -1,14 +0,0 @@
LAMMPS (27 Nov 2018)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Langevin)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
ERROR: Unknown improper style opls (src/force.cpp:634)
Last command: improper_style opls

View File

@ -1,14 +0,0 @@
LAMMPS (27 Nov 2018)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Langevin)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
ERROR: Unknown improper style opls (src/force.cpp:634)
Last command: improper_style opls

View File

@ -1,14 +0,0 @@
LAMMPS (27 Nov 2018)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Nose-Hoover)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
ERROR: Unknown improper style opls (src/force.cpp:634)
Last command: improper_style opls

View File

@ -1,14 +0,0 @@
LAMMPS (27 Nov 2018)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Nose-Hoover)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style opls
ERROR: Unknown improper style opls (src/force.cpp:634)
Last command: improper_style opls

View File

@ -0,0 +1,254 @@
LAMMPS (7 Aug 2019)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:93)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Langevin)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
pair_modify mix geometric tail yes
kspace_style pppm 1.0e-4
read_data data.toluene extra/special/per/atom 1
orthogonal box = (-18.2908 -18.1636 -18.223) to (18.3357 18.1621 18.3287)
1 by 1 by 1 MPI processor grid
reading atoms ...
5500 atoms
scanning bonds ...
4 = max bonds/atom
scanning angles ...
6 = max angles/atom
scanning dihedrals ...
8 = max dihedrals/atom
scanning impropers ...
2 = max impropers/atom
reading bonds ...
5500 bonds
reading angles ...
6000 angles
reading dihedrals ...
6000 dihedrals
reading impropers ...
1500 impropers
5 = max # of 1-2 neighbors
10 = max # of 1-3 neighbors
16 = max # of 1-4 neighbors
20 = max # of special neighbors
special bonds CPU = 0.00199628 secs
read_data CPU = 0.0169649 secs
comm_modify vel yes
group gTOLUENE molecule 1:250
5500 atoms in group gTOLUENE
group gCORES type 1 2 3 4 5 6 7
3750 atoms in group gCORES
group gDRUDES type 8 9 10 11 12
1750 atoms in group gDRUDES
pair_coeff 1 1 0.069998 3.550000 1.620000 # CAT CAT
pair_coeff 1 2 0.069998 3.550000 1.620000 # CAT CAO
pair_coeff 1 3 0.069998 3.550000 1.620000 # CAT CAM
pair_coeff 1 4 0.069998 3.550000 1.620000 # CAT CAP
pair_coeff 1 5 0.067968 3.524911 1.620000 # CAT CTT
pair_coeff 1 6 0.045825 2.931041 0.000000 # CAT HAT
pair_coeff 1 7 0.045825 2.931041 0.000000 # CAT HT
pair_coeff 2 2 0.069998 3.550000 1.620000 # CAO CAO
pair_coeff 2 3 0.069998 3.550000 1.620000 # CAO CAM
pair_coeff 2 4 0.069998 3.550000 1.620000 # CAO CAP
pair_coeff 2 5 0.067968 3.524911 1.620000 # CAO CTT
pair_coeff 2 6 0.045825 2.931041 0.000000 # CAO HAT
pair_coeff 2 7 0.045825 2.931041 0.000000 # CAO HT
pair_coeff 3 3 0.069998 3.550000 1.620000 # CAM CAM
pair_coeff 3 4 0.069998 3.550000 1.620000 # CAM CAP
pair_coeff 3 5 0.067968 3.524911 1.620000 # CAM CTT
pair_coeff 3 6 0.045825 2.931041 0.000000 # CAM HAT
pair_coeff 3 7 0.045825 2.931041 0.000000 # CAM HT
pair_coeff 4 4 0.069998 3.550000 1.620000 # CAP CAP
pair_coeff 4 5 0.067968 3.524911 1.620000 # CAP CTT
pair_coeff 4 6 0.045825 2.931041 0.000000 # CAP HAT
pair_coeff 4 7 0.045825 2.931041 0.000000 # CAP HT
pair_coeff 5 5 0.065997 3.500000 1.620000 # CTT CTT
pair_coeff 5 6 0.044496 2.910326 0.000000 # CTT HAT
pair_coeff 5 7 0.044496 2.910326 0.000000 # CTT HT
pair_coeff 6 6 0.029999 2.420000 0.000000 # HAT HAT
pair_coeff 6 7 0.029999 2.420000 0.000000 # HAT HT
pair_coeff 7 7 0.029999 2.420000 0.000000 # HT HT
pair_coeff 1 8 0.000000 0.000000 1.620000 # CAT D_CAT
pair_coeff 1 9 0.000000 0.000000 1.620000 # CAT D_CAO
pair_coeff 1 10 0.000000 0.000000 1.620000 # CAT D_CAM
pair_coeff 1 11 0.000000 0.000000 1.620000 # CAT D_CAP
pair_coeff 1 12 0.000000 0.000000 1.620000 # CAT D_CTT
pair_coeff 2 8 0.000000 0.000000 1.620000 # CAO D_CAT
pair_coeff 2 9 0.000000 0.000000 1.620000 # CAO D_CAO
pair_coeff 2 10 0.000000 0.000000 1.620000 # CAO D_CAM
pair_coeff 2 11 0.000000 0.000000 1.620000 # CAO D_CAP
pair_coeff 2 12 0.000000 0.000000 1.620000 # CAO D_CTT
pair_coeff 3 8 0.000000 0.000000 1.620000 # CAM D_CAT
pair_coeff 3 9 0.000000 0.000000 1.620000 # CAM D_CAO
pair_coeff 3 10 0.000000 0.000000 1.620000 # CAM D_CAM
pair_coeff 3 11 0.000000 0.000000 1.620000 # CAM D_CAP
pair_coeff 3 12 0.000000 0.000000 1.620000 # CAM D_CTT
pair_coeff 4 8 0.000000 0.000000 1.620000 # CAP D_CAT
pair_coeff 4 9 0.000000 0.000000 1.620000 # CAP D_CAO
pair_coeff 4 10 0.000000 0.000000 1.620000 # CAP D_CAM
pair_coeff 4 11 0.000000 0.000000 1.620000 # CAP D_CAP
pair_coeff 4 12 0.000000 0.000000 1.620000 # CAP D_CTT
pair_coeff 5 8 0.000000 0.000000 1.620000 # CTT D_CAT
pair_coeff 5 9 0.000000 0.000000 1.620000 # CTT D_CAO
pair_coeff 5 10 0.000000 0.000000 1.620000 # CTT D_CAM
pair_coeff 5 11 0.000000 0.000000 1.620000 # CTT D_CAP
pair_coeff 5 12 0.000000 0.000000 1.620000 # CTT D_CTT
pair_coeff 8 8 0.000000 0.000000 1.620000 # D_CAT D_CAT
pair_coeff 8 9 0.000000 0.000000 1.620000 # D_CAT D_CAO
pair_coeff 8 10 0.000000 0.000000 1.620000 # D_CAT D_CAM
pair_coeff 8 11 0.000000 0.000000 1.620000 # D_CAT D_CAP
pair_coeff 8 12 0.000000 0.000000 1.620000 # D_CAT D_CTT
pair_coeff 9 9 0.000000 0.000000 1.620000 # D_CAO D_CAO
pair_coeff 9 10 0.000000 0.000000 1.620000 # D_CAO D_CAM
pair_coeff 9 11 0.000000 0.000000 1.620000 # D_CAO D_CAP
pair_coeff 9 12 0.000000 0.000000 1.620000 # D_CAO D_CTT
pair_coeff 10 10 0.000000 0.000000 1.620000 # D_CAM D_CAM
pair_coeff 10 11 0.000000 0.000000 1.620000 # D_CAM D_CAP
pair_coeff 10 12 0.000000 0.000000 1.620000 # D_CAM D_CTT
pair_coeff 11 11 0.000000 0.000000 1.620000 # D_CAP D_CAP
pair_coeff 11 12 0.000000 0.000000 1.620000 # D_CAP D_CTT
pair_coeff 12 12 0.000000 0.000000 1.620000 # D_CTT D_CTT
neighbor 2.0 bin
variable vTEMP equal 260.0
variable vTEMP_D equal 1.0
variable vPRESS equal 1.0
velocity gCORES create ${vTEMP} 12345
velocity gCORES create 260 12345
velocity gDRUDES create ${vTEMP_D} 12345
velocity gDRUDES create 1 12345
fix fDRUDE all drude C C C C C N N D D D D D
fix fSHAKE gCORES shake 0.0001 20 0 b 4 6 7 8
1250 = # of size 2 clusters
0 = # of size 3 clusters
250 = # of size 4 clusters
0 = # of frozen angles
find clusters CPU = 0.000807762 secs
fix fLANG all langevin/drude ${vTEMP} 100.0 200611 ${vTEMP_D} 20.0 260514 zero yes
fix fLANG all langevin/drude 260 100.0 200611 ${vTEMP_D} 20.0 260514 zero yes
fix fLANG all langevin/drude 260 100.0 200611 1 20.0 260514 zero yes
fix fNPH all nve
compute cTEMP all temp/drude
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5
run 2000
PPPM initialization ...
using 12-bit tables for long-range coulomb (src/kspace.cpp:323)
G vector (1/distance) = 0.382011
grid = 40 40 40
stencil order = 5
estimated absolute RMS force accuracy = 0.0325934
estimated relative force accuracy = 9.8154e-05
using double precision FFTW3
3d grid and FFT values/proc = 103823 64000
Rebuild special list taking Drude particles into account
Old max number of 1-2 to 1-4 neighbors: 19
New max number of 1-2 to 1-4 neighbors: 20 (+1)
Neighbor list info ...
update every 1 steps, delay 10 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 10
ghost atom cutoff = 10
binsize = 5, bins = 8 8 8
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair lj/cut/thole/long, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
Per MPI rank memory allocation (min/avg/max) = 42.06 | 42.06 | 42.06 Mbytes
Step TotEng KinEng Temp PotEng E_bond E_angle E_dihed E_impro E_vdwl E_coul E_long Press Volume c_cTEMP[1] c_cTEMP[2]
0 11086.347 2910.7282 202.07402 8175.6191 6565.4851 20.333365 1.0706727e-06 -3299.85 4972.8631 1306116.6 -1306199.8 40273.68 48631.318 314.89553 3.1777821
50 4782.1702 4728.7435 328.28767 53.426722 1812.2203 685.37824 683.70917 -3277.1645 797.34329 1305983.2 -1306631.2 16874.358 48631.318 448.52419 116.25477
100 2906.0879 3699.8031 256.85465 -793.7152 978.15364 778.36908 862.30899 -3270.1722 468.44888 1306096.8 -1306707.6 15631.384 48631.318 382.26408 35.748403
150 2089.0918 3593.0499 249.44342 -1503.9581 751.32283 803.47802 668.4757 -3277.5983 128.17444 1306138.5 -1306716.3 15193.04 48631.318 384.75632 10.892446
200 1547.3302 3248.639 225.53309 -1701.3089 699.65977 814.31164 692.83227 -3276.3957 -66.671816 1306160.9 -1306725.9 13787.676 48631.318 351.28242 3.8458668
250 1177.9323 3095.949 214.93276 -1918.0167 688.87262 842.44531 615.89218 -3278.4465 -210.06178 1306154.3 -1306731 8808.5835 48631.318 335.8115 1.8330994
300 895.90313 2870.3451 199.27046 -1974.442 734.95873 858.58147 624.00862 -3278.6022 -342.01951 1306163.6 -1306735 3388.4841 48631.318 311.56815 1.2987715
350 669.25785 2764.9587 191.95413 -2095.7009 662.44028 860.79714 602.69567 -3278.776 -376.37081 1306172.3 -1306738.8 8494.9184 48631.318 300.19414 1.1358594
400 531.21609 2722.6775 189.01881 -2191.4614 684.34049 868.77818 576.86096 -3280.1649 -459.66591 1306160 -1306741.6 6726.3087 48631.318 295.59622 1.1315427
450 427.05425 2611.7588 181.3184 -2184.7046 719.2042 891.88178 591.2282 -3279.339 -534.65069 1306172.2 -1306745.2 2398.5394 48631.318 283.56126 1.0726045
500 310.44891 2556.0967 177.45412 -2245.6477 720.86526 841.50195 586.3417 -3279.3029 -539.81715 1306169.5 -1306744.8 3028.595 48631.318 277.52314 1.0406334
550 207.83114 2531.3051 175.73299 -2323.4739 674.71188 855.2132 555.53227 -3280.0378 -553.93222 1306171.9 -1306746.9 4609.4408 48631.318 274.80629 1.0748601
600 88.81557 2459.9059 170.77619 -2371.0903 692.4485 834.47484 550.85905 -3280.9086 -595.31802 1306171.4 -1306744 2107.9995 48631.318 267.06312 1.0301965
650 75.616307 2416.9747 167.79573 -2341.3584 703.57186 869.98959 564.81201 -3280.7522 -619.8016 1306168 -1306747.2 1236.4829 48631.318 262.3542 1.0968447
700 49.832719 2415.7344 167.70963 -2365.9017 683.61663 882.67915 555.23571 -3280.7778 -615.06862 1306159.9 -1306751.4 2985.7048 48631.318 262.23095 1.0762424
750 41.513638 2427.218 168.50687 -2385.7044 698.87619 863.2938 564.58197 -3280.0156 -637.29964 1306160.1 -1306755.3 1653.117 48631.318 263.49803 1.0451977
800 109.53032 2481.9041 172.30339 -2372.3738 697.22709 897.36555 561.28745 -3280.6784 -651.29564 1306155 -1306751.3 1219.8761 48631.318 269.43698 1.0647792
850 98.142203 2502.3132 173.72026 -2404.171 696.5382 878.83293 566.44302 -3280.2837 -663.94587 1306155.6 -1306757.4 1122.7487 48631.318 271.67716 1.030267
900 62.992675 2409.7324 167.29295 -2346.7397 722.00541 896.64662 560.66083 -3279.4915 -644.05458 1306153.6 -1306756.1 1604.295 48631.318 261.58656 1.0609836
950 5.6677468 2403.5067 166.86073 -2397.839 725.07222 891.00249 556.81977 -3279.7848 -672.66389 1306141 -1306759.2 1019.1694 48631.318 260.91187 1.0562387
1000 38.526968 2444.97 169.73928 -2406.4431 704.72993 920.68493 534.59035 -3281.2673 -667.78091 1306141.1 -1306758.5 486.79846 48631.318 265.39928 1.098473
1050 21.698026 2388.6306 165.82798 -2366.9326 712.15539 934.39244 546.92027 -3281.1469 -654.7449 1306137.4 -1306761.9 1556.1256 48631.318 259.28203 1.0760765
1100 -26.971225 2433.8428 168.96678 -2460.814 710.11081 881.19212 524.51547 -3281.7925 -667.53202 1306137.1 -1306764.4 1203.8971 48631.318 264.20441 1.0706085
1150 -49.171269 2375.9688 164.94895 -2425.14 729.78127 918.79575 518.21967 -3281.6542 -675.7239 1306130.4 -1306765 229.44016 48631.318 257.89845 1.086519
1200 -53.421342 2422.0091 168.14524 -2475.4304 710.67274 884.2589 523.32524 -3282.2275 -674.49333 1306130.9 -1306767.9 -131.09655 48631.318 262.91124 1.0804821
1250 -58.534776 2394.4031 166.22873 -2452.9378 680.27486 909.58096 532.81959 -3281.5551 -653.13731 1306127 -1306767.9 546.96357 48631.318 259.92916 1.0424914
1300 -24.151217 2431.9902 168.83817 -2456.1414 681.27127 919.39245 536.41899 -3281.3717 -661.90875 1306121.6 -1306771.5 1455.7512 48631.318 264.00712 1.0630558
1350 -38.973062 2438.6194 169.2984 -2477.5925 707.96118 912.62518 519.44533 -3281.6739 -687.67183 1306126.1 -1306774.4 -1470.4442 48631.318 264.70225 1.1091537
1400 11.896539 2384.5407 165.54404 -2372.6442 719.03374 950.93261 550.5639 -3280.4581 -663.4921 1306122 -1306771.3 465.12854 48631.318 258.83564 1.0785364
1450 -13.118691 2436.6246 169.15991 -2449.7433 661.04397 933.07103 561.29537 -3280.6997 -672.68495 1306123.9 -1306775.7 -108.46564 48631.318 264.50636 1.0718787
1500 -38.151755 2417.4849 167.83116 -2455.6367 688.81484 892.35701 565.29013 -3279.6716 -662.1817 1306116.9 -1306777.2 517.89634 48631.318 262.44549 1.0338083
1550 -71.663334 2405.7016 167.01311 -2477.3649 681.78925 876.31247 559.003 -3280.451 -649.16641 1306112.8 -1306777.7 925.49349 48631.318 261.148 1.0609731
1600 -13.900431 2419.481 167.96973 -2433.3814 718.46559 909.67964 559.06779 -3280.8163 -667.6092 1306108 -1306780.2 13.95808 48631.318 262.63632 1.080229
1650 -16.403222 2431.075 168.77464 -2447.4783 710.99509 907.65662 551.60307 -3279.8852 -661.52624 1306104.5 -1306780.8 726.89923 48631.318 263.91553 1.0489963
1700 -18.555086 2438.2062 169.26971 -2456.7613 665.90475 943.02217 542.86579 -3280.9017 -657.99229 1306108 -1306777.7 801.41078 48631.318 264.67663 1.0750708
1750 -6.9249446 2443.9707 169.6699 -2450.8956 733.23573 890.06857 560.83229 -3280.362 -670.93883 1306098.3 -1306782.1 47.037748 48631.318 265.30892 1.0661143
1800 -21.686222 2434.3375 169.00113 -2456.0237 729.35297 899.9733 561.59516 -3280.4727 -680.98901 1306096.5 -1306782 495.63617 48631.318 264.25723 1.0723683
1850 -72.916947 2408.8254 167.22998 -2481.7423 683.24984 904.13282 549.97726 -3279.6699 -652.63212 1306099.2 -1306786 -120.61674 48631.318 261.48504 1.0659808
1900 -55.4099 2415.455 167.69023 -2470.8649 700.4473 904.72264 565.5266 -3280.4533 -673.23082 1306099.6 -1306787.4 202.15936 48631.318 262.20353 1.0709756
1950 -79.877997 2409.2307 167.25812 -2489.1087 695.9536 894.4541 564.7034 -3279.3581 -680.33472 1306100.8 -1306785.3 213.72828 48631.318 261.52921 1.0658433
2000 -102.20457 2399.4263 166.57746 -2501.6309 689.67819 894.58596 565.53233 -3280.7595 -680.39032 1306096.4 -1306786.6 1113.7499 48631.318 260.46311 1.0647045
Loop time of 68.4185 on 1 procs for 2000 steps with 5500 atoms
Performance: 1.263 ns/day, 19.005 hours/ns, 29.232 timesteps/s
99.7% CPU use with 1 MPI tasks x 1 OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 48.825 | 48.825 | 48.825 | 0.0 | 71.36
Bond | 2.8852 | 2.8852 | 2.8852 | 0.0 | 4.22
Kspace | 13.795 | 13.795 | 13.795 | 0.0 | 20.16
Neigh | 1.0731 | 1.0731 | 1.0731 | 0.0 | 1.57
Comm | 0.27067 | 0.27067 | 0.27067 | 0.0 | 0.40
Output | 0.0031168 | 0.0031168 | 0.0031168 | 0.0 | 0.00
Modify | 1.5207 | 1.5207 | 1.5207 | 0.0 | 2.22
Other | | 0.04541 | | | 0.07
Nlocal: 5500 ave 5500 max 5500 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 13157 ave 13157 max 13157 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 1.33822e+06 ave 1.33822e+06 max 1.33822e+06 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Total # of neighbors = 1338215
Ave neighs/atom = 243.312
Ave special neighs/atom = 15.6364
Neighbor list builds = 32
Dangerous builds = 0
Total wall time: 0:01:08

View File

@ -0,0 +1,254 @@
LAMMPS (7 Aug 2019)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:93)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Langevin)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
pair_modify mix geometric tail yes
kspace_style pppm 1.0e-4
read_data data.toluene extra/special/per/atom 1
orthogonal box = (-18.2908 -18.1636 -18.223) to (18.3357 18.1621 18.3287)
2 by 1 by 2 MPI processor grid
reading atoms ...
5500 atoms
scanning bonds ...
4 = max bonds/atom
scanning angles ...
6 = max angles/atom
scanning dihedrals ...
8 = max dihedrals/atom
scanning impropers ...
2 = max impropers/atom
reading bonds ...
5500 bonds
reading angles ...
6000 angles
reading dihedrals ...
6000 dihedrals
reading impropers ...
1500 impropers
5 = max # of 1-2 neighbors
10 = max # of 1-3 neighbors
16 = max # of 1-4 neighbors
20 = max # of special neighbors
special bonds CPU = 0.000747919 secs
read_data CPU = 0.0168228 secs
comm_modify vel yes
group gTOLUENE molecule 1:250
5500 atoms in group gTOLUENE
group gCORES type 1 2 3 4 5 6 7
3750 atoms in group gCORES
group gDRUDES type 8 9 10 11 12
1750 atoms in group gDRUDES
pair_coeff 1 1 0.069998 3.550000 1.620000 # CAT CAT
pair_coeff 1 2 0.069998 3.550000 1.620000 # CAT CAO
pair_coeff 1 3 0.069998 3.550000 1.620000 # CAT CAM
pair_coeff 1 4 0.069998 3.550000 1.620000 # CAT CAP
pair_coeff 1 5 0.067968 3.524911 1.620000 # CAT CTT
pair_coeff 1 6 0.045825 2.931041 0.000000 # CAT HAT
pair_coeff 1 7 0.045825 2.931041 0.000000 # CAT HT
pair_coeff 2 2 0.069998 3.550000 1.620000 # CAO CAO
pair_coeff 2 3 0.069998 3.550000 1.620000 # CAO CAM
pair_coeff 2 4 0.069998 3.550000 1.620000 # CAO CAP
pair_coeff 2 5 0.067968 3.524911 1.620000 # CAO CTT
pair_coeff 2 6 0.045825 2.931041 0.000000 # CAO HAT
pair_coeff 2 7 0.045825 2.931041 0.000000 # CAO HT
pair_coeff 3 3 0.069998 3.550000 1.620000 # CAM CAM
pair_coeff 3 4 0.069998 3.550000 1.620000 # CAM CAP
pair_coeff 3 5 0.067968 3.524911 1.620000 # CAM CTT
pair_coeff 3 6 0.045825 2.931041 0.000000 # CAM HAT
pair_coeff 3 7 0.045825 2.931041 0.000000 # CAM HT
pair_coeff 4 4 0.069998 3.550000 1.620000 # CAP CAP
pair_coeff 4 5 0.067968 3.524911 1.620000 # CAP CTT
pair_coeff 4 6 0.045825 2.931041 0.000000 # CAP HAT
pair_coeff 4 7 0.045825 2.931041 0.000000 # CAP HT
pair_coeff 5 5 0.065997 3.500000 1.620000 # CTT CTT
pair_coeff 5 6 0.044496 2.910326 0.000000 # CTT HAT
pair_coeff 5 7 0.044496 2.910326 0.000000 # CTT HT
pair_coeff 6 6 0.029999 2.420000 0.000000 # HAT HAT
pair_coeff 6 7 0.029999 2.420000 0.000000 # HAT HT
pair_coeff 7 7 0.029999 2.420000 0.000000 # HT HT
pair_coeff 1 8 0.000000 0.000000 1.620000 # CAT D_CAT
pair_coeff 1 9 0.000000 0.000000 1.620000 # CAT D_CAO
pair_coeff 1 10 0.000000 0.000000 1.620000 # CAT D_CAM
pair_coeff 1 11 0.000000 0.000000 1.620000 # CAT D_CAP
pair_coeff 1 12 0.000000 0.000000 1.620000 # CAT D_CTT
pair_coeff 2 8 0.000000 0.000000 1.620000 # CAO D_CAT
pair_coeff 2 9 0.000000 0.000000 1.620000 # CAO D_CAO
pair_coeff 2 10 0.000000 0.000000 1.620000 # CAO D_CAM
pair_coeff 2 11 0.000000 0.000000 1.620000 # CAO D_CAP
pair_coeff 2 12 0.000000 0.000000 1.620000 # CAO D_CTT
pair_coeff 3 8 0.000000 0.000000 1.620000 # CAM D_CAT
pair_coeff 3 9 0.000000 0.000000 1.620000 # CAM D_CAO
pair_coeff 3 10 0.000000 0.000000 1.620000 # CAM D_CAM
pair_coeff 3 11 0.000000 0.000000 1.620000 # CAM D_CAP
pair_coeff 3 12 0.000000 0.000000 1.620000 # CAM D_CTT
pair_coeff 4 8 0.000000 0.000000 1.620000 # CAP D_CAT
pair_coeff 4 9 0.000000 0.000000 1.620000 # CAP D_CAO
pair_coeff 4 10 0.000000 0.000000 1.620000 # CAP D_CAM
pair_coeff 4 11 0.000000 0.000000 1.620000 # CAP D_CAP
pair_coeff 4 12 0.000000 0.000000 1.620000 # CAP D_CTT
pair_coeff 5 8 0.000000 0.000000 1.620000 # CTT D_CAT
pair_coeff 5 9 0.000000 0.000000 1.620000 # CTT D_CAO
pair_coeff 5 10 0.000000 0.000000 1.620000 # CTT D_CAM
pair_coeff 5 11 0.000000 0.000000 1.620000 # CTT D_CAP
pair_coeff 5 12 0.000000 0.000000 1.620000 # CTT D_CTT
pair_coeff 8 8 0.000000 0.000000 1.620000 # D_CAT D_CAT
pair_coeff 8 9 0.000000 0.000000 1.620000 # D_CAT D_CAO
pair_coeff 8 10 0.000000 0.000000 1.620000 # D_CAT D_CAM
pair_coeff 8 11 0.000000 0.000000 1.620000 # D_CAT D_CAP
pair_coeff 8 12 0.000000 0.000000 1.620000 # D_CAT D_CTT
pair_coeff 9 9 0.000000 0.000000 1.620000 # D_CAO D_CAO
pair_coeff 9 10 0.000000 0.000000 1.620000 # D_CAO D_CAM
pair_coeff 9 11 0.000000 0.000000 1.620000 # D_CAO D_CAP
pair_coeff 9 12 0.000000 0.000000 1.620000 # D_CAO D_CTT
pair_coeff 10 10 0.000000 0.000000 1.620000 # D_CAM D_CAM
pair_coeff 10 11 0.000000 0.000000 1.620000 # D_CAM D_CAP
pair_coeff 10 12 0.000000 0.000000 1.620000 # D_CAM D_CTT
pair_coeff 11 11 0.000000 0.000000 1.620000 # D_CAP D_CAP
pair_coeff 11 12 0.000000 0.000000 1.620000 # D_CAP D_CTT
pair_coeff 12 12 0.000000 0.000000 1.620000 # D_CTT D_CTT
neighbor 2.0 bin
variable vTEMP equal 260.0
variable vTEMP_D equal 1.0
variable vPRESS equal 1.0
velocity gCORES create ${vTEMP} 12345
velocity gCORES create 260 12345
velocity gDRUDES create ${vTEMP_D} 12345
velocity gDRUDES create 1 12345
fix fDRUDE all drude C C C C C N N D D D D D
fix fSHAKE gCORES shake 0.0001 20 0 b 4 6 7 8
1250 = # of size 2 clusters
0 = # of size 3 clusters
250 = # of size 4 clusters
0 = # of frozen angles
find clusters CPU = 0.000355244 secs
fix fLANG all langevin/drude ${vTEMP} 100.0 200611 ${vTEMP_D} 20.0 260514 zero yes
fix fLANG all langevin/drude 260 100.0 200611 ${vTEMP_D} 20.0 260514 zero yes
fix fLANG all langevin/drude 260 100.0 200611 1 20.0 260514 zero yes
fix fNPH all nve
compute cTEMP all temp/drude
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5
run 2000
PPPM initialization ...
using 12-bit tables for long-range coulomb (src/kspace.cpp:323)
G vector (1/distance) = 0.382011
grid = 40 40 40
stencil order = 5
estimated absolute RMS force accuracy = 0.0325934
estimated relative force accuracy = 9.8154e-05
using double precision FFTW3
3d grid and FFT values/proc = 34263 16000
Rebuild special list taking Drude particles into account
Old max number of 1-2 to 1-4 neighbors: 19
New max number of 1-2 to 1-4 neighbors: 20 (+1)
Neighbor list info ...
update every 1 steps, delay 10 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 10
ghost atom cutoff = 10
binsize = 5, bins = 8 8 8
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair lj/cut/thole/long, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
Per MPI rank memory allocation (min/avg/max) = 18 | 18 | 18 Mbytes
Step TotEng KinEng Temp PotEng E_bond E_angle E_dihed E_impro E_vdwl E_coul E_long Press Volume c_cTEMP[1] c_cTEMP[2]
0 11086.347 2910.7282 202.07402 8175.6191 6565.4851 20.333365 1.0706727e-06 -3299.85 4972.8631 1306116.6 -1306199.8 40273.68 48631.318 314.89553 3.1777821
50 4712.9507 4669.1606 324.15119 43.790082 1798.561 670.61319 690.16967 -3276.9493 811.643 1305983.2 -1306633.5 17164.771 48631.318 442.24313 116.13094
100 2865.9139 3726.4166 258.70226 -860.50272 968.87546 749.70761 860.70151 -3270.7784 427.14745 1306104.7 -1306700.9 15017.273 48631.318 385.10628 35.845353
150 1982.6673 3535.974 245.481 -1553.3068 764.86116 768.15837 658.70182 -3278.7906 108.49859 1306136.5 -1306711.2 16495.352 48631.318 378.64023 10.723986
200 1440.0277 3240.5932 224.97452 -1800.5656 687.71813 791.29356 643.82915 -3276.9293 -99.549986 1306172.9 -1306719.8 13234.476 48631.318 350.46321 3.7468464
250 1103.2915 3018.496 209.55567 -1915.2045 677.97905 825.32748 642.78891 -3278.0801 -226.1853 1306168.5 -1306725.5 8774.9103 48631.318 327.36313 1.8722119
300 789.07159 2827.1716 196.27319 -2038.1 735.96101 852.72545 589.14167 -3280.0357 -374.66018 1306169 -1306730.2 2259.1028 48631.318 306.85585 1.3262598
350 599.10023 2732.3739 189.69197 -2133.2737 677.67006 863.22888 565.41674 -3280.5231 -403.28794 1306177.4 -1306733.2 7989.222 48631.318 296.64126 1.1534418
400 428.26436 2591.2884 179.89727 -2163.0241 676.18745 849.24505 612.34065 -3277.4703 -457.85799 1306173.6 -1306739.1 7282.1438 48631.318 281.34719 1.0502762
450 307.26859 2534.2468 175.93722 -2226.9782 712.17636 853.98862 578.01327 -3279.7731 -533.87422 1306179.7 -1306737.2 1897.9643 48631.318 275.11317 1.0980929
500 234.60959 2495.1082 173.22007 -2260.4987 707.43541 878.25753 547.08402 -3281.2756 -549.04991 1306176.5 -1306739.5 2683.0639 48631.318 270.85452 1.0984718
550 203.34751 2445.6535 169.78673 -2242.306 669.03724 892.85034 599.20664 -3279.0757 -559.81157 1306175.9 -1306740.4 4512.9992 48631.318 265.49465 1.0628812
600 205.63573 2526.5892 175.4056 -2320.9535 685.64073 887.97693 557.42296 -3280.0332 -597.34755 1306167.8 -1306742.5 2999.5823 48631.318 274.29935 1.064682
650 176.23031 2526.3124 175.38638 -2350.0821 714.15285 895.42115 540.39191 -3280.8567 -636.27783 1306165.7 -1306748.6 871.68316 48631.318 274.2807 1.0442089
700 106.97524 2441.1059 169.47101 -2334.1306 697.16018 905.51407 564.71847 -3279.6208 -631.62324 1306159.4 -1306749.6 1953.8241 48631.318 264.98935 1.0771037
750 76.695104 2435.6635 169.09318 -2358.9684 672.01039 934.63351 545.64024 -3281.1075 -629.89722 1306152.4 -1306752.6 3044.0155 48631.318 264.39002 1.0932471
800 57.614075 2456.928 170.56945 -2399.3139 720.76364 898.68013 534.10051 -3281.5897 -659.64354 1306145.5 -1306757.1 1691.9503 48631.318 266.72089 1.0622697
850 -44.931126 2390.0608 165.92727 -2434.9919 708.70192 888.26851 537.13087 -3281.355 -665.17283 1306137.8 -1306760.3 123.07165 48631.318 259.45151 1.0516426
900 -96.878205 2358.862 163.76133 -2455.7403 672.98976 868.41571 546.69492 -3280.6939 -636.80102 1306134.5 -1306760.9 1955.7005 48631.318 256.05598 1.05337
950 -80.012575 2374.4497 164.84349 -2454.4623 679.59722 880.35157 548.35372 -3280.6061 -643.44517 1306125.8 -1306764.5 1510.9809 48631.318 257.72442 1.1017392
1000 -21.440874 2440.6729 169.44096 -2462.1138 718.56593 868.65109 555.54643 -3279.8516 -686.71673 1306126.6 -1306765 -1148.6212 48631.318 264.92977 1.1019339
1050 16.46903 2382.6961 165.41598 -2366.2271 712.51245 913.35848 579.81678 -3280.0559 -657.12122 1306129.3 -1306764 1004.5778 48631.318 258.64076 1.0684155
1100 35.847247 2483.1985 172.39325 -2447.3513 685.05704 889.42278 553.73166 -3280.0177 -663.67201 1306134.3 -1306766.2 699.1824 48631.318 269.56773 1.0838094
1150 -4.9817843 2431.4725 168.80223 -2436.4543 720.51056 868.17547 569.09902 -3280.5829 -677.99865 1306133.1 -1306768.7 435.19118 48631.318 263.96966 1.0303202
1200 -23.907197 2443.6035 169.64441 -2467.5107 684.96437 887.58483 549.43666 -3280.3144 -679.46182 1306137.2 -1306766.9 367.11148 48631.318 265.28645 1.0344036
1250 -16.904671 2389.9447 165.91921 -2406.8494 722.06959 902.90076 568.35616 -3280.6829 -683.32029 1306132.9 -1306769.1 76.759445 48631.318 259.41697 1.0908431
1300 -1.7822102 2410.2768 167.33074 -2412.0591 706.98675 904.31941 551.23506 -3280.7552 -651.51211 1306127.3 -1306769.6 1659.1113 48631.318 261.64093 1.0701648
1350 -3.569473 2446.3901 169.83786 -2449.9595 686.13971 894.85839 558.36242 -3279.9941 -664.59508 1306129 -1306773.7 783.32881 48631.318 265.5696 1.0709072
1400 -33.385576 2400.262 166.63547 -2433.6476 709.5808 890.68408 571.13105 -3280.1428 -674.51247 1306123.4 -1306773.8 -751.38571 48631.318 260.54522 1.080234
1450 -11.215152 2405.5409 167.00196 -2416.756 703.72038 913.21131 552.64196 -3280.9831 -649.19774 1306120.3 -1306776.4 1817.2174 48631.318 261.14741 1.031193
1500 -25.974102 2435.8375 169.10527 -2461.8116 689.93174 900.70619 552.63711 -3280.1497 -671.17989 1306124 -1306777.8 -98.941796 48631.318 264.45069 1.0190784
1550 -76.496407 2394.8126 166.25716 -2471.309 706.96953 886.06919 549.9101 -3280.8434 -659.57745 1306105.9 -1306779.7 -7.0989994 48631.318 259.95403 1.0772144
1600 -79.549932 2395.1114 166.2779 -2474.6614 684.11692 888.93332 562.94522 -3280.1665 -665.21744 1306114.4 -1306779.6 320.58515 48631.318 260.00641 1.0425978
1650 -99.702003 2360.5652 163.87957 -2460.2672 706.21244 900.9253 540.36599 -3280.2308 -655.96077 1306109.7 -1306781.3 307.35487 48631.318 256.23383 1.0666637
1700 -69.422658 2372.1727 164.68541 -2441.5954 676.79347 913.90473 581.60658 -3279.997 -670.33218 1306115.7 -1306779.3 -204.22848 48631.318 257.50963 1.0434075
1750 -80.889897 2425.3592 168.37782 -2506.2491 672.88937 911.52373 523.74733 -3280.4796 -673.90027 1306122 -1306782 965.12568 48631.318 263.26491 1.1001595
1800 -82.419368 2361.798 163.96515 -2444.2173 716.51571 882.9729 577.92505 -3278.9279 -671.67438 1306111.6 -1306782.6 -44.954517 48631.318 256.36957 1.0636692
1850 -93.715705 2373.3359 164.76616 -2467.0516 713.02466 907.03621 563.38626 -3280.2576 -693.30963 1306104.6 -1306781.5 -979.95945 48631.318 257.62543 1.0628288
1900 -73.60945 2449.5873 170.05983 -2523.1967 683.65116 893.94251 539.90847 -3281.4318 -680.16358 1306108 -1306787.1 598.18213 48631.318 265.91405 1.0766352
1950 -66.068291 2437.3691 169.21159 -2503.4374 672.5168 877.42934 573.56499 -3279.885 -668.54185 1306109.2 -1306787.7 733.05074 48631.318 264.61409 1.0224258
2000 -91.043979 2374.4077 164.84057 -2465.4516 692.13299 909.46192 574.60109 -3279.837 -672.33599 1306102.4 -1306791.8 -665.61581 48631.318 257.76275 1.0263294
Loop time of 23.7656 on 4 procs for 2000 steps with 5500 atoms
Performance: 3.636 ns/day, 6.602 hours/ns, 84.155 timesteps/s
94.3% CPU use with 4 MPI tasks x 1 OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 11.918 | 13.096 | 14.137 | 27.0 | 55.10
Bond | 0.74012 | 0.76511 | 0.79225 | 2.9 | 3.22
Kspace | 6.7821 | 7.8285 | 9.0172 | 35.4 | 32.94
Neigh | 0.37249 | 0.37262 | 0.37278 | 0.0 | 1.57
Comm | 0.70503 | 0.7188 | 0.72807 | 1.1 | 3.02
Output | 0.0018752 | 0.0047592 | 0.013386 | 7.2 | 0.02
Modify | 0.91164 | 0.91644 | 0.92123 | 0.5 | 3.86
Other | | 0.06335 | | | 0.27
Nlocal: 1375 ave 1381 max 1368 min
Histogram: 1 0 0 0 0 1 1 0 0 1
Nghost: 7803.75 ave 7856 max 7755 min
Histogram: 1 0 0 0 1 1 0 0 0 1
Neighs: 334465 ave 349504 max 315867 min
Histogram: 1 0 0 1 0 0 0 0 1 1
Total # of neighbors = 1337859
Ave neighs/atom = 243.247
Ave special neighs/atom = 15.6364
Neighbor list builds = 32
Dangerous builds = 0
Total wall time: 0:00:23

View File

@ -0,0 +1,262 @@
LAMMPS (7 Aug 2019)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:93)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Nose-Hoover)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
pair_modify mix geometric tail yes
kspace_style pppm 1.0e-4
read_data data.toluene extra/special/per/atom 1
orthogonal box = (-18.2908 -18.1636 -18.223) to (18.3357 18.1621 18.3287)
1 by 1 by 1 MPI processor grid
reading atoms ...
5500 atoms
scanning bonds ...
4 = max bonds/atom
scanning angles ...
6 = max angles/atom
scanning dihedrals ...
8 = max dihedrals/atom
scanning impropers ...
2 = max impropers/atom
reading bonds ...
5500 bonds
reading angles ...
6000 angles
reading dihedrals ...
6000 dihedrals
reading impropers ...
1500 impropers
5 = max # of 1-2 neighbors
10 = max # of 1-3 neighbors
16 = max # of 1-4 neighbors
20 = max # of special neighbors
special bonds CPU = 0.0019815 secs
read_data CPU = 0.0168803 secs
comm_modify vel yes
group gTOLUENE molecule 1:250
5500 atoms in group gTOLUENE
group gCORES type 1 2 3 4 5 6 7
3750 atoms in group gCORES
group gDRUDES type 8 9 10 11 12
1750 atoms in group gDRUDES
pair_coeff 1 1 0.069998 3.550000 1.620000 # CAT CAT
pair_coeff 1 2 0.069998 3.550000 1.620000 # CAT CAO
pair_coeff 1 3 0.069998 3.550000 1.620000 # CAT CAM
pair_coeff 1 4 0.069998 3.550000 1.620000 # CAT CAP
pair_coeff 1 5 0.067968 3.524911 1.620000 # CAT CTT
pair_coeff 1 6 0.045825 2.931041 0.000000 # CAT HAT
pair_coeff 1 7 0.045825 2.931041 0.000000 # CAT HT
pair_coeff 2 2 0.069998 3.550000 1.620000 # CAO CAO
pair_coeff 2 3 0.069998 3.550000 1.620000 # CAO CAM
pair_coeff 2 4 0.069998 3.550000 1.620000 # CAO CAP
pair_coeff 2 5 0.067968 3.524911 1.620000 # CAO CTT
pair_coeff 2 6 0.045825 2.931041 0.000000 # CAO HAT
pair_coeff 2 7 0.045825 2.931041 0.000000 # CAO HT
pair_coeff 3 3 0.069998 3.550000 1.620000 # CAM CAM
pair_coeff 3 4 0.069998 3.550000 1.620000 # CAM CAP
pair_coeff 3 5 0.067968 3.524911 1.620000 # CAM CTT
pair_coeff 3 6 0.045825 2.931041 0.000000 # CAM HAT
pair_coeff 3 7 0.045825 2.931041 0.000000 # CAM HT
pair_coeff 4 4 0.069998 3.550000 1.620000 # CAP CAP
pair_coeff 4 5 0.067968 3.524911 1.620000 # CAP CTT
pair_coeff 4 6 0.045825 2.931041 0.000000 # CAP HAT
pair_coeff 4 7 0.045825 2.931041 0.000000 # CAP HT
pair_coeff 5 5 0.065997 3.500000 1.620000 # CTT CTT
pair_coeff 5 6 0.044496 2.910326 0.000000 # CTT HAT
pair_coeff 5 7 0.044496 2.910326 0.000000 # CTT HT
pair_coeff 6 6 0.029999 2.420000 0.000000 # HAT HAT
pair_coeff 6 7 0.029999 2.420000 0.000000 # HAT HT
pair_coeff 7 7 0.029999 2.420000 0.000000 # HT HT
pair_coeff 1 8 0.000000 0.000000 1.620000 # CAT D_CAT
pair_coeff 1 9 0.000000 0.000000 1.620000 # CAT D_CAO
pair_coeff 1 10 0.000000 0.000000 1.620000 # CAT D_CAM
pair_coeff 1 11 0.000000 0.000000 1.620000 # CAT D_CAP
pair_coeff 1 12 0.000000 0.000000 1.620000 # CAT D_CTT
pair_coeff 2 8 0.000000 0.000000 1.620000 # CAO D_CAT
pair_coeff 2 9 0.000000 0.000000 1.620000 # CAO D_CAO
pair_coeff 2 10 0.000000 0.000000 1.620000 # CAO D_CAM
pair_coeff 2 11 0.000000 0.000000 1.620000 # CAO D_CAP
pair_coeff 2 12 0.000000 0.000000 1.620000 # CAO D_CTT
pair_coeff 3 8 0.000000 0.000000 1.620000 # CAM D_CAT
pair_coeff 3 9 0.000000 0.000000 1.620000 # CAM D_CAO
pair_coeff 3 10 0.000000 0.000000 1.620000 # CAM D_CAM
pair_coeff 3 11 0.000000 0.000000 1.620000 # CAM D_CAP
pair_coeff 3 12 0.000000 0.000000 1.620000 # CAM D_CTT
pair_coeff 4 8 0.000000 0.000000 1.620000 # CAP D_CAT
pair_coeff 4 9 0.000000 0.000000 1.620000 # CAP D_CAO
pair_coeff 4 10 0.000000 0.000000 1.620000 # CAP D_CAM
pair_coeff 4 11 0.000000 0.000000 1.620000 # CAP D_CAP
pair_coeff 4 12 0.000000 0.000000 1.620000 # CAP D_CTT
pair_coeff 5 8 0.000000 0.000000 1.620000 # CTT D_CAT
pair_coeff 5 9 0.000000 0.000000 1.620000 # CTT D_CAO
pair_coeff 5 10 0.000000 0.000000 1.620000 # CTT D_CAM
pair_coeff 5 11 0.000000 0.000000 1.620000 # CTT D_CAP
pair_coeff 5 12 0.000000 0.000000 1.620000 # CTT D_CTT
pair_coeff 8 8 0.000000 0.000000 1.620000 # D_CAT D_CAT
pair_coeff 8 9 0.000000 0.000000 1.620000 # D_CAT D_CAO
pair_coeff 8 10 0.000000 0.000000 1.620000 # D_CAT D_CAM
pair_coeff 8 11 0.000000 0.000000 1.620000 # D_CAT D_CAP
pair_coeff 8 12 0.000000 0.000000 1.620000 # D_CAT D_CTT
pair_coeff 9 9 0.000000 0.000000 1.620000 # D_CAO D_CAO
pair_coeff 9 10 0.000000 0.000000 1.620000 # D_CAO D_CAM
pair_coeff 9 11 0.000000 0.000000 1.620000 # D_CAO D_CAP
pair_coeff 9 12 0.000000 0.000000 1.620000 # D_CAO D_CTT
pair_coeff 10 10 0.000000 0.000000 1.620000 # D_CAM D_CAM
pair_coeff 10 11 0.000000 0.000000 1.620000 # D_CAM D_CAP
pair_coeff 10 12 0.000000 0.000000 1.620000 # D_CAM D_CTT
pair_coeff 11 11 0.000000 0.000000 1.620000 # D_CAP D_CAP
pair_coeff 11 12 0.000000 0.000000 1.620000 # D_CAP D_CTT
pair_coeff 12 12 0.000000 0.000000 1.620000 # D_CTT D_CTT
neighbor 2.0 bin
variable vTEMP equal 260.0
variable vTEMP_D equal 1.0
variable vPRESS equal 1.0
velocity gCORES create ${vTEMP} 12345
velocity gCORES create 260 12345
velocity gDRUDES create ${vTEMP_D} 12345
velocity gDRUDES create 1 12345
fix fDRUDE all drude C C C C C N N D D D D D
fix fSHAKE gCORES shake 0.0001 20 0 b 4 6 7 8
1250 = # of size 2 clusters
0 = # of size 3 clusters
250 = # of size 4 clusters
0 = # of frozen angles
find clusters CPU = 0.000715256 secs
compute cTEMP_CORE gCORES temp/com
compute cTEMP all temp/drude
fix fDIRECT all drude/transform/direct
fix fNVT1 gCORES nvt temp ${vTEMP} ${vTEMP} 100.0
fix fNVT1 gCORES nvt temp 260 ${vTEMP} 100.0
fix fNVT1 gCORES nvt temp 260 260 100.0
fix fNVT2 gDRUDES nvt temp ${vTEMP_D} ${vTEMP_D} 20.0
fix fNVT2 gDRUDES nvt temp 1 ${vTEMP_D} 20.0
fix fNVT2 gDRUDES nvt temp 1 1 20.0
fix fINVERSE all drude/transform/inverse
fix fMOMENTUM all momentum 100 linear 1 1 1
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5
run 2000
PPPM initialization ...
using 12-bit tables for long-range coulomb (src/kspace.cpp:323)
G vector (1/distance) = 0.382011
grid = 40 40 40
stencil order = 5
estimated absolute RMS force accuracy = 0.0325934
estimated relative force accuracy = 9.8154e-05
using double precision FFTW3
3d grid and FFT values/proc = 103823 64000
Rebuild special list taking Drude particles into account
Old max number of 1-2 to 1-4 neighbors: 19
New max number of 1-2 to 1-4 neighbors: 20 (+1)
Neighbor list info ...
update every 1 steps, delay 10 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 10
ghost atom cutoff = 10
binsize = 5, bins = 8 8 8
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair lj/cut/thole/long, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
Per MPI rank memory allocation (min/avg/max) = 42.06 | 42.06 | 42.06 Mbytes
Step TotEng KinEng Temp PotEng E_bond E_angle E_dihed E_impro E_vdwl E_coul E_long Press Volume c_cTEMP[1] c_cTEMP[2]
0 11086.347 2910.7282 202.07402 8175.6191 6565.4851 20.333365 1.0706727e-06 -3299.85 4972.8631 1306116.6 -1306199.8 40273.68 48631.318 314.89553 3.1777821
50 3563.3755 4630.6343 321.47655 -1067.2588 735.72049 604.78665 689.14827 -3277.411 815.58183 1306088.7 -1306723.8 17813.424 48631.318 503.827 0.0087118192
100 3327.4724 4395.1107 305.12559 -1067.6382 597.93176 651.62645 945.4151 -3267.2851 584.58833 1306135.9 -1306715.8 17407.337 48631.318 478.20171 0.0075985539
150 3036.9065 4740.2304 329.08513 -1703.3239 558.64983 619.91284 658.80687 -3278.7837 285.12462 1306173 -1306720 18448.248 48631.318 515.75286 0.0063215188
200 2697.958 4559.3445 316.52733 -1861.3864 522.09334 593.89129 754.61446 -3273.49 87.660461 1306183.9 -1306730 17888.936 48631.318 496.07143 0.0068706164
250 2348.7568 4410.585 306.19988 -2061.8283 506.05007 575.35171 715.55054 -3276.3261 -18.364473 1306177.3 -1306741.4 11592.05 48631.318 479.88562 0.0071741032
300 2019.8258 4040.1415 280.48226 -2020.3157 604.3077 641.66689 693.93801 -3278.5312 -115.73641 1306183.2 -1306749.1 3631.3628 48631.318 439.57995 0.0069886387
350 1699.5166 3944.9851 273.87613 -2245.4685 452.07416 638.0653 658.79117 -3279.6053 -157.07584 1306196.9 -1306754.6 13544.368 48631.318 429.22694 0.0062868111
400 1399.2929 3726.098 258.68014 -2326.8051 457.91943 621.44726 639.39903 -3279.2395 -188.85914 1306185.4 -1306762.8 10792.274 48631.318 405.41134 0.0059340078
450 1120.5249 3518.345 244.25712 -2397.8201 519.48856 584.65789 646.36689 -3278.6685 -289.59913 1306184.1 -1306764.2 2755.5598 48631.318 382.80716 0.0055707485
500 868.0166 3359.8794 233.25583 -2491.8628 460.7393 581.49563 581.01731 -3281.5544 -252.20169 1306184.3 -1306765.7 6120.3639 48631.318 365.56528 0.0058756154
550 637.01567 3214.9521 223.19441 -2577.9364 431.81483 578.87411 540.94047 -3281.5337 -266.36075 1306182.8 -1306764.5 8622.4334 48631.318 349.79661 0.0058589653
600 418.04086 3113.4064 216.14472 -2695.3655 430.45935 538.68157 522.24598 -3283.456 -311.87901 1306174.3 -1306765.8 7068.9273 48631.318 338.74797 0.0059567598
650 218.5966 2930.8439 203.47052 -2712.2473 514.47294 514.28379 551.52551 -3282.0904 -405.37401 1306164.5 -1306769.5 -13.553736 48631.318 318.88482 0.0052667842
700 45.22721 2830.1443 196.47956 -2784.917 451.11156 498.26423 541.18835 -3282.1427 -375.95313 1306157.1 -1306774.4 3947.6276 48631.318 307.92741 0.0068019029
750 -114.28621 2798.3153 194.26988 -2912.6016 412.753 503.2878 481.32173 -3284.3411 -393.53984 1306147 -1306779.1 7143.3414 48631.318 304.46466 0.0061596717
800 -263.63817 2694.8084 187.08403 -2958.4466 455.67914 487.49754 476.8659 -3284.3133 -451.9578 1306145 -1306787.2 1185.9502 48631.318 293.20288 0.0058203332
850 -397.71592 2559.1921 177.66902 -2956.9081 458.83317 481.2262 478.31241 -3284.068 -437.26503 1306138.6 -1306792.6 346.80209 48631.318 278.44745 0.0054921692
900 -515.1823 2544.8753 176.67509 -3060.0576 395.00163 457.58988 446.68352 -3285.485 -423.56221 1306145 -1306795.3 3712.8598 48631.318 276.88864 0.0074054008
950 -617.28259 2451.1723 170.16987 -3068.4549 383.64277 446.59877 434.4624 -3285.1348 -391.59344 1306142.3 -1306798.7 5429.2488 48631.318 266.69431 0.0057487316
1000 -703.15534 2334.837 162.09342 -3037.9923 424.34948 462.21112 451.80809 -3284.3803 -426.53369 1306133.9 -1306799.3 1137.6145 48631.318 254.03675 0.0053914731
1050 -771.1763 2303.837 159.94128 -3075.0133 426.21409 436.50718 435.09987 -3285.1939 -411.14054 1306125.6 -1306802.1 1636.9383 48631.318 250.66295 0.0069342505
1100 -822.72236 2283.4196 158.52382 -3106.142 376.67684 447.77729 418.45768 -3286.5919 -377.48204 1306118.9 -1306803.8 4760.5163 48631.318 248.44119 0.0074025012
1150 -857.06075 2259.0717 156.8335 -3116.1324 400.31523 431.65981 457.68066 -3285.1977 -430.47723 1306115.8 -1306805.9 3194.5161 48631.318 245.79223 0.007063589
1200 -875.50848 2238.2637 155.38893 -3113.7722 445.38524 460.97125 432.10511 -3285.4238 -472.46606 1306114.7 -1306809 -653.49784 48631.318 243.52819 0.0071448738
1250 -880.37572 2294.6889 159.30618 -3175.0646 411.35427 444.73793 420.06468 -3286.0366 -458.05371 1306104.4 -1306811.5 945.80793 48631.318 249.66481 0.011853487
1300 -871.31064 2284.2298 158.58007 -3155.5405 404.97412 441.75285 426.34477 -3285.4859 -424.79609 1306094.9 -1306813.2 4406.6196 48631.318 248.48563 0.084424118
1350 -816.70005 2325.9264 161.47481 -3142.6265 696.80296 442.50053 431.19923 -3285.7859 -450.2699 1305836.2 -1306813.3 593.8098 48631.318 251.40749 2.9297319
1400 -794.25335 2263.5101 157.14163 -3057.7635 645.65165 466.22086 446.22268 -3285.1821 -420.65317 1305903.7 -1306813.8 1386.3633 48631.318 245.20554 1.8916154
1450 -776.10866 2287.6575 158.81803 -3063.7661 427.03477 479.10627 439.67495 -3285.9537 -395.13186 1306087.6 -1306816.1 2936.7806 48631.318 248.87167 0.061343245
1500 -725.48181 2371.413 164.63266 -3096.8948 390.03204 464.30903 446.91959 -3284.7809 -393.16613 1306095.4 -1306815.6 3544.25 48631.318 258.01286 0.011586563
1550 -671.4904 2315.9297 160.7808 -2987.4201 457.04935 500.25282 464.76203 -3284.9311 -400.98103 1306091.7 -1306815.3 2052.6339 48631.318 251.97726 0.0094517862
1600 -618.83633 2449.0918 170.02543 -3067.9281 425.47487 474.65876 471.99171 -3284.3677 -430.32107 1306091.3 -1306816.6 441.15682 48631.318 266.46311 0.014260935
1650 -567.82245 2425.2238 168.36842 -2993.0462 421.01953 511.27133 463.22065 -3285.038 -377.24066 1306088.4 -1306814.7 5198.8565 48631.318 263.83185 0.074738268
1700 -502.4486 2441.8554 169.52305 -2944.304 642.39962 512.90234 490.38297 -3283.9751 -417.39288 1305929.1 -1306817.7 1141.4411 48631.318 264.52393 2.043674
1750 -459.52196 2499.0746 173.49543 -2958.5966 679.38259 505.31787 484.77659 -3284.6272 -384.27736 1305861.6 -1306820.8 1527.2046 48631.318 270.10074 3.1869342
1800 -471.14403 2476.2266 171.90923 -2947.3706 442.47741 530.45656 474.03057 -3284.0954 -371.95117 1306084.3 -1306822.6 3392.2533 48631.318 269.36446 0.10416401
1850 -462.80763 2536.7112 176.10831 -2999.5188 437.08241 525.07462 474.0838 -3283.7906 -422.23719 1306091.6 -1306821.3 1629.8629 48631.318 275.99502 0.016806806
1900 -469.89289 2468.9765 171.4059 -2938.8694 446.77624 531.61059 496.01046 -3284.2338 -395.15325 1306085.7 -1306819.6 3119.5402 48631.318 268.62645 0.014601992
1950 -491.08007 2445.5966 169.78278 -2936.6767 457.80452 527.23373 470.18125 -3283.9608 -391.86377 1306101.9 -1306818 1122.5275 48631.318 266.08018 0.018911601
2000 -518.40811 2418.7208 167.91696 -2937.1289 415.93135 536.5973 480.44651 -3283.7881 -363.72783 1306096.2 -1306818.7 4475.7317 48631.318 263.09007 0.13504326
Loop time of 70.696 on 1 procs for 2000 steps with 5500 atoms
Performance: 1.222 ns/day, 19.638 hours/ns, 28.290 timesteps/s
97.8% CPU use with 1 MPI tasks x 1 OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 48.367 | 48.367 | 48.367 | 0.0 | 68.42
Bond | 2.9191 | 2.9191 | 2.9191 | 0.0 | 4.13
Kspace | 14.266 | 14.266 | 14.266 | 0.0 | 20.18
Neigh | 1.5262 | 1.5262 | 1.5262 | 0.0 | 2.16
Comm | 0.27841 | 0.27841 | 0.27841 | 0.0 | 0.39
Output | 0.0035572 | 0.0035572 | 0.0035572 | 0.0 | 0.01
Modify | 3.2856 | 3.2856 | 3.2856 | 0.0 | 4.65
Other | | 0.05018 | | | 0.07
Nlocal: 5500 ave 5500 max 5500 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 15317 ave 15317 max 15317 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 1.30285e+06 ave 1.30285e+06 max 1.30285e+06 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Total # of neighbors = 1302849
Ave neighs/atom = 236.882
Ave special neighs/atom = 15.6364
Neighbor list builds = 44
Dangerous builds = 0
Total wall time: 0:01:10

View File

@ -0,0 +1,262 @@
LAMMPS (7 Aug 2019)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:93)
using 1 OpenMP thread(s) per MPI task
# 250 toluene system for drude polarizability example (Nose-Hoover)
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style fourier
special_bonds lj/coul 0.0 0.0 0.5
pair_style lj/cut/thole/long 2.600 8.0 8.0
pair_modify mix geometric tail yes
kspace_style pppm 1.0e-4
read_data data.toluene extra/special/per/atom 1
orthogonal box = (-18.2908 -18.1636 -18.223) to (18.3357 18.1621 18.3287)
2 by 1 by 2 MPI processor grid
reading atoms ...
5500 atoms
scanning bonds ...
4 = max bonds/atom
scanning angles ...
6 = max angles/atom
scanning dihedrals ...
8 = max dihedrals/atom
scanning impropers ...
2 = max impropers/atom
reading bonds ...
5500 bonds
reading angles ...
6000 angles
reading dihedrals ...
6000 dihedrals
reading impropers ...
1500 impropers
5 = max # of 1-2 neighbors
10 = max # of 1-3 neighbors
16 = max # of 1-4 neighbors
20 = max # of special neighbors
special bonds CPU = 0.000718355 secs
read_data CPU = 0.0167146 secs
comm_modify vel yes
group gTOLUENE molecule 1:250
5500 atoms in group gTOLUENE
group gCORES type 1 2 3 4 5 6 7
3750 atoms in group gCORES
group gDRUDES type 8 9 10 11 12
1750 atoms in group gDRUDES
pair_coeff 1 1 0.069998 3.550000 1.620000 # CAT CAT
pair_coeff 1 2 0.069998 3.550000 1.620000 # CAT CAO
pair_coeff 1 3 0.069998 3.550000 1.620000 # CAT CAM
pair_coeff 1 4 0.069998 3.550000 1.620000 # CAT CAP
pair_coeff 1 5 0.067968 3.524911 1.620000 # CAT CTT
pair_coeff 1 6 0.045825 2.931041 0.000000 # CAT HAT
pair_coeff 1 7 0.045825 2.931041 0.000000 # CAT HT
pair_coeff 2 2 0.069998 3.550000 1.620000 # CAO CAO
pair_coeff 2 3 0.069998 3.550000 1.620000 # CAO CAM
pair_coeff 2 4 0.069998 3.550000 1.620000 # CAO CAP
pair_coeff 2 5 0.067968 3.524911 1.620000 # CAO CTT
pair_coeff 2 6 0.045825 2.931041 0.000000 # CAO HAT
pair_coeff 2 7 0.045825 2.931041 0.000000 # CAO HT
pair_coeff 3 3 0.069998 3.550000 1.620000 # CAM CAM
pair_coeff 3 4 0.069998 3.550000 1.620000 # CAM CAP
pair_coeff 3 5 0.067968 3.524911 1.620000 # CAM CTT
pair_coeff 3 6 0.045825 2.931041 0.000000 # CAM HAT
pair_coeff 3 7 0.045825 2.931041 0.000000 # CAM HT
pair_coeff 4 4 0.069998 3.550000 1.620000 # CAP CAP
pair_coeff 4 5 0.067968 3.524911 1.620000 # CAP CTT
pair_coeff 4 6 0.045825 2.931041 0.000000 # CAP HAT
pair_coeff 4 7 0.045825 2.931041 0.000000 # CAP HT
pair_coeff 5 5 0.065997 3.500000 1.620000 # CTT CTT
pair_coeff 5 6 0.044496 2.910326 0.000000 # CTT HAT
pair_coeff 5 7 0.044496 2.910326 0.000000 # CTT HT
pair_coeff 6 6 0.029999 2.420000 0.000000 # HAT HAT
pair_coeff 6 7 0.029999 2.420000 0.000000 # HAT HT
pair_coeff 7 7 0.029999 2.420000 0.000000 # HT HT
pair_coeff 1 8 0.000000 0.000000 1.620000 # CAT D_CAT
pair_coeff 1 9 0.000000 0.000000 1.620000 # CAT D_CAO
pair_coeff 1 10 0.000000 0.000000 1.620000 # CAT D_CAM
pair_coeff 1 11 0.000000 0.000000 1.620000 # CAT D_CAP
pair_coeff 1 12 0.000000 0.000000 1.620000 # CAT D_CTT
pair_coeff 2 8 0.000000 0.000000 1.620000 # CAO D_CAT
pair_coeff 2 9 0.000000 0.000000 1.620000 # CAO D_CAO
pair_coeff 2 10 0.000000 0.000000 1.620000 # CAO D_CAM
pair_coeff 2 11 0.000000 0.000000 1.620000 # CAO D_CAP
pair_coeff 2 12 0.000000 0.000000 1.620000 # CAO D_CTT
pair_coeff 3 8 0.000000 0.000000 1.620000 # CAM D_CAT
pair_coeff 3 9 0.000000 0.000000 1.620000 # CAM D_CAO
pair_coeff 3 10 0.000000 0.000000 1.620000 # CAM D_CAM
pair_coeff 3 11 0.000000 0.000000 1.620000 # CAM D_CAP
pair_coeff 3 12 0.000000 0.000000 1.620000 # CAM D_CTT
pair_coeff 4 8 0.000000 0.000000 1.620000 # CAP D_CAT
pair_coeff 4 9 0.000000 0.000000 1.620000 # CAP D_CAO
pair_coeff 4 10 0.000000 0.000000 1.620000 # CAP D_CAM
pair_coeff 4 11 0.000000 0.000000 1.620000 # CAP D_CAP
pair_coeff 4 12 0.000000 0.000000 1.620000 # CAP D_CTT
pair_coeff 5 8 0.000000 0.000000 1.620000 # CTT D_CAT
pair_coeff 5 9 0.000000 0.000000 1.620000 # CTT D_CAO
pair_coeff 5 10 0.000000 0.000000 1.620000 # CTT D_CAM
pair_coeff 5 11 0.000000 0.000000 1.620000 # CTT D_CAP
pair_coeff 5 12 0.000000 0.000000 1.620000 # CTT D_CTT
pair_coeff 8 8 0.000000 0.000000 1.620000 # D_CAT D_CAT
pair_coeff 8 9 0.000000 0.000000 1.620000 # D_CAT D_CAO
pair_coeff 8 10 0.000000 0.000000 1.620000 # D_CAT D_CAM
pair_coeff 8 11 0.000000 0.000000 1.620000 # D_CAT D_CAP
pair_coeff 8 12 0.000000 0.000000 1.620000 # D_CAT D_CTT
pair_coeff 9 9 0.000000 0.000000 1.620000 # D_CAO D_CAO
pair_coeff 9 10 0.000000 0.000000 1.620000 # D_CAO D_CAM
pair_coeff 9 11 0.000000 0.000000 1.620000 # D_CAO D_CAP
pair_coeff 9 12 0.000000 0.000000 1.620000 # D_CAO D_CTT
pair_coeff 10 10 0.000000 0.000000 1.620000 # D_CAM D_CAM
pair_coeff 10 11 0.000000 0.000000 1.620000 # D_CAM D_CAP
pair_coeff 10 12 0.000000 0.000000 1.620000 # D_CAM D_CTT
pair_coeff 11 11 0.000000 0.000000 1.620000 # D_CAP D_CAP
pair_coeff 11 12 0.000000 0.000000 1.620000 # D_CAP D_CTT
pair_coeff 12 12 0.000000 0.000000 1.620000 # D_CTT D_CTT
neighbor 2.0 bin
variable vTEMP equal 260.0
variable vTEMP_D equal 1.0
variable vPRESS equal 1.0
velocity gCORES create ${vTEMP} 12345
velocity gCORES create 260 12345
velocity gDRUDES create ${vTEMP_D} 12345
velocity gDRUDES create 1 12345
fix fDRUDE all drude C C C C C N N D D D D D
fix fSHAKE gCORES shake 0.0001 20 0 b 4 6 7 8
1250 = # of size 2 clusters
0 = # of size 3 clusters
250 = # of size 4 clusters
0 = # of frozen angles
find clusters CPU = 0.000344038 secs
compute cTEMP_CORE gCORES temp/com
compute cTEMP all temp/drude
fix fDIRECT all drude/transform/direct
fix fNVT1 gCORES nvt temp ${vTEMP} ${vTEMP} 100.0
fix fNVT1 gCORES nvt temp 260 ${vTEMP} 100.0
fix fNVT1 gCORES nvt temp 260 260 100.0
fix fNVT2 gDRUDES nvt temp ${vTEMP_D} ${vTEMP_D} 20.0
fix fNVT2 gDRUDES nvt temp 1 ${vTEMP_D} 20.0
fix fNVT2 gDRUDES nvt temp 1 1 20.0
fix fINVERSE all drude/transform/inverse
fix fMOMENTUM all momentum 100 linear 1 1 1
thermo_style custom step etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press vol c_cTEMP[1] c_cTEMP[2]
thermo 50
timestep 0.5
run 2000
PPPM initialization ...
using 12-bit tables for long-range coulomb (src/kspace.cpp:323)
G vector (1/distance) = 0.382011
grid = 40 40 40
stencil order = 5
estimated absolute RMS force accuracy = 0.0325934
estimated relative force accuracy = 9.8154e-05
using double precision FFTW3
3d grid and FFT values/proc = 34263 16000
Rebuild special list taking Drude particles into account
Old max number of 1-2 to 1-4 neighbors: 19
New max number of 1-2 to 1-4 neighbors: 20 (+1)
Neighbor list info ...
update every 1 steps, delay 10 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 10
ghost atom cutoff = 10
binsize = 5, bins = 8 8 8
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair lj/cut/thole/long, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
Per MPI rank memory allocation (min/avg/max) = 18 | 18 | 18 Mbytes
Step TotEng KinEng Temp PotEng E_bond E_angle E_dihed E_impro E_vdwl E_coul E_long Press Volume c_cTEMP[1] c_cTEMP[2]
0 11086.347 2910.7282 202.07402 8175.6191 6565.4851 20.333365 1.0706727e-06 -3299.85 4972.8631 1306116.6 -1306199.8 40273.68 48631.318 314.89553 3.1777821
50 3563.376 4630.6343 321.47655 -1067.2583 735.72048 604.78665 689.14826 -3277.411 815.58183 1306088.7 -1306723.8 17813.425 48631.318 503.827 0.0087118179
100 3327.4722 4395.1107 305.12559 -1067.6385 597.93175 651.62645 945.4151 -3267.2851 584.58833 1306135.9 -1306715.8 17407.335 48631.318 478.2017 0.0075985638
150 3036.9065 4740.2304 329.08513 -1703.3238 558.64983 619.91284 658.80686 -3278.7837 285.12462 1306173 -1306720 18448.248 48631.318 515.75286 0.0063215227
200 2697.9581 4559.3445 316.52734 -1861.3864 522.09335 593.8913 754.61446 -3273.49 87.660464 1306183.9 -1306730 17888.937 48631.318 496.07143 0.006870622
250 2348.7563 4410.585 306.19988 -2061.8288 506.05006 575.35172 715.55055 -3276.3261 -18.364482 1306177.3 -1306741.4 11592.049 48631.318 479.88562 0.0071741023
300 2019.8256 4040.1415 280.48225 -2020.3159 604.30771 641.66688 693.93802 -3278.5312 -115.73639 1306183.2 -1306749.1 3631.3625 48631.318 439.57995 0.0069886424
350 1699.5169 3944.9851 273.87613 -2245.4682 452.07416 638.06529 658.79116 -3279.6053 -157.07584 1306196.9 -1306754.6 13544.368 48631.318 429.22695 0.0062868216
400 1399.2927 3726.098 258.68014 -2326.8053 457.91943 621.44727 639.39905 -3279.2395 -188.85912 1306185.4 -1306762.8 10792.273 48631.318 405.41133 0.0059340084
450 1120.5246 3518.345 244.25712 -2397.8204 519.48859 584.6579 646.36688 -3278.6685 -289.59912 1306184.1 -1306764.2 2755.5597 48631.318 382.80717 0.005570751
500 868.01643 3359.8794 233.25583 -2491.863 460.73928 581.49568 581.01732 -3281.5544 -252.20168 1306184.3 -1306765.7 6120.364 48631.318 365.56528 0.0058756204
550 637.01646 3214.9521 223.19441 -2577.9356 431.81484 578.87415 540.94046 -3281.5337 -266.36074 1306182.8 -1306764.5 8622.4353 48631.318 349.79661 0.0058589476
600 418.04028 3113.4063 216.14471 -2695.3661 430.45936 538.68158 522.24597 -3283.456 -311.87897 1306174.3 -1306765.8 7068.9275 48631.318 338.74796 0.0059567639
650 218.59562 2930.8439 203.47052 -2712.2482 514.47296 514.2838 551.52551 -3282.0904 -405.37401 1306164.5 -1306769.5 -13.554086 48631.318 318.88481 0.0052667849
700 45.227739 2830.1443 196.47957 -2784.9165 451.11157 498.26426 541.18833 -3282.1427 -375.95321 1306157.1 -1306774.4 3947.6268 48631.318 307.92741 0.0068018884
750 -114.28676 2798.3154 194.26988 -2912.6022 412.75298 503.28782 481.32167 -3284.3411 -393.53987 1306147 -1306779.1 7143.3424 48631.318 304.46466 0.0061596613
800 -263.63827 2694.8085 187.08403 -2958.4468 455.67916 487.49754 476.86576 -3284.3133 -451.95784 1306145 -1306787.2 1185.9474 48631.318 293.20289 0.0058203323
850 -397.71592 2559.1922 177.66903 -2956.9082 458.83313 481.22619 478.31233 -3284.068 -437.26509 1306138.6 -1306792.6 346.80221 48631.318 278.44747 0.0054921238
900 -515.18134 2544.8753 176.67509 -3060.0567 395.0016 457.5898 446.68361 -3285.485 -423.56234 1306145.1 -1306795.3 3712.8594 48631.318 276.88864 0.0074054726
950 -617.28607 2451.1721 170.16985 -3068.4582 383.6428 446.59872 434.46241 -3285.1348 -391.59326 1306142.3 -1306798.7 5429.2191 48631.318 266.69429 0.0057487961
1000 -703.15541 2334.8366 162.09339 -3037.992 424.34957 462.21115 451.80811 -3284.3803 -426.53346 1306133.9 -1306799.3 1137.6144 48631.318 254.03671 0.0053915025
1050 -771.17572 2303.8364 159.94123 -3075.0121 426.21406 436.50744 435.10013 -3285.1938 -411.13999 1306125.6 -1306802.1 1636.9467 48631.318 250.66288 0.0069341736
1100 -822.72317 2283.421 158.52392 -3106.1442 376.67703 447.77728 418.45763 -3286.5919 -377.48075 1306118.9 -1306803.8 4760.4718 48631.318 248.44134 0.0074024122
1150 -857.06061 2259.0725 156.83355 -3116.1331 400.31517 431.65949 457.68078 -3285.1977 -430.47775 1306115.8 -1306805.9 3194.5159 48631.318 245.79231 0.007063706
1200 -875.50971 2238.2632 155.38889 -3113.7729 445.38534 460.97161 432.10511 -3285.4238 -472.46582 1306114.7 -1306809 -653.49627 48631.318 243.52813 0.0071446561
1250 -880.37609 2294.689 159.30619 -3175.0651 411.35498 444.73774 420.06429 -3286.0366 -458.05353 1306104.4 -1306811.5 945.79687 48631.318 249.66483 0.011854196
1300 -871.31122 2284.2295 158.58005 -3155.5407 404.97869 441.75305 426.34479 -3285.4859 -424.79602 1306094.8 -1306813.2 4406.6128 48631.318 248.4856 0.084411062
1350 -816.69657 2325.9211 161.47444 -3142.6176 696.85542 442.50059 431.19981 -3285.7859 -450.27129 1305836.1 -1306813.3 593.86622 48631.318 251.40736 2.9289249
1400 -794.25213 2263.5122 157.14177 -3057.7643 645.6531 466.2204 446.22253 -3285.1821 -420.65316 1305903.7 -1306813.8 1386.3481 48631.318 245.20568 1.8917548
1450 -776.1076 2287.6591 158.81814 -3063.7667 427.0331 479.10417 439.67675 -3285.9536 -395.13308 1306087.6 -1306816.1 2936.7117 48631.318 248.87185 0.061341392
1500 -725.48032 2371.4108 164.63251 -3096.8911 390.03135 464.30817 446.91941 -3284.7808 -393.16302 1306095.4 -1306815.6 3544.3635 48631.318 258.01262 0.011585228
1550 -671.48696 2315.9233 160.78035 -2987.4102 457.04771 500.26018 464.7623 -3284.931 -400.98142 1306091.7 -1306815.3 2052.6204 48631.318 251.97656 0.0094518433
1600 -618.82679 2449.0893 170.02525 -3067.9161 425.47171 474.66369 471.99137 -3284.3677 -430.3224 1306091.3 -1306816.6 441.31257 48631.318 266.46283 0.014263201
1650 -567.82233 2425.2281 168.36872 -2993.0504 421.02008 511.26686 463.22202 -3285.0378 -377.24205 1306088.4 -1306814.7 5198.6214 48631.318 263.83232 0.074728934
1700 -502.46013 2441.8437 169.52224 -2944.3039 642.39863 512.90005 490.39655 -3283.975 -417.39351 1305929.1 -1306817.7 1141.2401 48631.318 264.52268 2.0436397
1750 -459.52135 2499.0847 173.49613 -2958.606 679.34078 505.30943 484.78276 -3284.6269 -384.28217 1305861.7 -1306820.8 1527.0852 48631.318 270.10144 3.1876179
1800 -471.14322 2476.2445 171.91047 -2947.3877 442.48278 530.4566 474.0343 -3284.0957 -371.97492 1306084.3 -1306822.6 3392.0306 48631.318 269.36641 0.1041603
1850 -462.80151 2536.7173 176.10873 -2999.5188 437.07855 525.05914 474.07725 -3283.7908 -422.22641 1306091.6 -1306821.3 1630.1204 48631.318 275.99568 0.016808725
1900 -469.8785 2468.9596 171.40473 -2938.8381 446.7879 531.6128 496.02681 -3284.2335 -395.17163 1306085.7 -1306819.6 3119.2384 48631.318 268.62462 0.014603394
1950 -491.07182 2445.6794 169.78853 -2936.7512 457.80204 527.21208 470.1608 -3283.9622 -391.90163 1306101.9 -1306818 1122.0978 48631.318 266.08919 0.018903661
2000 -518.41243 2418.604 167.90885 -2937.0165 415.92605 536.62844 480.48912 -3283.7876 -363.72641 1306096.2 -1306818.7 4474.8778 48631.318 263.07743 0.13492637
Loop time of 22.3198 on 4 procs for 2000 steps with 5500 atoms
Performance: 3.871 ns/day, 6.200 hours/ns, 89.606 timesteps/s
98.3% CPU use with 4 MPI tasks x 1 OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 11.452 | 12.249 | 12.556 | 13.2 | 54.88
Bond | 0.71352 | 0.72923 | 0.74557 | 1.3 | 3.27
Kspace | 5.7189 | 6.0293 | 6.8195 | 18.6 | 27.01
Neigh | 0.44028 | 0.44044 | 0.44065 | 0.0 | 1.97
Comm | 0.39667 | 0.40817 | 0.41558 | 1.1 | 1.83
Output | 0.0019479 | 0.0032187 | 0.0068657 | 3.7 | 0.01
Modify | 2.413 | 2.4256 | 2.4347 | 0.5 | 10.87
Other | | 0.0349 | | | 0.16
Nlocal: 1375 ave 1407 max 1349 min
Histogram: 1 0 0 1 1 0 0 0 0 1
Nghost: 8082.5 ave 8114 max 8047 min
Histogram: 1 0 0 0 0 2 0 0 0 1
Neighs: 325715 ave 343636 max 314954 min
Histogram: 1 1 0 1 0 0 0 0 0 1
Total # of neighbors = 1302860
Ave neighs/atom = 236.884
Ave special neighs/atom = 15.6364
Neighbor list builds = 44
Dangerous builds = 0
Total wall time: 0:00:22

View File

@ -0,0 +1,22 @@
The example input script sets up a simple FCC crystal using the Lennard-Jones
potential. The script sets up the HMA compute to calculate the energy, pressure
and heat capacity. The output columns are:
1: timestep
2: measured temperature
3: potential energy
4: HMA potential energy
5: pressure
6: HMA pressure
7: HMA heat capacity contribution
Averages of the potential energy (#3 and #4) agree although #4 (HMA) is more precise.
Averages of the pressure (#5 and #6) agree once the ideal gas
contribution is included; #6 (HMA) is more precise.
The heat capacity can be computed from colume #3 (convential) as
Cv = Var(#3)/(k T^2)
With HMA, the heat capacity can be computed from column #4 and #7 as
Cv = #7 + Var(#4)/(k T^2)

View File

@ -0,0 +1,36 @@
# Harmonically mapped average example
units lj
dimension 3
boundary p p p
atom_style atomic
atom_modify map array
# ---------- Create Atoms ----------------------------
lattice fcc 1.0
region box block 0 4 0 4 0 4 units lattice
create_box 1 box
lattice fcc 1.0 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 1 region box
# ---------- Define Interatomic Potential ---------------------
pair_style lj/smooth/linear 3
pair_coeff * * 1.0 1.0
mass 1 1.0
atom_modify sort 0 1
velocity all create 0.1 45678 dist gaussian
compute u all pe
compute p all pressure NULL pair
compute hma all hma settemp u p 9.579586686264458 cv
timestep 0.005
fix settemp all nvt temp 1.0 1.0 0.5
thermo_style custom elapsed temp c_u c_hma[1] c_p c_hma[2] c_hma[3]
thermo_modify format float '%22.15e'
thermo 500
run 20000
thermo 20
run 200000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,62 @@
# LAMMPS input file for 26.5% benzene mole fraction solution
# with 380 benzene and 1000 water molecules,
# using all possible local density potentials
# between benzene and water
#
# Author: Tanmoy Sanyal, Shell Group, UC Santa Barbara
#
# Refer: Sanyal and Shell, JPC-B, 2018, 122 (21), 5678-5693
# Initialize simulation box
dimension 3
boundary p p p
units real
atom_style molecular
# Set potential styles
pair_style hybrid/overlay table spline 500 local/density
# Read molecule data and set initial velocities
read_data benzene_water.data
velocity all create 3.0000e+02 16611 rot yes dist gaussian
# Assign potentials
pair_coeff 1 1 table benzene_water.pair.table PairBB
pair_coeff 1 2 table benzene_water.pair.table PairWW
pair_coeff 2 2 table benzene_water.pair.table PairBW
pair_coeff * * local/density benzene_water.localdensity.table
# Recentering during minimization and equilibration
fix recentering all recenter 0.0 0.0 0.0 units box
# Thermostat & time integration
timestep 2.0
thermo 100
thermo_style custom temp ke pe etotal ebond eangle edihed evdwl
# Minimization
minimize 1.e-4 0.0 10000 10000
# Set up integration parameters
fix timeintegration all nve
fix thermostat all langevin 3.0000e+02 3.0000e+02 1.0000e+02 81890
# Equilibration (for realistic results, run for 5000000 steps)
reset_timestep 0
run 5000
# Turn off recentering during production phase
unfix recentering
# Setup trajectory output
dump myDump all custom 100 benzene_water.lammpstrj.gz id type x y z element
dump_modify myDump element B W
dump_modify myDump sort id
# Production (for realistic results, run for 10000000 steps)
reset_timestep 0
run 1000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,267 @@
LAMMPS (7 Aug 2019)
# LAMMPS input file for 26.5% benzene mole fraction solution
# with 380 benzene and 1000 water molecules,
# using all possible local density potentials
# between benzene and water
#
# Author: Tanmoy Sanyal, Shell Group, UC Santa Barbara
#
# Refer: Sanyal and Shell, JPC-B, 2018, 122 (21), 5678-5693
# Initialize simulation box
dimension 3
boundary p p p
units real
atom_style molecular
# Set potential styles
pair_style hybrid/overlay table spline 500 local/density
# Read molecule data and set initial velocities
read_data benzene_water.data
orthogonal box = (-12.865 -12.865 -64.829) to (12.865 12.865 64.829)
1 by 1 by 8 MPI processor grid
reading atoms ...
1380 atoms
0 = max # of 1-2 neighbors
0 = max # of 1-3 neighbors
0 = max # of 1-4 neighbors
1 = max # of special neighbors
special bonds CPU = 0.000566959 secs
read_data CPU = 0.00661397 secs
velocity all create 3.0000e+02 16611 rot yes dist gaussian
# Assign potentials
pair_coeff 1 1 table benzene_water.pair.table PairBB
WARNING: 33 of 500 force values in table are inconsistent with -dE/dr.
Should only be flagged at inflection points (../pair_table.cpp:483)
WARNING: 150 of 500 distance values in table with relative error
over 1e-06 to re-computed values (../pair_table.cpp:492)
pair_coeff 1 2 table benzene_water.pair.table PairWW
WARNING: 61 of 500 force values in table are inconsistent with -dE/dr.
Should only be flagged at inflection points (../pair_table.cpp:483)
WARNING: 90 of 500 distance values in table with relative error
over 1e-06 to re-computed values (../pair_table.cpp:492)
pair_coeff 2 2 table benzene_water.pair.table PairBW
WARNING: 108 of 500 force values in table are inconsistent with -dE/dr.
Should only be flagged at inflection points (../pair_table.cpp:483)
WARNING: 135 of 500 distance values in table with relative error
over 1e-06 to re-computed values (../pair_table.cpp:492)
pair_coeff * * local/density benzene_water.localdensity.table
# Recentering during minimization and equilibration
fix recentering all recenter 0.0 0.0 0.0 units box
# Thermostat & time integration
timestep 2.0
thermo 100
thermo_style custom temp ke pe etotal ebond eangle edihed evdwl
# Minimization
minimize 1.e-4 0.0 10000 10000
WARNING: Using 'neigh_modify every 1 delay 0 check yes' setting during minimization (../min.cpp:168)
Neighbor list info ...
update every 1 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 15.25
ghost atom cutoff = 15.25
binsize = 7.625, bins = 4 4 18
2 neighbor lists, perpetual/occasional/extra = 2 0 0
(1) pair table, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
(2) pair local/density, perpetual, copy from (1)
attributes: half, newton on
pair build: copy
stencil: none
bin: none
Per MPI rank memory allocation (min/avg/max) = 8.061 | 8.32 | 8.674 Mbytes
Temp KinEng PotEng TotEng E_bond E_angle E_dihed E_vdwl
300 1233.1611 4162.3053 5395.4665 0 0 0 4162.3053
300 1233.1611 2275.526 3508.6871 0 0 0 2275.526
Loop time of 0.352822 on 8 procs for 40 steps with 1380 atoms
71.3% CPU use with 8 MPI tasks x no OpenMP threads
Minimization stats:
Stopping criterion = linesearch alpha is zero
Energy initial, next-to-last, final =
4162.30533361 2208.86525108 2275.52597861
Force two-norm initial, final = 259.364 69.3915
Force max component initial, final = 22.2077 8.31436
Final line search alpha, max atom move = 2.90022e-12 2.41135e-11
Iterations, force evaluations = 40 110
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 0.053192 | 0.23903 | 0.32779 | 17.2 | 67.75
Bond | 9.0599e-06 | 1.6302e-05 | 2.5272e-05 | 0.0 | 0.00
Neigh | 0.00044513 | 0.0023614 | 0.0063851 | 5.1 | 0.67
Comm | 0.015469 | 0.090432 | 0.20295 | 20.0 | 25.63
Output | 0 | 0 | 0 | 0.0 | 0.00
Modify | 0 | 0 | 0 | 0.0 | 0.00
Other | | 0.02098 | | | 5.95
Nlocal: 172.5 ave 348 max 72 min
Histogram: 5 0 0 0 0 0 0 0 1 2
Nghost: 2193.62 ave 4352 max 932 min
Histogram: 3 0 0 2 0 0 2 0 0 1
Neighs: 9700.5 ave 20535 max 3685 min
Histogram: 5 0 0 0 0 0 0 1 0 2
Total # of neighbors = 77604
Ave neighs/atom = 56.2348
Ave special neighs/atom = 0
Neighbor list builds = 2
Dangerous builds = 0
# Set up integration parameters
fix timeintegration all nve
fix thermostat all langevin 3.0000e+02 3.0000e+02 1.0000e+02 81890
# Equilibration (for realistic results, run for 5000000 steps)
reset_timestep 0
run 5000
WARNING: Fix recenter should come after all other integration fixes (../fix_recenter.cpp:131)
Per MPI rank memory allocation (min/avg/max) = 6.936 | 7.195 | 7.552 Mbytes
Temp KinEng PotEng TotEng E_bond E_angle E_dihed E_vdwl
300 1233.1611 2866.9109 4100.0721 0 0 0 2866.9109
273.33541 1123.5553 3983.2007 5106.756 0 0 0 3983.2007
293.68078 1207.1857 3319.6601 4526.8458 0 0 0 3319.6601
314.21462 1291.5908 3389.2178 4680.8086 0 0 0 3389.2178
323.77563 1330.8917 3332.9828 4663.8745 0 0 0 3332.9828
302.5902 1243.8082 3461.7692 4705.5774 0 0 0 3461.7692
295.39324 1214.2249 3411.5727 4625.7976 0 0 0 3411.5727
320.52341 1317.5234 3453.1931 4770.7164 0 0 0 3453.1931
312.00777 1282.5195 3403.3443 4685.8638 0 0 0 3403.3443
307.96774 1265.9128 3429.7809 4695.6937 0 0 0 3429.7809
294.75922 1211.6187 3388.8404 4600.4591 0 0 0 3388.8404
311.24567 1279.3869 3514.9603 4794.3472 0 0 0 3514.9603
306.6152 1260.3531 3447.2011 4707.5542 0 0 0 3447.2011
305.23306 1254.6718 3375.5092 4630.181 0 0 0 3375.5092
321.62889 1322.0675 3460.2581 4782.3256 0 0 0 3460.2581
316.37725 1300.4804 3437.0312 4737.5116 0 0 0 3437.0312
322.90522 1327.3139 3389.1262 4716.44 0 0 0 3389.1262
307.57893 1264.3146 3359.8491 4624.1637 0 0 0 3359.8491
302.22607 1242.3115 3406.1711 4648.4826 0 0 0 3406.1711
302.73997 1244.4239 3220.2582 4464.6821 0 0 0 3220.2582
303.66194 1248.2137 3318.4629 4566.6765 0 0 0 3318.4629
308.73862 1269.0815 3369.5894 4638.671 0 0 0 3369.5894
315.60294 1297.2976 3411.2405 4708.5381 0 0 0 3411.2405
310.0113 1274.3129 3360.1054 4634.4183 0 0 0 3360.1054
302.36229 1242.8714 3326.9845 4569.8559 0 0 0 3326.9845
317.78659 1306.2735 3355.4976 4661.7711 0 0 0 3355.4976
302.50479 1243.4571 3317.6846 4561.1417 0 0 0 3317.6846
304.29249 1250.8056 3423.5068 4674.3124 0 0 0 3423.5068
305.99948 1257.8222 3432.9395 4690.7617 0 0 0 3432.9395
309.93363 1273.9937 3393.657 4667.6506 0 0 0 3393.657
316.14884 1299.5415 3463.0636 4762.6051 0 0 0 3463.0636
300.38817 1234.7567 3309.2495 4544.0062 0 0 0 3309.2495
311.05735 1278.6128 3304.4418 4583.0546 0 0 0 3304.4418
311.11872 1278.865 3291.1891 4570.0542 0 0 0 3291.1891
315.74338 1297.8749 3341.3063 4639.1812 0 0 0 3341.3063
297.5658 1223.1552 3316.3862 4539.5414 0 0 0 3316.3862
311.79033 1281.6257 3357.4556 4639.0813 0 0 0 3357.4556
310.93666 1278.1167 3414.7694 4692.8861 0 0 0 3414.7694
307.37298 1263.468 3337.3889 4600.8569 0 0 0 3337.3889
298.84185 1228.4005 3329.6173 4558.0178 0 0 0 3329.6173
310.54684 1276.5143 3351.0852 4627.5995 0 0 0 3351.0852
300.0871 1233.5191 3302.2315 4535.7506 0 0 0 3302.2315
304.69078 1252.4427 3324.2508 4576.6935 0 0 0 3324.2508
313.50714 1288.6827 3330.4088 4619.0915 0 0 0 3330.4088
329.80018 1355.6559 3301.86 4657.5159 0 0 0 3301.86
304.57609 1251.9713 3365.2938 4617.2652 0 0 0 3365.2938
308.73584 1269.0701 3344.4155 4613.4856 0 0 0 3344.4155
306.90951 1261.5629 3304.4698 4566.0327 0 0 0 3304.4698
308.85761 1269.5707 3392.1511 4661.7218 0 0 0 3392.1511
302.78788 1244.6208 3317.0849 4561.7057 0 0 0 3317.0849
321.68092 1322.2813 3321.5755 4643.8568 0 0 0 3321.5755
Loop time of 16.3061 on 8 procs for 5000 steps with 1380 atoms
Performance: 52.986 ns/day, 0.453 hours/ns, 306.634 timesteps/s
69.6% CPU use with 8 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 2.1872 | 10.542 | 14.607 | 116.7 | 64.65
Bond | 0.00044084 | 0.00069669 | 0.00095081 | 0.0 | 0.00
Neigh | 0.026948 | 0.15225 | 0.44344 | 42.0 | 0.93
Comm | 0.63452 | 4.2953 | 9.49 | 133.9 | 26.34
Output | 0.0016391 | 0.012378 | 0.050919 | 13.9 | 0.08
Modify | 0.45894 | 1.2107 | 4.4629 | 116.4 | 7.42
Other | | 0.09292 | | | 0.57
Nlocal: 172.5 ave 380 max 70 min
Histogram: 5 0 0 0 0 0 0 1 1 1
Nghost: 2213 ave 4440 max 903 min
Histogram: 3 0 0 2 0 0 2 0 0 1
Neighs: 10042.5 ave 24051 max 3500 min
Histogram: 5 0 0 0 0 0 0 1 1 1
Total # of neighbors = 80340
Ave neighs/atom = 58.2174
Ave special neighs/atom = 0
Neighbor list builds = 123
Dangerous builds = 1
# Turn off recentering during production phase
unfix recentering
# Setup trajectory output
dump myDump all custom 100 benzene_water.lammpstrj.gz id type x y z element
dump_modify myDump element B W
dump_modify myDump sort id
# Production (for realistic results, run for 10000000 steps)
reset_timestep 0
run 1000
Per MPI rank memory allocation (min/avg/max) = 8.232 | 8.492 | 8.851 Mbytes
Temp KinEng PotEng TotEng E_bond E_angle E_dihed E_vdwl
321.68092 1322.2813 3784.0834 5106.3647 0 0 0 3784.0834
310.59763 1276.7231 3318.3283 4595.0513 0 0 0 3318.3283
303.39445 1247.1141 3324.1191 4571.2332 0 0 0 3324.1191
311.37275 1279.9092 3305.0901 4584.9993 0 0 0 3305.0901
311.29071 1279.572 3248.216 4527.788 0 0 0 3248.216
314.53456 1292.906 3283.4563 4576.3623 0 0 0 3283.4563
316.52595 1301.0916 3258.9171 4560.0087 0 0 0 3258.9171
318.92447 1310.9509 3235.6256 4546.5765 0 0 0 3235.6256
311.79212 1281.6331 3308.099 4589.7321 0 0 0 3308.099
305.52477 1255.8709 3267.6907 4523.5616 0 0 0 3267.6907
301.07457 1237.5782 3206.3997 4443.9779 0 0 0 3206.3997
Loop time of 4.44139 on 8 procs for 1000 steps with 1380 atoms
Performance: 38.907 ns/day, 0.617 hours/ns, 225.155 timesteps/s
60.8% CPU use with 8 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 0.656 | 2.5078 | 3.5775 | 57.7 | 56.46
Bond | 0.00013375 | 0.0001854 | 0.0002377 | 0.0 | 0.00
Neigh | 0.0048757 | 0.029188 | 0.090432 | 18.9 | 0.66
Comm | 0.51836 | 1.4427 | 2.6285 | 56.9 | 32.48
Output | 0.083084 | 0.089199 | 0.10333 | 2.3 | 2.01
Modify | 0.0087376 | 0.019705 | 0.038437 | 8.4 | 0.44
Other | | 0.3526 | | | 7.94
Nlocal: 172.5 ave 388 max 69 min
Histogram: 5 0 0 0 0 0 0 2 0 1
Nghost: 2207.88 ave 4429 max 896 min
Histogram: 3 0 0 2 0 0 2 0 0 1
Neighs: 10094.1 ave 24847 max 3403 min
Histogram: 5 0 0 0 0 0 1 1 0 1
Total # of neighbors = 80753
Ave neighs/atom = 58.5167
Ave special neighs/atom = 0
Neighbor list builds = 23
Dangerous builds = 0
Total wall time: 0:00:21

View File

@ -0,0 +1,226 @@
LAMMPS (7 Aug 2019)
# LAMMPS input file for 50.0% methanol mole fraction solution
# with 2500 methanol molecules in implicit water.
#
#
# Author: David Rosenberger, van der Vegt Group, TU Darmstadt
#
# Refer: Rosenberger, Sanyal, Shell, van der Vegt, J. Chem. Theory Comput. 15, 2881-2895 (2019)
# Initialize simulation box
dimension 3
boundary p p p
units real
atom_style molecular
# Set potential styles
pair_style hybrid/overlay table spline 500 local/density
# Read molecule data and set initial velocities
read_data methanol_implicit_water.data
orthogonal box = (-31.123 -31.123 -31.123) to (31.123 31.123 31.123)
2 by 2 by 2 MPI processor grid
reading atoms ...
2500 atoms
0 = max # of 1-2 neighbors
0 = max # of 1-3 neighbors
0 = max # of 1-4 neighbors
1 = max # of special neighbors
special bonds CPU = 0.00063014 secs
read_data CPU = 0.00599909 secs
velocity all create 3.0000e+02 12142 rot yes dist gaussian
# Assign potentials
pair_coeff 1 1 table methanol_implicit_water.pair.table PairMM
WARNING: 93 of 500 force values in table are inconsistent with -dE/dr.
Should only be flagged at inflection points (../pair_table.cpp:483)
WARNING: 254 of 500 distance values in table with relative error
over 1e-06 to re-computed values (../pair_table.cpp:492)
pair_coeff * * local/density methanol_implicit_water.localdensity.table
#Recentering during minimization and equilibration
fix recentering all recenter 0.0 0.0 0.0 units box
#Thermostat & time integration
timestep 1.0
thermo 100
thermo_style custom etotal ke pe temp evdwl
#minimization
minimize 1.e-4 0.0 1000 1000
WARNING: Using 'neigh_modify every 1 delay 0 check yes' setting during minimization (../min.cpp:168)
Neighbor list info ...
update every 1 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 17
ghost atom cutoff = 17
binsize = 8.5, bins = 8 8 8
2 neighbor lists, perpetual/occasional/extra = 2 0 0
(1) pair table, perpetual
attributes: half, newton on
pair build: half/bin/newton
stencil: half/bin/3d/newton
bin: standard
(2) pair local/density, perpetual, copy from (1)
attributes: half, newton on
pair build: copy
stencil: none
bin: none
Per MPI rank memory allocation (min/avg/max) = 7.411 | 7.411 | 7.412 Mbytes
TotEng KinEng PotEng Temp E_vdwl
1470.3564 2234.7133 -764.35689 300 -764.35689
46.496766 2234.7133 -2188.2165 300 -2188.2165
7.9030246 2234.7133 -2226.8103 300 -2226.8103
Loop time of 0.463996 on 8 procs for 121 steps with 2500 atoms
91.4% CPU use with 8 MPI tasks x no OpenMP threads
Minimization stats:
Stopping criterion = linesearch alpha is zero
Energy initial, next-to-last, final =
-764.356892369 -2227.85589084 -2226.81026984
Force two-norm initial, final = 134.911 3.83896
Force max component initial, final = 14.1117 1.07422
Final line search alpha, max atom move = 5.06747e-10 5.44356e-10
Iterations, force evaluations = 121 154
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 0.41442 | 0.41976 | 0.42434 | 0.5 | 90.47
Bond | 1.1683e-05 | 2.0713e-05 | 3.5048e-05 | 0.0 | 0.00
Neigh | 0.0084722 | 0.0090862 | 0.010038 | 0.5 | 1.96
Comm | 0.022712 | 0.028157 | 0.034072 | 1.9 | 6.07
Output | 3.1948e-05 | 3.6925e-05 | 6.6996e-05 | 0.0 | 0.01
Modify | 0 | 0 | 0 | 0.0 | 0.00
Other | | 0.006937 | | | 1.50
Nlocal: 312.5 ave 333 max 299 min
Histogram: 2 2 0 0 1 0 2 0 0 1
Nghost: 2546 ave 2580 max 2517 min
Histogram: 1 1 0 3 0 1 0 0 0 2
Neighs: 33215.4 ave 37251 max 29183 min
Histogram: 1 0 0 1 2 2 0 1 0 1
Total # of neighbors = 265723
Ave neighs/atom = 106.289
Ave special neighs/atom = 0
Neighbor list builds = 6
Dangerous builds = 0
#set up integration parameters
fix timeintegration all nve
fix thermostat all langevin 3.0000e+02 3.0000e+02 1.0000e+02 59915
#Equilibration (for realistic results, run for 2000000 steps)
reset_timestep 0
thermo 200
thermo_style custom etotal ke pe temp evdwl
#run equilibration
run 2000
WARNING: Fix recenter should come after all other integration fixes (../fix_recenter.cpp:131)
Per MPI rank memory allocation (min/avg/max) = 6.286 | 6.286 | 6.287 Mbytes
TotEng KinEng PotEng Temp E_vdwl
177.26822 2234.7133 -2057.4451 300 -2057.4451
736.24287 2151.2608 -1415.0179 288.79688 -1415.0179
963.07617 2090.6433 -1127.5671 280.65926 -1127.5671
1148.9049 2173.1327 -1024.2279 291.73309 -1024.2279
1303.6409 2279.8586 -976.21767 306.06055 -976.21767
1355.42 2281.0383 -925.61826 306.21892 -925.61826
1394.5206 2276.2093 -881.68863 305.57064 -881.68863
1346.9764 2215.2973 -868.32091 297.3935 -868.32091
1381.3654 2248.8061 -867.44063 301.89189 -867.44063
1315.8059 2189.3193 -873.51332 293.90606 -873.51332
1314.4456 2209.7431 -895.29752 296.64787 -895.29752
Loop time of 6.38989 on 8 procs for 2000 steps with 2500 atoms
Performance: 27.043 ns/day, 0.887 hours/ns, 312.994 timesteps/s
80.5% CPU use with 8 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 5.2693 | 5.3572 | 5.457 | 2.1 | 83.84
Bond | 0.00028825 | 0.00033835 | 0.00039148 | 0.0 | 0.01
Neigh | 0.0296 | 0.032337 | 0.035071 | 0.9 | 0.51
Comm | 0.64679 | 0.73397 | 0.80847 | 5.2 | 11.49
Output | 0.00033498 | 0.00051582 | 0.0015228 | 0.0 | 0.01
Modify | 0.16395 | 0.18919 | 0.21056 | 3.9 | 2.96
Other | | 0.07636 | | | 1.19
Nlocal: 312.5 ave 337 max 295 min
Histogram: 2 2 0 1 0 0 0 1 1 1
Nghost: 2551.62 ave 2582 max 2525 min
Histogram: 2 1 0 0 1 1 1 0 1 1
Neighs: 33241.8 ave 37659 max 29705 min
Histogram: 2 0 0 2 2 0 0 0 1 1
Total # of neighbors = 265934
Ave neighs/atom = 106.374
Ave special neighs/atom = 0
Neighbor list builds = 21
Dangerous builds = 0
#turn off recentering during production run
unfix recentering
#setup trajectory output
dump myDump all custom 100 methanol_implicit_water.lammpstrj.gz id type x y z element
dump_modify myDump element M
dump_modify myDump sort id
#run production (for realistic results, run for 10000000 steps)
reset_timestep 0
thermo 1000
thermo_style custom etotal ke pe temp evdwl
run 10000
Per MPI rank memory allocation (min/avg/max) = 7.588 | 7.589 | 7.589 Mbytes
TotEng KinEng PotEng Temp E_vdwl
1442.5428 2209.7431 -767.20027 296.64787 -767.20027
1391.8624 2262.6889 -870.82656 303.7556 -870.82656
1375.914 2244.6176 -868.7036 301.3296 -868.7036
1345.9064 2227.2324 -881.32599 298.99573 -881.32599
1379.2334 2278.1156 -898.88222 305.82657 -898.88222
1389.7928 2255.8062 -866.01341 302.83163 -866.01341
1380.4549 2258.2108 -877.75582 303.15443 -877.75582
1380.8489 2256.9432 -876.09428 302.98426 -876.09428
1326.5151 2225.7408 -899.22577 298.79549 -899.22577
1376.6025 2253.0128 -876.41028 302.45662 -876.41028
1331.0008 2218.1033 -887.10258 297.77019 -887.10258
Loop time of 25.4591 on 8 procs for 10000 steps with 2500 atoms
Performance: 33.937 ns/day, 0.707 hours/ns, 392.787 timesteps/s
89.3% CPU use with 8 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 21.635 | 21.916 | 22.237 | 3.9 | 86.08
Bond | 0.0011308 | 0.0013149 | 0.0016932 | 0.5 | 0.01
Neigh | 0.14593 | 0.15675 | 0.16667 | 1.9 | 0.62
Comm | 1.3789 | 1.7502 | 1.9558 | 13.7 | 6.87
Output | 0.34664 | 0.82927 | 1.2013 | 32.8 | 3.26
Modify | 0.24904 | 0.25842 | 0.26907 | 1.2 | 1.02
Other | | 0.5475 | | | 2.15
Nlocal: 312.5 ave 327 max 298 min
Histogram: 2 0 0 1 1 0 1 1 1 1
Nghost: 2575 ave 2601 max 2559 min
Histogram: 2 0 3 1 0 0 0 0 1 1
Neighs: 33223.2 ave 35920 max 30303 min
Histogram: 1 1 1 1 0 1 0 0 0 3
Total # of neighbors = 265786
Ave neighs/atom = 106.314
Ave special neighs/atom = 0
Neighbor list builds = 103
Dangerous builds = 0
Total wall time: 0:00:32

View File

@ -0,0 +1,68 @@
# LAMMPS input file for 50.0% methanol mole fraction solution
# with 2500 methanol molecules in implicit water.
#
#
# Author: David Rosenberger, van der Vegt Group, TU Darmstadt
#
# Refer: Rosenberger, Sanyal, Shell, van der Vegt, J. Chem. Theory Comput. 15, 2881-2895 (2019)
# Initialize simulation box
dimension 3
boundary p p p
units real
atom_style molecular
# Set potential styles
pair_style hybrid/overlay table spline 500 local/density
# Read molecule data and set initial velocities
read_data methanol_implicit_water.data
velocity all create 3.0000e+02 12142 rot yes dist gaussian
# Assign potentials
pair_coeff 1 1 table methanol_implicit_water.pair.table PairMM
pair_coeff * * local/density methanol_implicit_water.localdensity.table
#Recentering during minimization and equilibration
fix recentering all recenter 0.0 0.0 0.0 units box
#Thermostat & time integration
timestep 1.0
thermo 100
thermo_style custom etotal ke pe temp evdwl
#minimization
minimize 1.e-4 0.0 1000 1000
#set up integration parameters
fix timeintegration all nve
fix thermostat all langevin 3.0000e+02 3.0000e+02 1.0000e+02 59915
#Equilibration (for realistic results, run for 2000000 steps)
reset_timestep 0
thermo 200
thermo_style custom etotal ke pe temp evdwl
#run equilibration
run 2000
#turn off recentering during production run
unfix recentering
#setup trajectory output
dump myDump all custom 100 methanol_implicit_water.lammpstrj.gz id type x y z element
dump_modify myDump element M
dump_modify myDump sort id
#run production (for realistic results, run for 10000000 steps)
reset_timestep 0
thermo 1000
thermo_style custom etotal ke pe temp evdwl
run 10000

View File

@ -0,0 +1,509 @@
#LOCAL DENSITY POTENTIALS
1 500
5.3000000e+00 6.3000000e+00
1
1
0.0000000e+00 2.6000000e+01 5.2104208e-02
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4810000e-01
1.4807157e-01
1.4782582e-01
1.4711763e-01
1.4570179e-01
1.4333312e-01
1.3976643e-01
1.3478059e-01
1.2856173e-01
1.2163552e-01
1.1453802e-01
1.0780525e-01
1.0197328e-01
9.7575837e-02
9.4875548e-02
9.3613063e-02
9.3469690e-02
9.4126738e-02
9.5265515e-02
9.6567329e-02
9.7735007e-02
9.8575495e-02
9.8927186e-02
9.8628481e-02
9.7517779e-02
9.5433481e-02
9.2235018e-02
8.8072568e-02
8.3308496e-02
7.8309990e-02
7.3444241e-02
6.9078438e-02
6.5577180e-02
6.3110699e-02
6.1523109e-02
6.0627357e-02
6.0236386e-02
6.0163144e-02
6.0220573e-02
6.0233006e-02
6.0072080e-02
5.9621717e-02
5.8765838e-02
5.7388366e-02
5.5373224e-02
5.2623498e-02
4.9261717e-02
4.5550390e-02
4.1754290e-02
3.8138193e-02
3.4966871e-02
3.2501662e-02
3.0825931e-02
2.9762256e-02
2.9112455e-02
2.8678347e-02
2.8261751e-02
2.7664487e-02
2.6737788e-02
2.5509284e-02
2.4045951e-02
2.2414767e-02
2.0682707e-02
1.8916748e-02
1.7179645e-02
1.5493687e-02
1.3858641e-02
1.2274032e-02
1.0739385e-02
9.2542252e-03
7.8179601e-03
6.4255437e-03
5.0662231e-03
3.7288715e-03
2.4023618e-03
1.0755673e-03
-2.6263394e-04
-1.6141074e-03
-2.9522803e-03
-4.2451362e-03
-5.4606586e-03
-6.5668312e-03
-7.5316377e-03
-8.3294239e-03
-8.9860017e-03
-9.5521117e-03
-1.0078658e-02
-1.0616544e-02
-1.1216675e-02
-1.1929199e-02
-1.2782684e-02
-1.3781467e-02
-1.4928602e-02
-1.6227139e-02
-1.7680132e-02
-1.9290577e-02
-2.1031059e-02
-2.2793537e-02
-2.4456753e-02
-2.5899451e-02
-2.7000374e-02
-2.7638267e-02
-2.7719868e-02
-2.7344330e-02
-2.6691680e-02
-2.5942229e-02
-2.5276286e-02
-2.4874159e-02
-2.4909370e-02
-2.5403835e-02
-2.6230347e-02
-2.7255409e-02
-2.8345523e-02
-2.9367192e-02
-3.0187085e-02
-3.0712590e-02
-3.0944560e-02
-3.0896910e-02
-3.0583557e-02
-3.0018416e-02
-2.9215405e-02
-2.8195478e-02
-2.7020910e-02
-2.5768997e-02
-2.4517057e-02
-2.3342408e-02
-2.2322368e-02
-2.1532406e-02
-2.1015034e-02
-2.0784355e-02
-2.0853543e-02
-2.1235771e-02
-2.1944214e-02
-2.2991215e-02
-2.4278363e-02
-2.5486458e-02
-2.6270119e-02
-2.6283964e-02
-2.5182614e-02
-2.2620686e-02
-1.8367122e-02
-1.2765600e-02
-6.3400224e-03
3.8564733e-04
6.8874449e-03
1.2641406e-02
1.7151899e-02
2.0334733e-02
2.2416173e-02
2.3630118e-02
2.4210466e-02
2.4391115e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02
2.4405000e-02

View File

@ -0,0 +1,107 @@
LAMMPS (7 Aug 2019)
# 3d Lennard-Jones melt
#
# This example requires that the example models provided with
# the kim-api package are installed. see the ./lib/kim/README or
# ./lib/kim/Install.py files for details on how to install these
# example models.
#
variable x index 1
variable y index 1
variable z index 1
variable xx equal 20*$x
variable xx equal 20*1
variable yy equal 20*$y
variable yy equal 20*1
variable zz equal 20*$z
variable zz equal 20*1
kim_init LennardJones_Ar real
#=== BEGIN kim-init ==========================================
units real
#=== END kim-init ============================================
lattice fcc 4.4300
Lattice spacing in x,y,z = 4.43 4.43 4.43
region box block 0 ${xx} 0 ${yy} 0 ${zz}
region box block 0 20 0 ${yy} 0 ${zz}
region box block 0 20 0 20 0 ${zz}
region box block 0 20 0 20 0 20
create_box 1 box
Created orthogonal box = (0 0 0) to (88.6 88.6 88.6)
1 by 1 by 1 MPI processor grid
create_atoms 1 box
Created 32000 atoms
create_atoms CPU = 0.004321 secs
kim_interactions Ar
#=== BEGIN kim_interactions ==================================
pair_style kim LennardJones_Ar
WARNING: KIM Model does not provide `partialParticleEnergy'; energy per atom will be zero (../pair_kim.cpp:974)
WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (../pair_kim.cpp:979)
pair_coeff * * Ar
#=== END kim_interactions ====================================
mass 1 39.95
velocity all create 200.0 232345 loop geom
neighbor 0.3 bin
neigh_modify delay 0 every 1 check yes
fix 1 all nve
#fix 1 all npt temp 1.0 1.0 1.0 iso 1.0 1.0 3.0
run 100
Neighbor list info ...
update every 1 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 8.45
ghost atom cutoff = 8.45
binsize = 4.225, bins = 21 21 21
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair kim, perpetual
attributes: full, newton off, cut 8.45
pair build: full/bin/atomonly
stencil: full/bin/3d
bin: standard
Setting up Verlet run ...
Unit style : real
Current step : 0
Time step : 1
Per MPI rank memory allocation (min/avg/max) = 28.12 | 28.12 | 28.12 Mbytes
Step Temp E_pair E_mol TotEng Press
0 200 145069.63 0 164146.22 128015.94
100 95.179703 154939.42 0 164017.94 131602.75
Loop time of 3.48256 on 1 procs for 100 steps with 32000 atoms
Performance: 2.481 ns/day, 9.674 hours/ns, 28.715 timesteps/s
98.3% CPU use with 1 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 3.0502 | 3.0502 | 3.0502 | 0.0 | 87.59
Neigh | 0.3646 | 0.3646 | 0.3646 | 0.0 | 10.47
Comm | 0.01783 | 0.01783 | 0.01783 | 0.0 | 0.51
Output | 6.8e-05 | 6.8e-05 | 6.8e-05 | 0.0 | 0.00
Modify | 0.034349 | 0.034349 | 0.034349 | 0.0 | 0.99
Other | | 0.01547 | | | 0.44
Nlocal: 32000 ave 32000 max 32000 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 19911 ave 19911 max 19911 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
FullNghs: 4.25375e+06 ave 4.25375e+06 max 4.25375e+06 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Total # of neighbors = 4253750
Ave neighs/atom = 132.93
Neighbor list builds = 3
Dangerous builds = 0
Total wall time: 0:00:03

View File

@ -0,0 +1,113 @@
LAMMPS (7 Aug 2019)
# 3d Lennard-Jones melt
#
# This example requires that the example models provided with
# the kim-api package are installed. see the ./lib/kim/README or
# ./lib/kim/Install.py files for details on how to install these
# example models.
#
variable x index 1
variable y index 1
variable z index 1
variable xx equal 20*$x
variable xx equal 20*1
variable yy equal 20*$y
variable yy equal 20*1
variable zz equal 20*$z
variable zz equal 20*1
kim_init LennardJones_Ar real
#=== BEGIN kim-init ==========================================
units real
#=== END kim-init ============================================
lattice fcc 4.4300
Lattice spacing in x,y,z = 4.43 4.43 4.43
region box block 0 ${xx} 0 ${yy} 0 ${zz}
region box block 0 20 0 ${yy} 0 ${zz}
region box block 0 20 0 20 0 ${zz}
region box block 0 20 0 20 0 20
create_box 1 box
Created orthogonal box = (0 0 0) to (88.6 88.6 88.6)
1 by 2 by 2 MPI processor grid
create_atoms 1 box
Created 32000 atoms
create_atoms CPU = 0.000989 secs
kim_interactions Ar
#=== BEGIN kim_interactions ==================================
pair_style kim LennardJones_Ar
WARNING: KIM Model does not provide `partialParticleEnergy'; energy per atom will be zero (../pair_kim.cpp:974)
WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (../pair_kim.cpp:979)
pair_coeff * * Ar
WARNING: KIM Model does not provide `partialParticleEnergy'; energy per atom will be zero (../pair_kim.cpp:974)
WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (../pair_kim.cpp:979)
#=== END kim_interactions ====================================
mass 1 39.95
velocity all create 200.0 232345 loop geom
WARNING: KIM Model does not provide `partialParticleEnergy'; energy per atom will be zero (../pair_kim.cpp:974)
WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (../pair_kim.cpp:979)
WARNING: KIM Model does not provide `partialParticleEnergy'; energy per atom will be zero (../pair_kim.cpp:974)
WARNING: KIM Model does not provide `partialParticleVirial'; virial per atom will be zero (../pair_kim.cpp:979)
neighbor 0.3 bin
neigh_modify delay 0 every 1 check yes
fix 1 all nve
#fix 1 all npt temp 1.0 1.0 1.0 iso 1.0 1.0 3.0
run 100
Neighbor list info ...
update every 1 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 8.45
ghost atom cutoff = 8.45
binsize = 4.225, bins = 21 21 21
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair kim, perpetual
attributes: full, newton off, cut 8.45
pair build: full/bin/atomonly
stencil: full/bin/3d
bin: standard
Setting up Verlet run ...
Unit style : real
Current step : 0
Time step : 1
Per MPI rank memory allocation (min/avg/max) = 9.791 | 9.791 | 9.791 Mbytes
Step Temp E_pair E_mol TotEng Press
0 200 145069.63 0 164146.22 128015.94
100 95.179703 154939.42 0 164017.94 131602.75
Loop time of 0.924494 on 4 procs for 100 steps with 32000 atoms
Performance: 9.346 ns/day, 2.568 hours/ns, 108.167 timesteps/s
99.6% CPU use with 4 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 0.76434 | 0.76847 | 0.77207 | 0.3 | 83.12
Neigh | 0.09089 | 0.094446 | 0.099911 | 1.1 | 10.22
Comm | 0.038599 | 0.044759 | 0.051381 | 2.1 | 4.84
Output | 3.5e-05 | 4e-05 | 4.9e-05 | 0.0 | 0.00
Modify | 0.009396 | 0.009685 | 0.009941 | 0.2 | 1.05
Other | | 0.00709 | | | 0.77
Nlocal: 8000 ave 8018 max 7967 min
Histogram: 1 0 0 0 0 0 1 0 0 2
Nghost: 9131 ave 9164 max 9113 min
Histogram: 2 0 0 1 0 0 0 0 0 1
Neighs: 0 ave 0 max 0 min
Histogram: 4 0 0 0 0 0 0 0 0 0
FullNghs: 1.06344e+06 ave 1.06594e+06 max 1.05881e+06 min
Histogram: 1 0 0 0 0 0 1 0 0 2
Total # of neighbors = 4253750
Ave neighs/atom = 132.93
Neighbor list builds = 3
Dangerous builds = 0
Total wall time: 0:00:00

View File

@ -0,0 +1,124 @@
LAMMPS (7 Aug 2019)
# 3d Lennard-Jones melt
#
# This example requires that the KIM Portable Model (PM)
# SW_StillingerWeber_1985_Si__MO_405512056662_005
# is installed. This can be done with the command
# kim-api-collections-management install user SW_StillingerWeber_1985_Si__MO_405512056662_005
# If this command does not work, you may need to setup your PATH to find the utility.
# If you installed the kim-api using the LAMMPS CMake build, you can do the following
# (where the current working directory is assumed to be the LAMMPS build directory)
# source ./kim_build-prefix/bin/kim-api-activate
# If you installed the kim-api using the LAMMPS Make build, you can do the following
# (where the current working directory is assumed to be the LAMMPS src directory)
# source ../lib/kim/installed-kim-api-X.Y.Z/bin/kim-api-activate
# (where you should relplace X.Y.Z with the appropriate kim-api version number).
#
# Or, see https://openkim.org/doc/obtaining-models for alternative options.
#
variable x index 1
variable y index 1
variable z index 1
variable xx equal 20*$x
variable xx equal 20*1
variable yy equal 20*$y
variable yy equal 20*1
variable zz equal 20*$z
variable zz equal 20*1
kim_init SW_StillingerWeber_1985_Si__MO_405512056662_005 real
#=== BEGIN kim-init ==========================================
units real
#=== END kim-init ============================================
kim_query a0 get_lattice_constant_cubic crystal=["fcc"] species=["Si"] units=["angstrom"]
#=== BEGIN kim-query =========================================
variable a0 string 4.146581932902336
#=== END kim-query ===========================================
lattice fcc ${a0}
lattice fcc 4.146581932902336
Lattice spacing in x,y,z = 4.14658 4.14658 4.14658
region box block 0 ${xx} 0 ${yy} 0 ${zz}
region box block 0 20 0 ${yy} 0 ${zz}
region box block 0 20 0 20 0 ${zz}
region box block 0 20 0 20 0 20
create_box 1 box
Created orthogonal box = (0 0 0) to (82.9316 82.9316 82.9316)
1 by 1 by 1 MPI processor grid
create_atoms 1 box
Created 32000 atoms
create_atoms CPU = 0.005415 secs
kim_interactions Si
#=== BEGIN kim_interactions ==================================
pair_style kim SW_StillingerWeber_1985_Si__MO_405512056662_005
pair_coeff * * Si
#=== END kim_interactions ====================================
mass 1 39.95
velocity all create 200.0 232345 loop geom
neighbor 0.3 bin
neigh_modify delay 0 every 1 check yes
fix 1 all nve
#fix 1 all npt temp 1.0 1.0 1.0 iso 1.0 1.0 3.0
run 100
Neighbor list info ...
update every 1 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 4.07118
ghost atom cutoff = 4.07118
binsize = 2.03559, bins = 41 41 41
1 neighbor lists, perpetual/occasional/extra = 1 0 0
(1) pair kim, perpetual
attributes: full, newton off, cut 4.07118
pair build: full/bin/atomonly
stencil: full/bin/3d
bin: standard
Setting up Verlet run ...
Unit style : real
Current step : 0
Time step : 1
Per MPI rank memory allocation (min/avg/max) = 10.36 | 10.36 | 10.36 Mbytes
Step Temp E_pair E_mol TotEng Press
0 200 -126084.25 0 -107007.66 1528.8768
100 94.450495 -116016.03 0 -107007.07 2282.2685
Loop time of 74.6055 on 1 procs for 100 steps with 32000 atoms
Performance: 0.116 ns/day, 207.238 hours/ns, 1.340 timesteps/s
98.6% CPU use with 1 MPI tasks x no OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
---------------------------------------------------------------
Pair | 74.446 | 74.446 | 74.446 | 0.0 | 99.79
Neigh | 0.096611 | 0.096611 | 0.096611 | 0.0 | 0.13
Comm | 0.014594 | 0.014594 | 0.014594 | 0.0 | 0.02
Output | 7.9e-05 | 7.9e-05 | 7.9e-05 | 0.0 | 0.00
Modify | 0.03454 | 0.03454 | 0.03454 | 0.0 | 0.05
Other | | 0.01396 | | | 0.02
Nlocal: 32000 ave 32000 max 32000 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 9667 ave 9667 max 9667 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
FullNghs: 450192 ave 450192 max 450192 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Total # of neighbors = 450192
Ave neighs/atom = 14.0685
Neighbor list builds = 3
Dangerous builds = 0
Please see the log.cite file for references relevant to this simulation
Total wall time: 0:01:16

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