|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
Owning, host-side accelerated union-of-spheres query. More...
#include <scene_query.hpp>
Public Member Functions | |
| SphereBedQuery (std::vector< double > cx, std::vector< double > cy, std::vector< double > cz, std::vector< double > r, Vec< 3 > origin, Vec< 3 > extent, bool periodic, int nbHint=0) | |
| double | operator() (const Vec< 3 > &p) const |
| const SphereUnionView< double > & | sphereUnion () const |
| const PeriodicBox< double > & | box () const |
| const CandidateGridView< double > & | grid () const |
| double | meanListLength () const |
| Mean candidate-list length (diagnostics for the acceptance report). | |
Owning, host-side accelerated union-of-spheres query.
operator()(Vec<3>) slots directly into AmrFlow::setSolid's templated SdfFn parameter (and inlines there — it is a template, not a std::function), returning values BIT-IDENTICAL to the retired brute-force callback.
Definition at line 1053 of file scene_query.hpp.
|
inline |
Definition at line 1055 of file scene_query.hpp.
References peclet::core::geom::buildSphereCandidateGrid(), peclet::core::geom::SphereUnionView< Real >::cx, peclet::core::geom::SphereUnionView< Real >::cy, peclet::core::geom::SphereUnionView< Real >::cz, peclet::core::geom::SphereUnionView< Real >::equalR, peclet::core::geom::PeriodicBox< Real >::Lx, peclet::core::geom::PeriodicBox< Real >::Ly, peclet::core::geom::PeriodicBox< Real >::Lz, peclet::core::geom::SphereUnionView< Real >::n, peclet::core::geom::PeriodicBox< Real >::on, peclet::core::geom::SphereUnionView< Real >::r, peclet::core::geom::SphereUnionView< Real >::r0, and peclet::core::geom::CandidateGrid< Real >::view().
Definition at line 1080 of file scene_query.hpp.
References peclet::core::geom::evalSphereUnionGrid().
|
inline |
Definition at line 1084 of file scene_query.hpp.
|
inline |
Definition at line 1085 of file scene_query.hpp.
|
inline |
Definition at line 1086 of file scene_query.hpp.
|
inline |
Mean candidate-list length (diagnostics for the acceptance report).
Definition at line 1088 of file scene_query.hpp.
References peclet::core::geom::CandidateGrid< Real >::items, and peclet::core::geom::CandidateGrid< Real >::offsets.