Skip to content

num::neighbor_query_2d

Defined in header <spatial/concepts.hpp>

template <class L, class Scalar = real>
concept neighbor_query_2d =
    field<Scalar> &&
    requires(const L &list, Scalar px, Scalar py) { list.query(px, py, [](int) {}); };

Structure whose query(p, f) calls f(j) for each particle that may be near \(p\).