| This is part of the function module |
Calculate the moments of the distribution of input quantities
- Examples
- Glossary of keywords and components
- Description of components
By default this Action calculates the following quantities. These quantities can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the quantity required from the list below.
Quantity | Description |
moment | the central moments of the distribution of values. The second central moment would be referenced elsewhere in the input file using label.moment-2, the third as label.moment-3, etc. |
- Compulsory keywords
POWERS | calculate the central moments of the distribution of collective variables. The \(m\)th central moment of a distribution is calculated using \(\frac{1}{N} \sum_{i=1}^N ( s_i - \overline{s} )^m \), where \(\overline{s}\) is the average for the distribution. The POWERS keyword takes a lists of integers as input or a range. Each integer is a value of \(m\). The final calculated values can be referenced using moment- \(m\). |
ARG | the values input to this function |