|
core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
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) |
| void peclet::core::geom::query_detail::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.
Definition at line 242 of file scene_query.hpp.
References peclet::core::geom::CandidateGridView< Real >::bx, peclet::core::geom::CandidateGridView< Real >::by, peclet::core::geom::CandidateGridView< Real >::bz, peclet::core::geom::CandidateGridView< Real >::nx, peclet::core::geom::CandidateGridView< Real >::ny, peclet::core::geom::CandidateGridView< Real >::nz, peclet::core::geom::PeriodicBox< Real >::on, peclet::core::geom::CandidateGridView< Real >::ox, peclet::core::geom::CandidateGridView< Real >::oy, peclet::core::geom::CandidateGridView< Real >::oz, peclet::core::geom::CandidateGridView< Real >::wrap, peclet::core::Vec3< Real >::x, peclet::core::Vec3< Real >::y, and peclet::core::Vec3< Real >::z.
Referenced by peclet::core::geom::buildSceneCandidateGrid(), and peclet::core::geom::buildSphereCandidateGrid().
| 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().
| void peclet::core::geom::query_detail::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).
Enumerated as an index box around the sphere, wrapped when periodic; fn(bin) per bin.
Definition at line 274 of file scene_query.hpp.
References peclet::core::geom::CandidateGridView< Real >::bx, peclet::core::geom::CandidateGridView< Real >::by, peclet::core::geom::CandidateGridView< Real >::bz, peclet::core::geom::SphereUnionView< Real >::cx, peclet::core::geom::SphereUnionView< Real >::cy, peclet::core::geom::SphereUnionView< Real >::cz, peclet::core::detail::hdFloor(), peclet::core::geom::CandidateGridView< Real >::nx, peclet::core::geom::CandidateGridView< Real >::ny, peclet::core::geom::CandidateGridView< Real >::nz, peclet::core::geom::CandidateGridView< Real >::ox, peclet::core::geom::CandidateGridView< Real >::oy, peclet::core::geom::CandidateGridView< Real >::oz, and peclet::core::geom::CandidateGridView< Real >::wrap.
Referenced by peclet::core::geom::buildSphereCandidateGrid().
|
inline |
Definition at line 477 of file scene_query.hpp.
References peclet::core::add(), peclet::core::geom::ShapeNode< Real >::aux0, peclet::core::geom::ShapeNode< Real >::aux1, peclet::core::geom::query_detail::NodeBound< Real >::c, peclet::core::geom::query_detail::NodeBound< Real >::certified, peclet::core::geom::kBox, peclet::core::geom::kCapsule, peclet::core::geom::kCone, peclet::core::geom::kCsgBase, peclet::core::geom::kEllipsoid, peclet::core::geom::kHollowCylinder, peclet::core::geom::kHollowCylinderShell, peclet::core::geom::ShapeNode< Real >::kind, peclet::core::geom::kSphere, peclet::core::geom::kSuperquadric, peclet::core::geom::kTorus, peclet::core::geom::kUnion, nodeBound(), peclet::core::geom::SceneView< Real >::nodeCount, peclet::core::geom::SceneView< Real >::nodes, peclet::core::geom::ShapeNode< Real >::params, peclet::core::geom::query_detail::NodeBound< Real >::r, peclet::core::rotate(), peclet::core::scale(), peclet::core::sub(), peclet::core::geom::ShapeNode< Real >::transform, peclet::core::Vec3< Real >::x, peclet::core::Vec3< Real >::y, and peclet::core::Vec3< Real >::z.
Referenced by peclet::core::geom::instanceBound(), and nodeBound().