2009-06-05 00:55:43 +08:00
|
|
|
<HTML>
|
|
|
|
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
|
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
2010-10-08 05:20:45 +08:00
|
|
|
<H3>pair_style born command
|
|
|
|
</H3>
|
2011-10-07 01:32:51 +08:00
|
|
|
<H3>pair_style born/omp command
|
|
|
|
</H3>
|
2012-08-21 21:54:09 +08:00
|
|
|
<H3>pair_style born/gpu command
|
|
|
|
</H3>
|
2009-06-05 00:55:43 +08:00
|
|
|
<H3>pair_style born/coul/long command
|
|
|
|
</H3>
|
2011-06-09 05:46:03 +08:00
|
|
|
<H3>pair_style born/coul/long/cuda command
|
|
|
|
</H3>
|
2012-08-21 21:54:09 +08:00
|
|
|
<H3>pair_style born/coul/long/gpu command
|
|
|
|
</H3>
|
2011-10-07 01:32:51 +08:00
|
|
|
<H3>pair_style born/coul/long/omp command
|
|
|
|
</H3>
|
2013-01-22 00:35:54 +08:00
|
|
|
<H3>pair_style born/coul/msm command
|
|
|
|
</H3>
|
|
|
|
<H3>pair_style born/coul/msm/omp command
|
|
|
|
</H3>
|
2011-12-13 23:56:58 +08:00
|
|
|
<H3>pair_style born/coul/wolf command
|
|
|
|
</H3>
|
2012-08-21 21:54:09 +08:00
|
|
|
<H3>pair_style born/coul/wolf/gpu command
|
|
|
|
</H3>
|
2012-01-07 01:38:57 +08:00
|
|
|
<H3>pair_style born/coul/wolf/omp command
|
|
|
|
</H3>
|
2009-06-05 00:55:43 +08:00
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<PRE>pair_style style args
|
2009-06-05 00:55:43 +08:00
|
|
|
</PRE>
|
2013-01-22 00:35:54 +08:00
|
|
|
<UL><LI>style = <I>born</I> or <I>born/coul/long</I> or <I>born/coul/msm</I> or <I>born/coul/wolf</I>
|
2010-10-08 05:20:45 +08:00
|
|
|
<LI>args = list of arguments for a particular style
|
2009-06-05 00:55:43 +08:00
|
|
|
</UL>
|
2010-10-08 05:20:45 +08:00
|
|
|
<PRE> <I>born</I> args = cutoff
|
|
|
|
cutoff = global cutoff for non-Coulombic interactions (distance units)
|
|
|
|
<I>born/coul/long</I> args = cutoff (cutoff2)
|
2011-12-13 23:56:58 +08:00
|
|
|
cutoff = global cutoff for non-Coulombic (and Coulombic if only 1 arg) (distance units)
|
|
|
|
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
2013-01-22 00:35:54 +08:00
|
|
|
<I>born/coul/msm</I> args = cutoff (cutoff2)
|
|
|
|
cutoff = global cutoff for non-Coulombic (and Coulombic if only 1 arg) (distance units)
|
|
|
|
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
2011-12-13 23:56:58 +08:00
|
|
|
<I>born/coul/wolf</I> args = alpha cutoff (cutoff2)
|
|
|
|
alpha = damping parameter (inverse distance units)
|
2010-10-08 05:20:45 +08:00
|
|
|
cutoff = global cutoff for non-Coulombic (and Coulombic if only 1 arg) (distance units)
|
|
|
|
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
|
|
|
</PRE>
|
2009-06-05 00:55:43 +08:00
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<PRE>pair_style born 10.0
|
|
|
|
pair_coeff * * 6.08 0.317 2.340 24.18 11.51
|
|
|
|
pair_coeff 1 1 6.08 0.317 2.340 24.18 11.51
|
|
|
|
</PRE>
|
2009-06-05 00:55:43 +08:00
|
|
|
<PRE>pair_style born/coul/long 10.0
|
|
|
|
pair_style born/coul/long 10.0 8.0
|
|
|
|
pair_coeff * * 6.08 0.317 2.340 24.18 11.51
|
|
|
|
pair_coeff 1 1 6.08 0.317 2.340 24.18 11.51
|
|
|
|
</PRE>
|
2013-01-22 00:35:54 +08:00
|
|
|
<PRE>pair_style born/coul/msm 10.0
|
|
|
|
pair_style born/coul/msm 10.0 8.0
|
|
|
|
pair_coeff * * 6.08 0.317 2.340 24.18 11.51
|
|
|
|
pair_coeff 1 1 6.08 0.317 2.340 24.18 11.51
|
|
|
|
</PRE>
|
2011-12-13 23:56:58 +08:00
|
|
|
<PRE>pair_style born/coul/wolf 0.25 10.0
|
|
|
|
pair_style born/coul/wolf 0.25 10.0 9.0
|
|
|
|
pair_coeff * * 6.08 0.317 2.340 24.18 11.51
|
|
|
|
pair_coeff 1 1 6.08 0.317 2.340 24.18 11.51
|
|
|
|
</PRE>
|
2009-06-05 00:55:43 +08:00
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>The <I>born</I> style computes the Born-Mayer-Huggins or Tosi/Fumi
|
|
|
|
potential described in <A HREF = "#FumiTosi">(Fumi and Tosi)</A>, given by
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
|
|
|
<CENTER><IMG SRC = "Eqs/pair_born.jpg">
|
|
|
|
</CENTER>
|
|
|
|
<P>where sigma is an interaction-dependent length parameter, rho is an
|
2010-10-08 05:20:45 +08:00
|
|
|
ionic-pair dependent length parameter, and Rc is the cutoff.
|
|
|
|
</P>
|
2013-01-22 00:35:54 +08:00
|
|
|
<P>The styles with <I>coul/long</I> or <I>coul/msm</I> add a Coulombic term as
|
|
|
|
described for the <A HREF = "pair_lj.html">lj/cut</A> pair styles. An additional
|
|
|
|
damping factor is applied to the Coulombic term so it can be used in
|
|
|
|
conjunction with the <A HREF = "kspace_style.html">kspace_style</A> command and its
|
|
|
|
<I>ewald</I> or <I>pppm</I> of <I>msm</I> option. The Coulombic cutoff specified for
|
|
|
|
this style means that pairwise interactions within this distance are
|
|
|
|
computed directly; interactions outside that distance are computed in
|
|
|
|
reciprocal space.
|
2010-10-08 05:20:45 +08:00
|
|
|
</P>
|
2013-01-22 00:35:54 +08:00
|
|
|
<P>If one cutoff is specified for the <I>born/coul/long</I> and
|
|
|
|
<I>born/coul/msm</I> style, it is used for both the A,C,D and Coulombic
|
|
|
|
terms. If two cutoffs are specified, the first is used as the cutoff
|
|
|
|
for the A,C,D terms, and the second is the cutoff for the Coulombic
|
|
|
|
term.
|
2011-12-13 23:56:58 +08:00
|
|
|
</P>
|
|
|
|
<P>The <I>born/coul/wolf</I> style adds a Coulombic term as described for the
|
|
|
|
Wolf potential in the <A HREF = "pair_coul.html">coul/wolf</A> pair style.
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>Note that these potentials are related to the <A HREF = "pair_born.html">Buckingham
|
|
|
|
potential</A>.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
|
|
|
<P>The following coefficients must be defined for each pair of atoms
|
|
|
|
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the examples
|
|
|
|
above, or in the data file or restart files read by the
|
|
|
|
<A HREF = "read_data.html">read_data</A> or <A HREF = "read_restart.html">read_restart</A>
|
|
|
|
commands, or by mixing as described below:
|
|
|
|
</P>
|
|
|
|
<UL><LI>A (energy units)
|
|
|
|
<LI>rho (distance units)
|
|
|
|
<LI>sigma (distance units)
|
|
|
|
<LI>C (energy units * distance units^6)
|
|
|
|
<LI>D (energy units * distance units^8)
|
|
|
|
<LI>cutoff (distance units)
|
|
|
|
</UL>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>The second coefficient, rho, must be greater than zero.
|
|
|
|
</P>
|
2009-06-05 00:55:43 +08:00
|
|
|
<P>The last coefficient is optional. If not specified, the global A,C,D
|
2010-10-08 05:20:45 +08:00
|
|
|
cutoff specified in the pair_style command is used.
|
|
|
|
</P>
|
2012-10-19 23:36:54 +08:00
|
|
|
<P>For <I>born/coul/long</I> and <I>born/coul/wolf</I> no Coulombic cutoff can be
|
2011-12-13 23:56:58 +08:00
|
|
|
specified for an individual I,J type pair. All type pairs use the
|
|
|
|
same global Coulombic cutoff specified in the pair_style command.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
2014-08-15 00:30:25 +08:00
|
|
|
<P>Styles with a <I>cuda</I>, <I>gpu</I>, <I>intel</I>, <I>kk</I>, <I>omp</I>, or <I>opt</I> 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 <A HREF = "Section_accelerate.html">Section_accelerate</A>
|
|
|
|
of the manual. The accelerated styles take the same arguments and
|
|
|
|
should produce the same results, except for round-off and precision
|
|
|
|
issues.
|
2011-06-09 05:46:03 +08:00
|
|
|
</P>
|
2014-08-15 00:30:25 +08:00
|
|
|
<P>These accelerated styles are part of the USER-CUDA, GPU, USER-INTEL,
|
|
|
|
KOKKOS, USER-OMP and OPT packages, respectively. They are only
|
|
|
|
enabled if LAMMPS was built with those packages. See the <A HREF = "Section_start.html#start_3">Making
|
|
|
|
LAMMPS</A> section for more info.
|
2011-06-09 05:46:03 +08:00
|
|
|
</P>
|
|
|
|
<P>You can specify the accelerated styles explicitly in your input script
|
2012-01-28 07:39:14 +08:00
|
|
|
by including their suffix, or you can use the <A HREF = "Section_start.html#start_7">-suffix command-line
|
2011-08-26 00:46:23 +08:00
|
|
|
switch</A> when you invoke LAMMPS, or you can
|
|
|
|
use the <A HREF = "suffix.html">suffix</A> command in your input script.
|
2011-06-09 05:46:03 +08:00
|
|
|
</P>
|
2011-12-14 04:35:35 +08:00
|
|
|
<P>See <A HREF = "Section_accelerate.html">Section_accelerate</A> of the manual for
|
|
|
|
more instructions on how to use the accelerated styles effectively.
|
2011-06-09 05:46:03 +08:00
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
2009-06-05 00:55:43 +08:00
|
|
|
<P><B>Mixing, shift, table, tail correction, restart, rRESPA info</B>:
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>These pair styles do not support mixing. Thus, coefficients for all
|
2009-06-05 00:55:43 +08:00
|
|
|
I,J pairs must be specified explicitly.
|
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>These styles support the <A HREF = "pair_modify.html">pair_modify</A> shift option
|
2009-06-05 00:55:43 +08:00
|
|
|
for the energy of the exp(), 1/r^6, and 1/r^8 portion of the pair
|
|
|
|
interaction.
|
|
|
|
</P>
|
2012-10-19 23:36:54 +08:00
|
|
|
<P>The <I>born/coul/long</I> pair style supports the
|
|
|
|
<A HREF = "pair_modify.html">pair_modify</A> table option ti tabulate the
|
|
|
|
short-range portion of the long-range Coulombic interaction.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>These styles support the pair_modify tail option for adding long-range
|
|
|
|
tail corrections to energy and pressure.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>Thess styles writes thei information to binary <A HREF = "restart.html">restart</A>
|
|
|
|
files, so pair_style and pair_coeff commands do not need to be
|
|
|
|
specified in an input script that reads a restart file.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
2010-10-08 05:20:45 +08:00
|
|
|
<P>These styles can only be used via the <I>pair</I> keyword of the <A HREF = "run_style.html">run_style
|
|
|
|
respa</A> command. They do not support the <I>inner</I>,
|
|
|
|
<I>middle</I>, <I>outer</I> keywords.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<P><B>Restrictions:</B>
|
|
|
|
</P>
|
2011-08-27 02:53:00 +08:00
|
|
|
<P>The <I>born/coul/long</I> style is part of the KSPACE package. It is only
|
|
|
|
enabled if LAMMPS was built with that package (which it is by
|
2011-08-26 00:46:23 +08:00
|
|
|
default). See the <A HREF = "Section_start.html#start_3">Making LAMMPS</A> section
|
|
|
|
for more info.
|
2009-06-05 00:55:43 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "pair_coeff.html">pair_coeff</A>, <A HREF = "pair_buck.html">pair_style buck</A>
|
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<A NAME = "FumiTosi"></A>
|
|
|
|
|
|
|
|
<P>Fumi and Tosi, J Phys Chem Solids, 25, 31 (1964),
|
|
|
|
Fumi and Tosi, J Phys Chem Solids, 25, 45 (1964).
|
|
|
|
</P>
|
|
|
|
</HTML>
|