Celeritas  0.5.0-56+6b053cd
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::optical::ParticleStateData< W, M > Struct Template Reference

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>
ParticleStateDataoperator= (ParticleStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

Items< real_typeenergy
 
Items< Real3polarization
 Kinetic energy [MeV].
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::optical::ParticleStateData< W, M >

Storage for dynamic particle data.


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