|
chombo-discharge
|
Per-point metadata carried by a one-cell spatial index's PointCloudBVH: a particle's global id and whether it is a local-valid particle of the patch the index was built for. More...
#include <CD_NearestNeighborParticleMerge.H>
Public Attributes | |
| ParticleID | globalID |
| Global id of this particle. | |
| bool | isLocal |
| True iff this particle is a locally-valid particle of the patch the enclosing NNCellSpatialIndex was built for (i.e. not a ghost) – same meaning as NNMergeEdge::candidateIsLocal. | |
| int | level |
| This particle's TRUE AMR level (see MergeParticle::level) – needed by findNearestNeighborCandidatesOneCell() to re-check a cross-level candidate's Chebyshev distance in the correct (finer-of-the-two-levels) frame, since the cell buckets themselves are all keyed in the query patch's own level's frame. | |
Per-point metadata carried by a one-cell spatial index's PointCloudBVH: a particle's global id and whether it is a local-valid particle of the patch the index was built for.
Unlike NNSpatialIndex (one whole-patch cloud, ownership decoded from cloud-index position), each one-cell cloud is built independently per cell, so ownership is carried directly as metadata instead.