fix typo, cut-n-paste error, and add clarification

This commit is contained in:
Axel Kohlmeyer
2024-01-18 14:32:40 -05:00
parent 90a79d9a4b
commit 425421c1ca
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ angle coefficient. For example `"200.0*theta^2"` represents a
.. versionchanged:: TBD .. versionchanged:: TBD
By default the potential energy U is shifted so that he value U is 0.0 By default the potential energy U is shifted so that the value U is 0.0
for $theta = theta_0$. This is equivalent to using the optional keyword for $theta = theta_0$. This is equivalent to using the optional keyword
*auto_offset*. When using the keyword *no_offset* instead, the *auto_offset*. When using the keyword *no_offset* instead, the
potential energy is not shifted. potential energy is not shifted.

View File

@ -72,7 +72,7 @@ interactions between particles which depend on the distance and have a
cutoff. The potential function must be provided as an expression string cutoff. The potential function must be provided as an expression string
using "r" as the distance variable. With pair style *lepton/coul* one using "r" as the distance variable. With pair style *lepton/coul* one
may additionally reference the charges of the two atoms of the pair with may additionally reference the charges of the two atoms of the pair with
"qi" and "qj", respectively. With pair style *lepton/coul* one may "qi" and "qj", respectively. With pair style *lepton/sphere* one may
instead reference the radii of the two atoms of the pair with "radi" and instead reference the radii of the two atoms of the pair with "radi" and
"radj", respectively; this is half of the diameter that can be set in "radj", respectively; this is half of the diameter that can be set in
:doc:`data files <read_data>` or the :doc:`set command <set>`. :doc:`data files <read_data>` or the :doc:`set command <set>`.
@ -166,8 +166,8 @@ mixing. Thus, expressions for *all* I,J pairs must be specified
explicitly. explicitly.
Only pair style *lepton* supports the :doc:`pair_modify shift <pair_modify>` Only pair style *lepton* supports the :doc:`pair_modify shift <pair_modify>`
option for shifting the energy of the pair interaction so that it is option for shifting the potential energy of the pair interaction so that
0 at the cutoff, pair styles *lepton/coul* and *lepton/sphere* do *not*. it is 0 at the cutoff, pair styles *lepton/coul* and *lepton/sphere* do *not*.
The :doc:`pair_modify table <pair_modify>` options are not relevant for The :doc:`pair_modify table <pair_modify>` options are not relevant for
the these pair styles. the these pair styles.