compute_orientorder

This keyword computes the local, rotationally invariant Steinhardt order parameters \(q_l\) and \(w_l\), as described in [Steinhardt1983] and [Mickel2013].

Syntax

compute_orientorder <interval> <mode_type> <mode_parameter> <ndegrees> <degree1> ... <degreeN> [<average> [<wl> [<wlhat>]]]

Parameters

  • interval is the positive sampling interval in MD steps.

  • mode_type selects the neighbors:

    • cutoff: mode_parameter is a positive cutoff distance in Å.

    • nnn: mode_parameter is a positive number of nearest neighbors. If fewer than this number are found within 6 Å, the result for that atom is zero.

  • ndegrees is the positive number of spherical-harmonic degrees to calculate.

  • degree1 through degreeN are non-negative integer degrees.

  • average enables the averaged definition.

  • wl enables the unnormalized invariant \(w_l\).

  • wlhat enables the normalized \(w_l\).

The three optional flags use 0 (disabled, the default) or 1 (enabled). They are positional: supply earlier flags when setting a later one.

Output

The results are written to the orientorder.out file.

Examples

Compute degrees 4, 6, and 8 every 100 steps using a 4 Å cutoff:

compute_orientorder 100 cutoff 4.0 3 4 6 8

Compute degrees 4 and 6 and their unnormalized \(w_l\) values using 12 nearest neighbors:

compute_orientorder 50 nnn 12 2 4 6 0 1

Use the averaged definition and output both forms of \(w_l\):

compute_orientorder 100 nnn 12 2 4 6 1 1 1

Notes

Definitions

For an atom \(i\), the parameter \(q_l(i)\) is defined as:

\[q_l(i) = \sqrt{\frac{4\pi}{2l+1}\sum_{m=-l}^{l}{|q_{lm}(i)|}^2}\]

where the quantity \(q_{lm}(i)\) is obtained by summing the spherical harmonics over the neighbors \(j\) of atom \(i\):

\[q_{lm}(i)=\frac{1}{N_b}\sum_{j=1}^{N_b}Y_{lm}(\theta({\vec{r}_{ij}}), \phi({\vec{r}_{ij}})).\]

If wl is set to 1, the quantity \(w_l\) is computed. This is a weighted average of the \(q_{lm}(i)\) values using Wigner 3-j symbols, yielding a rotationally invariant combination:

\[\begin{split}w_l(i) = \sum \limits_{m_1 + m_2 + m_3 = 0} \begin{pmatrix} l & l & l \\ m_1 & m_2 & m_3 \end{pmatrix} q_{lm_1}(i) q_{lm_2}(i) q_{lm_3}(i).\end{split}\]

If the wlhat parameter is 1, the \(w_l\) order parameter is normalized as:

\[\begin{split}w_l(i) = \frac{ \sum \limits_{m_1 + m_2 + m_3 = 0} \begin{pmatrix} l & l & l \\ m_1 & m_2 & m_3 \end{pmatrix} q_{lm_1}(i) q_{lm_2}(i) q_{lm_3}(i)} {\left(\sum \limits_{m=-l}^{l} |q_{lm}(i)|^2 \right)^{3/2}}.\end{split}\]

If average is 1, the averaging procedure replaces \(q_{lm}(i)\) with \(\overline{q}_{lm}(i)\), which is the mean value of \(q_{lm}(k)\) over all neighbors \(k\) of particle \(i\), including atom \(i\) itself:

\[\overline{q}_{lm}(i) = \frac{1}{N_b+1} \sum \limits_{k=0}^{N_b} q_{lm}(k).\]