seams_neighbours_knn Interface

interface
public function seams_neighbours_knn(sys, k, cutoff, typ, mutual, out) bind(C, name="seams_neighbours_knn")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: sys
integer(kind=c_int), value :: k
real(kind=c_double), value :: cutoff
integer(kind=c_int), value :: typ
integer(kind=c_int), value :: mutual
type(c_ptr), intent(out) :: out

Return Value integer(kind=c_int)

Description

k-nearest neighbour list. mutual nonzero keeps the mutual graph.