class nneigh::CutoffSkin

Overview

In-situ cutoff list. More…

#include <src/include/internal/neighbours.hpp>
 
class CutoffSkin {
public:
    // construction
 
    CutoffSkin(double cutoff, double skin);
 
    // methods
 
    bool update(const molSys::PointCloud<molSys::Point<double>, double>& yCloud, const std::vector<int>* subset = nullptr, bool half = false);
    bool lastReused() const;
    const std::vector<int>& offsets() const;
    const std::vector<int>& cols() const;
};

Detailed Documentation

In-situ cutoff list.

Candidates are built at cutoff + skin and reused while every atom and the box have moved by at most skin/2. The filtered list matches a fresh build at cutoff.