Hi all,
I’m a little confused by the documentation on the Stillinger-Weber pair style. Under the “Mixing, shift …” header, the documentation says
For atom type pairs I,J and I != J, where types I and J correspond to two different element types, mixing is performed by LAMMPS as described above from values in the potential file.
However, this seems inconsistent with two sentences in the last paragraph of the description:
In the literature, however, the three-body parameters are usually defined by simple formulas involving two sets of pair-wise parameters, corresponding to the ij and ik pairs, where i is the center atom.
The user must ensure that the correct combining rule is used to calculate the values of the threebody parameters for alloys.
I read the latter line as saying that I ought to do any mixing calculations myself before entering any three body parameters (rather than entering only two body parameters and allowing LAMMPS to perform some mixing). This’d make the most sense to me, since a three body parameter corresponding to a set of atoms I,J,K is entered for that specific set of atoms I,J,K in the parameter file and should thus be unique. It also looks like no mixing is performed in pair_sw.cpp.
Can anyone familiar with the sw pair style confirm whether I’m right in thinking that that first line is no longer an accurate description of the way LAMMPS handles the sw pair style?
Thanks,
Tyler Harvey