Skip to contents

Nine counts, in the same label order as chill_plus(): cubic, hexagonal, water, interfacial, clathrate, interClathrate, unclassified, reCubic, reHex. graph = 0 is the cutoff neighbour list and graph = 1 is the mutual four-neighbour list. rule = 0 is the published CHILL+ rule and rule = 1 is the OVITO variant.

Usage

seams_chill(sys, cutoff = 3.5, type = 0L, graph = 0L, rule = 0L)

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

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

Arguments

sys

A dseams_system.

cutoff

Neighbour cutoff in angstrom.

type

Species filter. Zero keeps every atom.

graph

0 cutoff, 1 mutual.

rule

0 published, 1 OVITO.

x

A dseams_chill vector.

...

Ignored.

object

A dseams_chill vector.

Value

An integer vector of length 9, class dseams_chill. Position i is the population of label i - 1.

Details

print() and summary() show the nine counts and return x, invisibly.

Examples

sys <- seams_system_new()
seams_system_read(sys, dseams_example("ice1h.lammpstrj"))
#> [1] 128
seams_chill(sys)
#> CHILL counts
#>          cubic      hexagonal          water    interfacial      clathrate 
#>              0            128              0              0              0 
#> interClathrate   unclassified        reCubic          reHex 
#>              0              0              0              0