This class provides a Traversal for the verlet lists container. More...
#include <VLListIterationTraversal.h>


Public Member Functions | |
| VLListIterationTraversal (PairwiseFunctor &pairwiseFunctor, DataLayoutOption dataLayout, bool useNewton3) | |
| Constructor for Verlet Traversal. | |
| TraversalOption | getTraversalType () const override |
| Return a enum representing the name of the traversal class. | |
| bool | isApplicableToDomain () const override |
| VL List iteration is always applicable to the domain. | |
| void | initTraversal () override |
| Initializes the traversal. | |
| void | endTraversal () override |
| Finalizes the traversal. | |
| void | traverseParticles () override |
| Traverse the particles by pairs, triplets etc. | |
Public Member Functions inherited from autopas::TraversalInterface | |
| virtual | ~TraversalInterface ()=default |
| Destructor of TraversalInterface. | |
| TraversalInterface (DataLayoutOption dataLayout, bool useNewton3) | |
| Constructor of the TraversalInterface. | |
| virtual TraversalOption | getTraversalType () const =0 |
| Return a enum representing the name of the traversal class. | |
| virtual bool | isApplicableToDomain () const =0 |
| Checks if the traversal is applicable to the current state of the domain. | |
| virtual void | initTraversal ()=0 |
| Initializes the traversal. | |
| virtual void | traverseParticles ()=0 |
| Traverse the particles by pairs, triplets etc. | |
| virtual void | endTraversal ()=0 |
| Finalizes the traversal. | |
| bool | getUseNewton3 () const |
| Return whether the traversal uses newton 3. | |
| DataLayoutOption | getDataLayout () const |
| Return the data layout option. | |
Public Member Functions inherited from autopas::VLTraversalInterface< ParticleCell > | |
| virtual | ~VLTraversalInterface ()=default |
| Destructor. | |
| virtual void | setCellsAndNeighborLists (std::vector< ParticleCell > &cells, InteractionListGeneratorFunctor< typename LinkedParticleCell::ParticleType, true >::NeighborListAoSType &aosNeighborLists, std::vector< std::vector< size_t, autopas::AlignedAllocator< size_t > > > &soaNeighborLists) |
| Sets the information the traversal needs for the iteration. | |
Additional Inherited Members | |
Protected Attributes inherited from autopas::TraversalInterface | |
| DataLayoutOption | _dataLayout |
| The datalayout used by this traversal. | |
| bool | _useNewton3 |
| If this traversal makes use of newton3. | |
Protected Attributes inherited from autopas::VLTraversalInterface< ParticleCell > | |
| std::vector< ParticleCell > * | _cells |
| The cells of the underlying linked cells container of the verlet lists container. | |
| InteractionListGeneratorFunctor< typenameLinkedParticleCell::ParticleType, true >::NeighborListAoSType * | _aosNeighborLists |
| The AoS neighbor list of the verlet lists container. | |
| std::vector< std::vector< size_t, autopas::AlignedAllocator< size_t > > > * | _soaNeighborLists |
| The SoA neighbor list of the verlet lists container. | |
This class provides a Traversal for the verlet lists container.
| ParticleCell | the type of cells |
| PairwiseFunctor | The functor that defines the interaction of two particles. |
|
inlineexplicit |
Constructor for Verlet Traversal.
| pairwiseFunctor | Functor to be used with this Traversal |
| dataLayout | |
| useNewton3 |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Return a enum representing the name of the traversal class.
Implements autopas::TraversalInterface.
|
inlineoverridevirtual |
Initializes the traversal.
Should be called before traverse().
Implements autopas::TraversalInterface.
|
inlineoverridevirtual |
VL List iteration is always applicable to the domain.
Implements autopas::TraversalInterface.
|
inlineoverridevirtual |
Traverse the particles by pairs, triplets etc.
as determined by the Functor type.
Implements autopas::TraversalInterface.