From 10077b057c99a67233ae08578d63027712ef4eca Mon Sep 17 00:00:00 2001 From: Germain Clavier Date: Fri, 2 May 2025 21:42:33 +0200 Subject: [PATCH] Update fix_ave_moments.rst Emphasized the difference in behavior between this fix and other fix ave/* commands with regards to Nevery, Nrepeat and Nfreq. --- doc/src/fix_ave_moments.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/src/fix_ave_moments.rst b/doc/src/fix_ave_moments.rst index 9ea7e758e9..1ce420a810 100644 --- a/doc/src/fix_ave_moments.rst +++ b/doc/src/fix_ave_moments.rst @@ -109,8 +109,11 @@ time steps that are a multiple of :math:`N_\text{freq}`\ . The average is over a window of up to :math:`N_\text{repeat}` quantities, computed in the preceding portion of the simulation every :math:`N_\text{every}` time steps. -The values need not have any special relation: it is valid to have a window -larger than :math:`N_\text{freq}` as well as the other way around. +.. note:: + + Contrary to some fix ave/* commands, the values of this fix are not restricted by any special relation: + it is valid to have a window larger than :math:`N_\text{freq}` as well as the other way around. + For example, if :math:`N_\text{freq}=100` and :math:`N_\text{repeat}=5` (and :math:`N_\text{every}=1`), then values from time steps 96, 97, 98, 99, and 100 will be used. This means some intervening time steps do not contribute to the result.