Accessor for particle fields. More...
Public Member Functions | |
| size_type | capacity () const |
| Get the maximum number of particles. | |
| bool | empty () const |
| Test whether any particles exist. | |
| iterator | get_iterator_from_pointer (element_type *the_pointer) const |
| Get an iterator that refers to a particle. | |
| size_type | size () const |
| Get the number of extant particles. | |
Accessor for particle fields.
This class is supported for GPU execution. Provides bidirectional iterators over the existing particles.
| P | if write-only, particles are not created or destroyed but they are reinitialized |
| size_type size | ( | ) | const |
Get the number of extant particles.
| size_type capacity | ( | ) | const |
Get the maximum number of particles.
|
nodiscard |
Test whether any particles exist.
| iterator get_iterator_from_pointer | ( | element_type * | the_pointer | ) | const |
Get an iterator that refers to a particle.
T must be standard-layout.