Merges macro particles that are close in phase space to reduce computational load.
In particleMerging.param <usage-params-plugins>
is currently one compile-time parameter:
Compile-Time Option | Description |
---|---|
|
Maximum number of active Voronoi cells per supercell. If the number of active Voronoi cells reaches this limit merging events are dropped. |
PIConGPU command line option | Description |
---|---|
|
The ouput periodicity of the plugin. A value of |
--<species>_merger.minParticlesToMerge |
minimal number of macroparticles needed to merge the macroparticle collection into a single macroparticle. |
--<species>_merger.posSpreadThreshold |
Below this threshold of spread in position macroparticles can be merged [unit: cell edge length]. |
|
Below this absolute threshold of spread in momentum macroparticles can be merged [unit: me− ⋅ c]. Disabled for |
|
Below this relative (to mean momentum) threshold of spread in momentum macroparticles can be merged [unit: none]. Disabled for |
--<species>_merger.minMeanEnergy |
minimal mean kinetic energy needed to merge the macroparticle collection into a single macroparticle [unit: keV]. |
absMomSpreadThreshold
andrelMomSpreadThreshold
are mutually exclusiveabsMomSpreadThreshold
is always given in [electron mass * speed of light]!
no extra allocations, but requires an extra particle attribute per species, voronoiCellId
.
no extra allocations.
The particle merger implements a macro particle merging algorithm based on:
Luu, P. T., Tueckmantel, T., & Pukhov, A. (2016). Voronoi particle merging algorithm for PIC codes. Computer Physics Communications, 202, 165-174.