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

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).
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SphereBedQuery()

Member Function Documentation

◆ operator()()

double peclet::core::geom::SphereBedQuery::operator() ( const Vec< 3 > &  p) const
inline

Definition at line 1080 of file scene_query.hpp.

References peclet::core::geom::evalSphereUnionGrid().

◆ sphereUnion()

const SphereUnionView< double > & peclet::core::geom::SphereBedQuery::sphereUnion ( ) const
inline

Definition at line 1084 of file scene_query.hpp.

◆ box()

const PeriodicBox< double > & peclet::core::geom::SphereBedQuery::box ( ) const
inline

Definition at line 1085 of file scene_query.hpp.

◆ grid()

const CandidateGridView< double > & peclet::core::geom::SphereBedQuery::grid ( ) const
inline

Definition at line 1086 of file scene_query.hpp.

◆ meanListLength()

double peclet::core::geom::SphereBedQuery::meanListLength ( ) const
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.


The documentation for this class was generated from the following file: