Skip to contents

Closed cages for one ring census

Usage

signature_cages(frame, spec = "512", cutoff = 3.5, type = 0L, graph = "cutoff")

# S3 method for class 'dseams_frame'
signature_cages(frame, spec = "512", cutoff = 3.5, type = 0L, graph = "cutoff")

Arguments

frame

A dseams_frame.

spec

Ring census such as "512" (twelve pentagons, the sI small cage) or "5:12,6:2".

cutoff

Neighbour cutoff in angstrom.

type

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

graph

"cutoff" or "mutual".

Value

An integer vector c(n_cages, n_atoms).

Examples

frame <- read_frame(dseams_example("exampleTraj.lammpstrj"), type = 2L)
signature_cages(frame, "512")
#> [1] 0 0