|
chombo-discharge
|
Pooled per-round record for one particle: the particle plus its cached boundary-exposure flag. More...
#include <CD_NearestNeighborParticleMerge.H>
Public Attributes | |
| MergeParticle< Packed > | particle |
| The pooled particle (position/weight/ids/level/payload). | |
| bool | exposed = false |
| Whether this local valid particle's cell touches a patch boundary (has ghost targets). Always false for ghosts. | |
Pooled per-round record for one particle: the particle plus its cached boundary-exposure flag.
particlesByID maps every local valid particle and every ghost to one of these. Folding the exposure flag in (it used to live in a separate id->bool map filled in the same gather loop) lets the gather do one hash insert per particle instead of two, and resolveTrivialTier() one lookup per query/candidate instead of two. exposed is meaningful only for local valid particles; ghosts always carry false (a ghost never initiates a query, and candidate-side exposure is gated on locality).
| Packed | Caller-defined payload type (see MergeParticle). |