2006-09-22 00:22:34 +08:00
|
|
|
"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
|
|
|
|
|
|
|
|
pair_style lj/charmm/coul/charmm command :h3
|
2011-06-09 05:46:03 +08:00
|
|
|
pair_style lj/charmm/coul/charmm/cuda command :h3
|
2006-09-22 00:22:34 +08:00
|
|
|
pair_style lj/charmm/coul/charmm/implicit command :h3
|
2011-06-09 05:46:03 +08:00
|
|
|
pair_style lj/charmm/coul/charmm/implicit/cuda command :h3
|
2006-09-22 00:22:34 +08:00
|
|
|
pair_style lj/charmm/coul/long command :h3
|
2011-06-09 05:46:03 +08:00
|
|
|
pair_style lj/charmm/coul/long/cuda command :h3
|
2011-01-12 23:25:57 +08:00
|
|
|
pair_style lj/charmm/coul/long/gpu command :h3
|
2007-02-10 05:40:32 +08:00
|
|
|
pair_style lj/charmm/coul/long/opt command :h3
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
pair_style style args :pre
|
|
|
|
|
2011-06-09 05:26:06 +08:00
|
|
|
style = {lj/charmm/coul/charmm} or {lj/charmm/coul/charmm/implicit} or {lj/charmm/coul/long}
|
2006-09-22 00:22:34 +08:00
|
|
|
args = list of arguments for a particular style :ul
|
|
|
|
{lj/charmm/coul/charmm} args = inner outer (inner2) (outer2)
|
|
|
|
inner, outer = global switching cutoffs for Lennard Jones (and Coulombic if only 2 args)
|
|
|
|
inner2, outer2 = global switching cutoffs for Coulombic (optional)
|
|
|
|
{lj/charmm/coul/charmm/implicit} args = inner outer (inner2) (outer2)
|
|
|
|
inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args)
|
|
|
|
inner2, outer2 = global switching cutoffs for Coulombic (optional)
|
|
|
|
{lj/charmm/coul/long} args = inner outer (cutoff)
|
|
|
|
inner, outer = global switching cutoffs for LJ (and Coulombic if only 2 args)
|
|
|
|
cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 2 args) :pre
|
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
pair_style lj/charmm/coul/charmm 8.0 10.0
|
|
|
|
pair_style lj/charmm/coul/charmm 8.0 10.0 7.0 9.0
|
|
|
|
pair_coeff * * 100.0 2.0
|
|
|
|
pair_coeff 1 1 100.0 2.0 150.0 3.5 :pre
|
|
|
|
|
|
|
|
pair_style lj/charmm/coul/charmm/implicit 8.0 10.0
|
|
|
|
pair_style lj/charmm/coul/charmm/implicit 8.0 10.0 7.0 9.0
|
|
|
|
pair_coeff * * 100.0 2.0
|
|
|
|
pair_coeff 1 1 100.0 2.0 150.0 3.5 :pre
|
|
|
|
|
|
|
|
pair_style lj/charmm/coul/long 8.0 10.0
|
|
|
|
pair_style lj/charmm/coul/long 8.0 10.0 9.0
|
|
|
|
pair_coeff * * 100.0 2.0
|
|
|
|
pair_coeff 1 1 100.0 2.0 150.0 3.5 :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
The {lj/charmm} styles compute LJ and Coulombic interactions with an
|
|
|
|
additional switching function S(r) that ramps the energy and force
|
2008-02-20 05:47:37 +08:00
|
|
|
smoothly to zero between an inner and outer cutoff. It is a widely
|
2006-09-28 03:12:31 +08:00
|
|
|
used potential in the "CHARMM"_http://www.scripps.edu/brooks MD code.
|
|
|
|
See "(MacKerell)"_#MacKerell for a description of the CHARMM force
|
|
|
|
field.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
:c,image(Eqs/pair_charmm.jpg)
|
|
|
|
|
|
|
|
Both the LJ and Coulombic terms require an inner and outer cutoff.
|
|
|
|
They can be the same for both formulas or different depending on
|
|
|
|
whether 2 or 4 arguments are used in the pair_style command. In each
|
|
|
|
case, the inner cutoff distance must be less than the outer cutoff.
|
|
|
|
It it typical to make the difference between the 2 cutoffs about 1.0
|
|
|
|
Angstrom.
|
|
|
|
|
|
|
|
Style {lj/charmm/coul/charmm/implicit} computes the same formulas as
|
|
|
|
style {lj/charmm/coul/charmm} except that an additional 1/r term is
|
|
|
|
included in the Coulombic formula. The Coulombic energy thus varies
|
|
|
|
as 1/r^2. This is effectively a distance-dependent dielectric term
|
|
|
|
which is a simple model for an implicit solvent with additional
|
|
|
|
screening. It is designed for use in a simulation of an unsolvated
|
|
|
|
biomolecule (no explicit water molecules).
|
|
|
|
|
|
|
|
Style {lj/charmm/coul/long} computes the same formulas as style
|
|
|
|
{lj/charmm/coul/charmm} except that an additional damping factor is
|
|
|
|
applied to the Coulombic term, as in the discussion for pair style
|
|
|
|
{lj/cut/coul/long}. Only one Coulombic cutoff is specified for
|
|
|
|
{lj/charmm/coul/long}; if only 2 arguments are used in the pair_style
|
|
|
|
command, then the outer LJ cutoff is used as the single Coulombic
|
|
|
|
cutoff.
|
|
|
|
|
|
|
|
The following coefficients must be defined for each pair of atoms
|
|
|
|
types via the "pair_coeff"_pair_coeff.html command as in the examples
|
|
|
|
above, or in the data file or restart files read by the
|
|
|
|
"read_data"_read_data.html or "read_restart"_read_restart.html
|
2007-06-26 08:03:39 +08:00
|
|
|
commands, or by mixing as described below:
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
epsilon (energy units)
|
|
|
|
sigma (distance units)
|
|
|
|
epsilon_14 (energy units)
|
|
|
|
sigma_14 (distance units) :ul
|
|
|
|
|
|
|
|
Note that sigma is defined in the LJ formula as the zero-crossing
|
|
|
|
distance for the potential, not as the energy minimum at 2^(1/6)
|
|
|
|
sigma.
|
|
|
|
|
|
|
|
The latter 2 coefficients are optional. If they are specified, they
|
|
|
|
are used in the LJ formula between 2 atoms of these types which are
|
|
|
|
also first and fourth atoms in any dihedral. No cutoffs are specified
|
|
|
|
because this CHARMM force field does not allow varying cutoffs for
|
|
|
|
individual atom pairs; all pairs use the global cutoff(s) specified in
|
|
|
|
the pair_style command.
|
|
|
|
|
2007-06-26 08:03:39 +08:00
|
|
|
:line
|
|
|
|
|
2011-06-09 05:26:06 +08:00
|
|
|
Styles with a {cuda}, {gpu}, 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 in "this section"_Section_accelerate.html of the manual.
|
|
|
|
The accelerated styles take the same arguments and should produce the
|
|
|
|
same results, except for round-off and precision issues.
|
2011-01-12 23:25:57 +08:00
|
|
|
|
2011-08-27 02:53:00 +08:00
|
|
|
These accelerated styles are part of the USER-CUDA, GPU, and OPT
|
2011-06-09 05:26:06 +08:00
|
|
|
packages respectively. They are only enabled if LAMMPS was built with
|
2011-08-26 00:46:23 +08:00
|
|
|
those packages. See the "Making LAMMPS"_Section_start.html#start_3
|
2011-06-09 05:26:06 +08:00
|
|
|
section for more info.
|
2011-01-12 23:25:57 +08:00
|
|
|
|
2011-06-09 05:26:06 +08:00
|
|
|
You can specify the accelerated styles explicitly in your input script
|
|
|
|
by including their suffix, or you can use the "-suffix command-line
|
2011-08-26 00:46:23 +08:00
|
|
|
switch"_Section_start.html#start_6 when you invoke LAMMPS, or you can
|
|
|
|
use the "suffix"_suffix.html command in your input script.
|
2011-01-12 23:25:57 +08:00
|
|
|
|
2011-06-09 05:26:06 +08:00
|
|
|
See "this section"_Section_accelerate.html of the manual for more
|
|
|
|
instructions on how to use the accelerated styles effectively.
|
2011-01-12 23:25:57 +08:00
|
|
|
|
|
|
|
:line
|
|
|
|
|
2008-01-22 02:12:34 +08:00
|
|
|
[Mixing, shift, table, tail correction, restart, rRESPA info]:
|
2007-06-26 08:03:39 +08:00
|
|
|
|
|
|
|
For atom type pairs I,J and I != J, the epsilon, sigma, epsilon_14,
|
|
|
|
and sigma_14 coefficients for all of the lj/charmm pair styles can be
|
2010-12-24 00:12:21 +08:00
|
|
|
mixed. The default mix value is {arithmetic} to coincide with the
|
|
|
|
usual settings for the CHARMM force field. See the "pair_modify"
|
|
|
|
command for details.
|
2007-06-26 08:03:39 +08:00
|
|
|
|
|
|
|
None of the lj/charmm pair styles support the
|
|
|
|
"pair_modify"_pair_modify.html shift option, since the Lennard-Jones
|
|
|
|
portion of the pair interaction is smoothed to 0.0 at the cutoff.
|
|
|
|
|
2011-06-09 05:26:06 +08:00
|
|
|
The {lj/charmm/coul/long} style supports the
|
|
|
|
"pair_modify"_pair_modify.html table option since it can tabulate the
|
|
|
|
short-range portion of the long-range Coulombic interaction.
|
2007-06-26 08:03:39 +08:00
|
|
|
|
|
|
|
None of the lj/charmm pair styles support the
|
|
|
|
"pair_modify"_pair_modify.html tail option for adding long-range tail
|
|
|
|
corrections to energy and pressure, since the Lennard-Jones portion of
|
|
|
|
the pair interaction is smoothed to 0.0 at the cutoff.
|
|
|
|
|
|
|
|
All of the lj/charmm pair styles write their 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.
|
|
|
|
|
2007-10-04 08:21:14 +08:00
|
|
|
The lj/charmm/coul/long pair style supports the use of the {inner},
|
|
|
|
{middle}, and {outer} keywords of the "run_style respa"_run_style.html
|
|
|
|
command, meaning the pairwise forces can be partitioned by distance at
|
|
|
|
different levels of the rRESPA hierarchy. The other styles only
|
|
|
|
support the {pair} keyword of run_style respa. See the
|
|
|
|
"run_style"_run_style.html command for details.
|
|
|
|
|
2007-06-26 08:03:39 +08:00
|
|
|
:line
|
2007-04-20 07:25:27 +08:00
|
|
|
|
2006-09-22 00:22:34 +08:00
|
|
|
[Restrictions:]
|
|
|
|
|
|
|
|
The {lj/charmm/coul/charmm} and {lj/charmm/coul/charmm/implicit}
|
2011-08-27 02:53:00 +08:00
|
|
|
styles are part of the MOLECULE package. The {lj/charmm/coul/long}
|
|
|
|
style is part of the KSPACE package. They are only enabled if LAMMPS
|
|
|
|
was built with those packages. See the "Making
|
2011-08-26 00:46:23 +08:00
|
|
|
LAMMPS"_Section_start.html#start_3 section for more info. Note that
|
2011-08-27 02:53:00 +08:00
|
|
|
the MOLECULE and KSPACE packages are installed by default.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"pair_coeff"_pair_coeff.html
|
|
|
|
|
|
|
|
[Default:] none
|
2006-09-28 03:12:31 +08:00
|
|
|
|
|
|
|
:line
|
|
|
|
|
|
|
|
:link(MacKerell)
|
|
|
|
[(MacKerell)] MacKerell, Bashford, Bellott, Dunbrack, Evanseck, Field,
|
|
|
|
Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998).
|