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::CandidateGridView< Real > Struct Template Reference

Non-owning candidate grid: uniform bins over [origin, origin+extent), CSR lists of primitive (or instance) indices, plus an ALWAYS list of never-pruned entries. More...

#include <scene_query.hpp>

Public Member Functions

PECLET_HD long binOf (Vec3< Real > p) const
 Flat bin index of a point, or -1 when the point is outside a non-periodic grid's coverage (the caller must fall back to the full scan — exactness before speed).
 

Public Attributes

int nx = 0
 
int ny = 0
 
int nz = 0
 
Real ox = 0
 
Real oy = 0
 
Real oz = 0
 
Real bx = 1
 
Real by = 1
 
Real bz = 1
 
const int * offsets = nullptr
 
const int * items = nullptr
 
const int * always = nullptr
 
int alwaysCount = 0
 
bool wrap = false
 

Detailed Description

template<class Real>
struct peclet::core::geom::CandidateGridView< Real >

Non-owning candidate grid: uniform bins over [origin, origin+extent), CSR lists of primitive (or instance) indices, plus an ALWAYS list of never-pruned entries.

POD, device-copyable.

Definition at line 178 of file scene_query.hpp.

Member Function Documentation

◆ binOf()

Member Data Documentation

◆ nx

◆ ny

◆ nz

◆ ox

◆ oy

◆ oz

◆ bx

◆ by

◆ bz

◆ offsets

◆ items

◆ always

◆ alwaysCount

◆ wrap


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