From 1bdaf9c99fa57ec66efeba52dc2e89916b7bfdb1 Mon Sep 17 00:00:00 2001 From: Stan Gerald Moore Date: Mon, 11 Jul 2022 10:22:08 -0600 Subject: [PATCH] Small tweak to clarify doc page --- doc/src/pair_modify.rst | 11 +++++++---- src/neigh_request.h | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/src/pair_modify.rst b/doc/src/pair_modify.rst index 506867f2a3..e843acee16 100644 --- a/doc/src/pair_modify.rst +++ b/doc/src/pair_modify.rst @@ -287,9 +287,10 @@ the *pair* keyword. Use *no* to disable, or *yes* to enable. The *neigh/trim* keyword controls whether an explicit cutoff is set for each neighbor list requested by the individual pair sub-styles when using :doc:`pair hybrid\*/overlay `. When -this keyword is set to *no*, then the cutoff of the pair sub-style -neighbor will be set to the master list distance, and if possible the -neighbor list will be copied directly from another list. When this +this keyword is set to *no*, then the cutoff of each pair sub-style +neighbor list will be set equal to the largest cutoff, even if a +shorter cutoff is specified for a particular sub-style. If possible +the neighbor list will be copied directly from another list. When this keyword is set to *yes* then the cutoff of the neighbor list will be explicitly set to the value requested by the pair sub-style, and if possible the list will be created by trimming from another list with a @@ -297,7 +298,9 @@ longer cutoff, otherwise a new neighbor list will be created with the specified cutoff. The *yes* option can be faster when there are multiple pair styles with different cutoffs since the number of pair-wise distance checks between neighbors is reduced (but the time -required to build the neighbor lists is increased). +required to build the neighbor lists is increased). The *no* option +could be faster when two or more neighbor lists have similar (but not +exactly the same) cutoffs. .. note:: diff --git a/src/neigh_request.h b/src/neigh_request.h index 9dfc03f7f0..13b5b11466 100644 --- a/src/neigh_request.h +++ b/src/neigh_request.h @@ -102,7 +102,7 @@ class NeighRequest : protected Pointers { int off2on; // 1 if this is newton on list, but skips from off list int copy; // 1 if this list copied from another list - int trim; // 1 if this list copied from another list and then trimmed + int trim; // 1 if this list trimmed from another list int copylist; // index of list to copy from int halffull; // 1 if half list computed from another full list