Skip to contents

Local Steinhardt parameter on the cutoff shell.

Usage

seams_steinhardt(sys, order, cutoff = 3.5, average = FALSE)

Arguments

sys

A dseams_system.

order

Spherical-harmonic degree. 3, 4, 6, 8, or 12.

cutoff

Neighbour cutoff in angstrom.

average

When true, the second element is the Lechner-Dellago average.

Value

A list of class dseams_order with elements ql and qlbar.

Examples

sys <- seams_system_new()
seams_system_read(sys, dseams_example("ice1h.lammpstrj"))
#> [1] 128
seams_steinhardt(sys, order = 6L)
#> $ql
#>   [1] 0.6266360 0.6266986 0.6263013 0.6246140 0.6274296 0.6252586 0.6256018
#>   [8] 0.6253162 0.6236323 0.6261880 0.6215716 0.6214381 0.6250672 0.6270150
#>  [15] 0.6246780 0.6259131 0.6267999 0.6268784 0.6268780 0.6268652 0.6265048
#>  [22] 0.6260554 0.6274487 0.6274014 0.6264806 0.6240787 0.6254513 0.6267192
#>  [29] 0.6261919 0.6231685 0.6270784 0.6261353 0.6258501 0.6279012 0.6241504
#>  [36] 0.6268695 0.6270277 0.6254352 0.6258586 0.6271491 0.6252407 0.6246078
#>  [43] 0.6243666 0.6229167 0.6271921 0.6233072 0.6280080 0.6243948 0.6265704
#>  [50] 0.6264213 0.6259839 0.6252462 0.6269994 0.6257477 0.6267804 0.6269153
#>  [57] 0.6269748 0.6251765 0.6253340 0.6264044 0.6232379 0.6270012 0.6225998
#>  [64] 0.6275981 0.6248051 0.6265383 0.6266462 0.6282728 0.6256375 0.6266860
#>  [71] 0.6264563 0.6255829 0.6246706 0.6253822 0.6246872 0.6242315 0.6265085
#>  [78] 0.6262382 0.6260037 0.6250102 0.6275115 0.6267418 0.6279799 0.6274361
#>  [85] 0.6274767 0.6258504 0.6261236 0.6263199 0.6251876 0.6268130 0.6265353
#>  [92] 0.6259045 0.6271060 0.6248639 0.6224644 0.6258805 0.6239093 0.6257147
#>  [99] 0.6253712 0.6270932 0.6261180 0.6266938 0.6267803 0.6263229 0.6242457
#> [106] 0.6248214 0.6231123 0.6237407 0.6264125 0.6246764 0.6264023 0.6270006
#> [113] 0.6246844 0.6282795 0.6279152 0.6280333 0.6232915 0.6257728 0.6270314
#> [120] 0.6250445 0.6229923 0.6269685 0.6274870 0.6259467 0.6266217 0.6255326
#> [127] 0.6269943 0.6261753
#> 
#> $qlbar
#> numeric(0)
#> 
#> attr(,"class")
#> [1] "dseams_order" "list"