-
Notifications
You must be signed in to change notification settings - Fork 218
Create a new attribute
Marco Garten edited this page Jan 12, 2017
·
2 revisions
You are here: Home > Developer Documentation > Create a new attribute
If you would like to create a new particle attribute that you can then find in the HDF5 or ADIOS output, find the necessary steps below.
- Create either an
alias(newAttribute)
or a
value_identifier(<Type>,<newAttributeName>,<initialValue>)
inspeciesAttributes.param
- Add specializations for
Unit<>
,
UnitDimension<>
,
MacroWeighted<>
,
WeightingPower<>
inspeciesAttributes.unitless
- Use your attribute by creating an identifier for the particle and accessing
particle[newAttribute_]
All wiki entries describe the dev branch. Features may be different in the current master branch.
Before you start please read our README!
PIConGPU is a scientific project. If you present and/or publish scientific results that used PIConGPU, you should set a reference to show your support. Our according up-to-date publication at the time of your publication should be inquired from:
The documentation in this wiki is still not complete and we need your help keeping it up to date. Feel free to help improving this wiki!