Single particle copy. Wraps a tuple copy of a particle. More...
#include <Cabana_ParticleList.hpp>
Public Types | |
using | traits = ParticleTraits<FieldTags...> |
Particle AoSoA member types. | |
using | tuple_type = Cabana::Tuple<typename traits::member_types> |
Particle tuple type. | |
Public Member Functions | |
Particle ()=default | |
Default constructor. | |
KOKKOS_FORCEINLINE_FUNCTION | Particle (const tuple_type &tuple) |
Tuple wrapper constructor. | |
KOKKOS_FORCEINLINE_FUNCTION tuple_type & | tuple () |
Get the underlying tuple. | |
KOKKOS_FORCEINLINE_FUNCTION const tuple_type & | tuple () const |
Get the underlying tuple (const). | |
Public Attributes | |
tuple_type | _tuple |
The tuple this particle wraps. | |
Static Public Attributes | |
static constexpr int | vector_length = 1 |
Vector length (for compatibility with ParticleView). | |
Single particle copy. Wraps a tuple copy of a particle.