minor tweaks
This commit is contained in:
@ -107,7 +107,7 @@ I,J pairs must be specified explicitly.
|
||||
All of these pair styles support the :doc:`pair_modify <pair_modify>`
|
||||
shift option for the energy of the pair interaction.
|
||||
|
||||
The :doc:`pair_modify <pair_modify>` table options is not relevant for
|
||||
The :doc:`pair_modify <pair_modify>` table options are not relevant for
|
||||
the Morse pair styles.
|
||||
|
||||
None of these pair styles support the :doc:`pair_modify <pair_modify>`
|
||||
|
||||
@ -114,8 +114,7 @@ void PairMorse::compute(int eflag, int vflag)
|
||||
}
|
||||
|
||||
if (eflag) {
|
||||
evdwl = d0[itype][jtype] * (dexp*dexp - 2.0*dexp) -
|
||||
offset[itype][jtype];
|
||||
evdwl = d0[itype][jtype] * (dexp*dexp - 2.0*dexp) - offset[itype][jtype];
|
||||
evdwl *= factor_lj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user