1 "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
3 :link(lws,http://lammps.sandia.gov)
5 :link(lc,Section_commands.html#comm)
9 pair_style yukawa command :h3
10 pair_style yukawa/gpu command :h3
11 pair_style yukawa/omp command :h3
15 pair_style yukawa kappa cutoff :pre
17 kappa = screening length (inverse distance units)
18 cutoff = global cutoff for Yukawa interactions (distance units) :ul
22 pair_style yukawa 2.0 2.5
23 pair_coeff 1 1 100.0 2.3
24 pair_coeff * * 100.0 :pre
28 Style {yukawa} computes pairwise interactions with the formula
30 :c,image(Eqs/pair_yukawa.jpg)
34 The following coefficients must be defined for each pair of atoms
35 types via the "pair_coeff"_pair_coeff.html command as in the examples
36 above, or in the data file or restart files read by the
37 "read_data"_read_data.html or "read_restart"_read_restart.html
38 commands, or by mixing as described below:
40 A (energy*distance units)
41 cutoff (distance units) :ul
43 The last coefficient is optional. If not specified, the global yukawa
48 Styles with a {gpu}, {intel}, {kk}, {omp}, or {opt} suffix are
49 functionally the same as the corresponding style without the suffix.
50 They have been optimized to run faster, depending on your available
51 hardware, as discussed in "Section 5"_Section_accelerate.html
52 of the manual. The accelerated styles take the same arguments and
53 should produce the same results, except for round-off and precision
56 These accelerated styles are part of the GPU, USER-INTEL, KOKKOS,
57 USER-OMP and OPT packages, respectively. They are only enabled if
58 LAMMPS was built with those packages. See the "Making
59 LAMMPS"_Section_start.html#start_3 section for more info.
61 You can specify the accelerated styles explicitly in your input script
62 by including their suffix, or you can use the "-suffix command-line
63 switch"_Section_start.html#start_7 when you invoke LAMMPS, or you can
64 use the "suffix"_suffix.html command in your input script.
66 See "Section 5"_Section_accelerate.html of the manual for
67 more instructions on how to use the accelerated styles effectively.
71 [Mixing, shift, table, tail correction, restart, rRESPA info]:
73 For atom type pairs I,J and I != J, the A coefficient and cutoff
74 distance for this pair style can be mixed. A is an energy value mixed
75 like a LJ epsilon. The default mix value is {geometric}. See the
76 "pair_modify" command for details.
78 This pair style supports the "pair_modify"_pair_modify.html shift
79 option for the energy of the pair interaction.
81 The "pair_modify"_pair_modify.html table option is not relevant
84 This pair style does not support the "pair_modify"_pair_modify.html
85 tail option for adding long-range tail corrections to energy and
88 This pair style writes its information to "binary restart
89 files"_restart.html, so pair_style and pair_coeff commands do not need
90 to be specified in an input script that reads a restart file.
92 This pair style can only be used via the {pair} keyword of the
93 "run_style respa"_run_style.html command. It does not support the
94 {inner}, {middle}, {outer} keywords.
102 "pair_coeff"_pair_coeff.html