Skip to contents

ql is the local parameter. qlbar is the Lechner-Dellago neighbour average.

Usage

steinhardt(frame, order_l = 6L, cutoff = 3.5, type = 0L, graph = NULL)

# S3 method for class 'dseams_frame'
steinhardt(frame, order_l = 6L, cutoff = 3.5, type = 0L, graph = NULL)

# S3 method for class 'dseams_steinhardt'
print(x, ...)

# S3 method for class 'dseams_steinhardt'
summary(object, ...)

Arguments

frame

A dseams_frame.

order_l

Spherical-harmonic degree. 3, 4, 6, 8, and 12 are computed. Degrees 4 and 6 on an orthorhombic or restricted-triclinic cell use the solid-harmonic kernel.

cutoff

Neighbour cutoff in angstrom.

type

LAMMPS type. 0 uses the first atom's type.

graph

Neighbour graph. NULL is the cutoff shell. "mutual" is the four nearest neighbours inside cutoff + 1.5. "cutoff" asks for the cutoff shell by name.

x

A dseams_steinhardt data frame.

...

Ignored.

object

A dseams_steinhardt data frame.

Value

A data.frame with columns atom, ql, qlbar. print() reports the atom count and the mean of ql. summary() reports the mean of ql and of qlbar. Both return the data frame, invisibly.

References

Steinhardt, P. J., Nelson, D. R. and Ronchetti, M. (1983). Bond-orientational order in liquids and glasses. Physical Review B 28, 784. doi:10.1103/PhysRevB.28.784

Examples

frame <- read_frame(dseams_example("ice1h.lammpstrj"), type = -1L)
summary(steinhardt(frame, order_l = 6L)$ql)
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
#>  0.6214  0.6251  0.6262  0.6259  0.6269  0.6283