struct seams::KnnOptions

Overview

Knobs for a k-nearest neighbour list. More…

#include <include/seams.hpp>
 
struct KnnOptions {
    // fields
 
    int k = 4;
    double cutoff = 3.5;
    int species = 0;
    bool mutual = false;
};

Detailed Documentation

Knobs for a k-nearest neighbour list.

Fields

int k = 4

Positive neighbour count.

double cutoff = 3.5

Nominal cutoff, Angstrom.

Candidates lie inside cutoff + 1.5.

int species = 0

Species filter.

bool mutual = false

Keep only pairs that name each other.