|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
Storage for dynamic particle data. More...
#include <ParticleData.hh>
Public Types | |
| using | Real3 = Array< real_type, 3 > |
| template<class T > | |
| using | Items = celeritas::StateCollection< T, W, M > |
Public Member Functions | |
| CELER_FUNCTION | operator bool () const |
| Check whether the interface is assigned. | |
| CELER_FUNCTION size_type | size () const |
| State size. | |
| template<Ownership W2, MemSpace M2> | |
| ParticleStateData & | operator= (ParticleStateData< W2, M2 > &other) |
| Assign from another set of data. | |
Public Attributes | |
| Items< real_type > | energy |
| Items< Real3 > | polarization |
| Kinetic energy [MeV]. | |
Storage for dynamic particle data.