struct rgpot::nlist::BuffersΒΆ

Caller-owned buffers for one chunk. first and second have the same length, which is the maximum number of pairs this pull writes. shift and vector are empty or three times that length.

#include <NeighbourList.hpp>
 
struct Buffers {
    // fields
 
    std::span<std::int32_t> first;
    std::span<std::int32_t> second;
    std::span<std::int32_t> shift;
    std::span<double> vector;
    std::span<double> distance;
    std::span<std::uint8_t> mask;
};