From e8c2dcc693f1f0a46a02dd989de2e35e56cd5119 Mon Sep 17 00:00:00 2001 From: jkelowitt <58435724+jkelowitt@users.noreply.github.com> Date: Tue, 28 Jun 2022 16:25:35 -0600 Subject: [PATCH] Fix doc example and doc note. --- doc/src/pair_sw.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/src/pair_sw.rst b/doc/src/pair_sw.rst index a249856371..4f51be7a6a 100644 --- a/doc/src/pair_sw.rst +++ b/doc/src/pair_sw.rst @@ -49,8 +49,9 @@ Examples pair_coeff * * tmd.sw.mod Mo S S pair_style hybrid sw sw threebody off - pair_coeff * * mW_xL.sw mW NULL - pair_coeff * 2 mW_xL.sw mW xL + pair_coeff * * sw 1 mW_xL.sw mW NULL + pair_coeff 1 2 sw 2 mW_xL.sw mW xL + pair_coeff 2 2 sw 2 mW_xL.sw mW xL Description """"""""""" @@ -154,7 +155,7 @@ potentials. .. note:: - When the *threebody on* keyword is used, multiple pair_coeff commands may + When the *threebody off* keyword is used, multiple pair_coeff commands may be used to specific the pairs of atoms which don't require three-body term. In these cases, the first 2 arguments are not required to be \* \*.