Skip to contents

Partial radial distribution.

Usage

seams_rdf(sys, rmax = 6, bins = 8L)

Arguments

sys

A dseams_system.

rmax

Maximum radius in angstrom.

bins

Bin count.

Value

A list of class dseams_rdf with r, g, and volume.

Examples

sys <- seams_system_new()
seams_system_read(sys, dseams_example("ice1h.lammpstrj"))
#> [1] 128
seams_rdf(sys)
#> $r
#> [1] 0.375 1.125 1.875 2.625 3.375 4.125 4.875 5.625
#> 
#> $g
#> [1] 0.0000000 0.0000000 0.0000000 2.0032541 0.0000000 0.9385954 1.5479747
#> [8] 0.7435340
#> 
#> $volume
#> [1] 4158.665
#> 
#> attr(,"class")
#> [1] "dseams_rdf" "list"