|
| SoAView () |
| Default constructor of SoAView to allow storing it in containers.
|
|
| SoAView (SoA< SoAArraysType > *soa, size_t startIndex, size_t endIndex) |
| Constructs a view on soa that starts at startIndex (inclusive) and ends at endIndex (exclusive).
|
|
| SoAView (SoA< SoAArraysType > *soa) |
| Constructs a SoAView on the whole content of soa .
|
|
| SoAView (SoA< SoAArraysType > &soa) |
| Implicit constructor that converts a SoA to SoAView.
|
|
template<size_t attribute> |
auto | begin () |
| Returns a pointer to the given attribute vector.
|
|
template<size_t attribute> |
auto | begin () const |
| Returns a pointer to the given attribute vector const.
|
|
size_t | size () const |
| Returns the number of particles in the view.
|
|
template<class SoAArraysType>
class autopas::SoAView< SoAArraysType >
View on a fixed part of a SoA between a start index and an end index.
It is the user`s responsibility to ensure that modifications to the underlying SoA don't let the start index get bigger than the highest index in the SoA, or the end index higher than the number of entries in the SoA.
- Template Parameters
-
SoAArraysType | The SoAArrayType of the SoA. |