Skip to contents

Both degrees use the solid-harmonic kernel. q4bar and q6bar are the Lechner-Dellago averages.

Usage

q4_q6(frame, cutoff = 3.5, type = 0L)

# S3 method for class 'dseams_frame'
q4_q6(frame, cutoff = 3.5, type = 0L)

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

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

Arguments

frame

A dseams_frame.

cutoff

Neighbour cutoff in angstrom.

type

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

x

A dseams_q4_q6 data frame.

...

Ignored.

object

A dseams_q4_q6 data frame.

Value

A data.frame with columns atom, q4, q6, q4bar, q6bar. print() reports the atom count and the mean of q6. summary() reports the mean of q4 and of q6. Both return the data frame, invisibly.

Examples

frame <- read_frame(dseams_example("ice1h.lammpstrj"), type = -1L)
head(q4_q6(frame))
#> q4 q6, 6 atoms, mean q6 0.6261564