core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::geom::query_detail Namespace Reference

Classes

struct  NodeBound

Functions

template<class Real, class NbAxis>
void layoutBins (CandidateGridView< Real > &m, Vec3< Real > origin, Vec3< Real > extent, const PeriodicBox< Real > &box, NbAxis &&nbAxis)
 Bin layout of a candidate grid over [origin, origin + extent): nbAxis(L) bins along an axis of length L; periodic lookup when the box is.
template<class Real>
void packLists (CandidateGrid< Real > &g, const std::vector< std::vector< int > > &lists, long nbins)
 The per-bin candidate lists packed into the grid's CSR (offsets, items).
template<class Real, class Fn>
void forEachBinNearSphere (const CandidateGridView< Real > m, const SphereUnionView< Real > u, int i, Real reach, Fn &&fn)
 The bin neighbourhood sphere i of u splats: bins of m whose center lies within reach of the sphere center (min-image).
template<class Real>
NodeBound< Real > nodeBound (const SceneView< Real > &sc, int node)

Function Documentation

◆ layoutBins()

◆ packLists()

template<class Real>
void peclet::core::geom::query_detail::packLists ( CandidateGrid< Real > & g,
const std::vector< std::vector< int > > & lists,
long nbins )

The per-bin candidate lists packed into the grid's CSR (offsets, items).

Definition at line 258 of file scene_query.hpp.

References peclet::core::geom::CandidateGrid< Real >::items, and peclet::core::geom::CandidateGrid< Real >::offsets.

Referenced by peclet::core::geom::buildSceneCandidateGrid(), and peclet::core::geom::buildSphereCandidateGrid().

◆ forEachBinNearSphere()

◆ nodeBound()