Skip to contents

Disjoint cage population counts.

Usage

seams_cages(sys, cutoff = 3.5, graph = 2L, k = 4L, complete = FALSE)

Arguments

sys

A dseams_system.

cutoff

Neighbour cutoff in angstrom.

graph

2 seeded, 1 mutual, 0 cutoff. These are the same graphs as "seeded", "mutual", and "cutoff" in cages().

k

Neighbour count for the seeded graph.

complete

When true, run ring-adjacent completion.

Value

An integer vector c(n_hex, n_cubic, n_water, n_both), class dseams_cage_counts.

Examples

sys <- seams_system_new()
seams_system_read(sys, dseams_example("ice1h.lammpstrj"))
#> [1] 128
seams_cages(sys)
#>   n_hex n_cubic n_water  n_both 
#>     128       0       0       0 
#> attr(,"class")
#> [1] "dseams_cage_counts" "integer"