|
chombo-discharge
|
One additional ranked candidate beyond a query's primary nearest neighbor. More...
#include <CD_NearestNeighborParticleMerge.H>
Public Attributes | |
| ParticleID | candidateID |
| Global id of this candidate. | |
| Real | distanceSquared |
| Squared distance between the query particle and this candidate. | |
| bool | candidateIsLocal |
| True iff this candidate is a locally-valid particle in the SAME patch as the query (i.e. not a ghost) – same meaning as NNMergeEdge::candidateIsLocal. | |
One additional ranked candidate beyond a query's primary nearest neighbor.
Populated only when a_maxFallbackCandidates > 0 is requested from findNearestNeighborCandidates() (see NNMergeEdge::fallbackCandidates). Fetched via a single K-nearest query at generation time (K = 1 + a_maxFallbackCandidates); resolveTrivialTier() walks this pre-fetched, distance-sorted list when a closer candidate is blocked, without re-querying the spatial index.