chombo-discharge
Loading...
Searching...
No Matches
Public Attributes | List of all members
ParticleManagement::detail::NNMergeResult< Packed > Struct Template Reference

One resolved merge: the two consumed particles' ids and the newly created merged particle (not yet placed into any patch – see placeMergedParticles()). More...

#include <CD_NearestNeighborParticleMerge.H>

Public Attributes

ParticleID firstID
 Global id of the first consumed particle. For a trivial-tier result, this is the query particle. For a judge-side result, this is the target.
 
ParticleID secondID
 Global id of the second consumed particle. For a trivial-tier result, this is the local candidate. For a judge-side result, this is the winning proposer.
 
MergeParticle< Packed > merged
 The newly created merged particle: weighted-centroid position, weighted-average opaque payload (computed by the caller-supplied combine callback), summed weight, and a FRESH globally-unique id (never colliding with any existing particle's id – see mergeNearestNeighborsTree() for the id-allocation requirement this implies).
 

Detailed Description

template<typename Packed>
struct ParticleManagement::detail::NNMergeResult< Packed >

One resolved merge: the two consumed particles' ids and the newly created merged particle (not yet placed into any patch – see placeMergedParticles()).

Template Parameters
PackedSee MergeParticle.

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