Hexagonal-cage and double-diamond membership
Value
A data.frame with columns atom, cage, name.
print() reports n_ih, n_ic, n_both, and n_water.
summary() counts name. Both return the data frame, invisibly.
Attributes n_ih, n_ic, n_both, n_water are disjoint and match
seams cages (hexagonal only, cubic only, both, water). Per-atom
cage is 0 water, 1 hexagonal, 2 cubic, 3 both.
Examples
frame <- read_frame(dseams_example("ice1h.lammpstrj"), type = -1L)
found <- cages(frame)
attr(found, "n_ih")
#> [1] 128