Skip to content

Particle attributes

n01r edited this page Sep 25, 2014 · 11 revisions

You are here: Home > PIConGPU User Documentation > Particle attributes


Available Particle Attributes

The attributes of all particles can be found in $PICSRC/src/picongpu/include/simulation_defines/param/particleDefinition.param.

Attribute name Description
position_pic
momentum
momentumPrev (only with the Radiation plugin)
weighting
radiationFlag (only with the Radiation plugin)
globalCellIdx_pic

There are two other values that can be accessed by particle[<identifier>_]. The first can be identified by multiMask which encodes numerically if the thread "is" a particle or not and if so: if it leaves the supercell in a specific direction. The second is localCellIdx which describes the position of a particle inside a supercell by a linear index.
See the definition and usage in $PICSRC/src/libPMacc/include/particles/Identifier.hpp

Continue with "Plugins".


From #142

What particle attributes are there and how can they be accessed?

  • a picturesque "tree" of all the available namespaces,a short explanation of their substructure and where to find what