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::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 1037 of file scene_query.hpp.

Constructor & Destructor Documentation

◆ SphereBedQuery()

peclet::core::geom::SphereBedQuery::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 )
inline

Definition at line 1039 of file scene_query.hpp.

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

Member Function Documentation

◆ operator()()

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

Definition at line 1064 of file scene_query.hpp.

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

◆ sphereUnion()

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

Definition at line 1068 of file scene_query.hpp.

◆ box()

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

Definition at line 1069 of file scene_query.hpp.

◆ grid()

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

Definition at line 1070 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 1072 of file scene_query.hpp.


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