This class provides the Traversal Interface for the verlet lists container. More...
#include <VLTraversalInterface.h>
Public Member Functions | |
virtual | ~VLTraversalInterface ()=default |
Destructor. | |
virtual void | setCellsAndNeighborLists (std::vector< LinkedParticleCell > &cells, typename VerletListHelpers< typename LinkedParticleCell::ParticleType >::NeighborListAoSType &aosNeighborLists, std::vector< std::vector< size_t, autopas::AlignedAllocator< size_t > > > &soaNeighborLists) |
Sets the information the traversal needs for the iteration. | |
Protected Attributes | |
std::vector< LinkedParticleCell > * | _cells = nullptr |
The cells of the underlying linked cells container of the verlet lists container. | |
VerletListHelpers< typenameLinkedParticleCell::ParticleType >::NeighborListAoSType * | _aosNeighborLists |
The AoS neighbor list of the verlet lists container. | |
std::vector< std::vector< size_t, autopas::AlignedAllocator< size_t > > > * | _soaNeighborLists = nullptr |
The SoA neighbor list of the verlet lists container. | |
This class provides the Traversal Interface for the verlet lists container.
The container only accepts traversals in its computeInteractions() method that implement this interface.
LinkedParticleCell | the type of cells |
|
inlinevirtual |
Sets the information the traversal needs for the iteration.
cells | The cells of the underlying LinkedCells container. |
aosNeighborLists | The AoS neighbor list. |
soaNeighborLists | The SoA neighbor list. |
|
protected |
The AoS neighbor list of the verlet lists container.