|
chombo-discharge
|
A cross-patch merge proposal: one particle's own nearest-neighbor query result, bundled as a self-contained, atomic pair for shipment to whichever rank owns the candidate. More...
#include <CD_NearestNeighborParticleMerge.H>
Public Attributes | |
| MergeParticle< Packed > | source |
| The proposer's own particle (full data) – always locally valid/owned by the sending rank. | |
| ParticleID | targetID |
| Global id of the particle being proposed to. Owned by the receiving (judge) rank. | |
| Real | distanceSquared |
Squared distance between source and the target. Duplicated from the originating NNMergeEdge so the judge never needs to look anything up to sort/compare proposals. | |
A cross-patch merge proposal: one particle's own nearest-neighbor query result, bundled as a self-contained, atomic pair for shipment to whichever rank owns the candidate.
Carries full data for both participants (not a bare id reference) so the judge's decision is self-contained and it can never recombine pieces across different incoming proposals. Routing rule (see generateProposals()): a proposal is always sent to the owner of the querying particle's best candidate, never by any id comparison.
| Packed | See MergeParticle. |