Counts the primitive rings of the hydrogen-bond network (Franzblau's shortest-path rings).
Usage
primitive_rings(
frame,
cutoff = 3.5,
type = 0L,
graph = "mutual",
max_depth = 6L
)
# S3 method for class 'dseams_frame'
primitive_rings(
frame,
cutoff = 3.5,
type = 0L,
graph = "mutual",
max_depth = 6L
)
# S3 method for class 'dseams_rings'
print(x, ...)
# S3 method for class 'dseams_rings'
summary(object, ...)Value
A data.frame with columns size and n, one row per ring size
that occurs. print() and summary() print that table and return the
data frame, invisibly.
References
Franzblau, D. S. (1991). Computation of ring statistics for network models of solids. Physical Review B 44, 4925. doi:10.1103/PhysRevB.44.4925
Examples
frame <- read_frame(dseams_example("ice1h.lammpstrj"), type = -1L)
primitive_rings(frame, graph = "cutoff", max_depth = 6L)
#> size n
#> 1 6 256