~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to doc/pair_hybrid.txt

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
following commands would model the Si atoms with Tersoff, the C atoms
101
101
with Tersoff, and the cross-interactions with Lennard-Jones:
102
102
 
103
 
pair_style hybrid lj/cut tersoff tersoff
 
103
pair_style hybrid lj/cut 2.5 tersoff tersoff
104
104
pair_coeff * * tersoff 1 Si.tersoff Si NULL 
105
105
pair_coeff * * tersoff 2 C.tersoff NULL C
106
106
pair_coeff 1 2 lj/cut 1.0 1.5 :pre
259
259
 
260
260
:line
261
261
 
262
 
Styles with a {cuda}, {gpu}, {omp}, or {opt} suffix are functionally
263
 
the same as the corresponding style without the suffix.  They have
264
 
been optimized to run faster, depending on your available hardware, as
265
 
discussed in "Section_accelerate"_Section_accelerate.html of the
266
 
manual.
 
262
Styles with a {cuda}, {gpu}, {intel}, {kk}, {omp}, or {opt} suffix are
 
263
functionally the same as the corresponding style without the suffix.
 
264
They have been optimized to run faster, depending on your available
 
265
hardware, as discussed in "Section_accelerate"_Section_accelerate.html
 
266
of the manual.
267
267
 
268
268
Since the {hybrid} and {hybrid/overlay} styles delegate computation
269
269
to the individual sub-styles, the suffix versions of the {hybrid}
296
296
and J,J is the same, and if the sub-style allows for mixing, then the
297
297
coefficients for I,J can be mixed.  This means you do not have to
298
298
specify a pair_coeff command for I,J since the I,J type pair will be
299
 
assigned automatically to the I,I sub-style and its coefficients
300
 
generated by the mixing rule used by that sub-style.  For the
301
 
{hybrid/overlay} style, there is an additional requirement that both
302
 
the I,I and J,J pairs are assigned to a single sub-style.  See the
303
 
"pair_modify" command for details of mixing rules.  See the See the
304
 
doc page for the sub-style to see if allows for mixing.
 
299
assigned automatically to the sub-style defined for both I,I and J,J
 
300
and its coefficients generated by the mixing rule used by that
 
301
sub-style.  For the {hybrid/overlay} style, there is an additional
 
302
requirement that both the I,I and J,J pairs are assigned to a single
 
303
sub-style.  See the "pair_modify" command for details of mixing rules.
 
304
See the See the doc page for the sub-style to see if allows for
 
305
mixing.
305
306
 
306
307
The hybrid pair styles supports the "pair_modify"_pair_modify.html
307
308
shift, table, and tail options for an I,J pair interaction, if the