This class provides a Traversal for the verlet lists container.
More...
#include <VLListIterationTraversal.h>
|
| 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 | isApplicable () const override |
| Checks if the traversal is applicable to the current state of the domain.
|
|
void | initTraversal () override |
| Initializes the traversal.
|
|
void | endTraversal () override |
| Finalizes the traversal.
|
|
void | traverseParticles () override |
| Traverse the particles by pairs, triplets etc.
|
|
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 | isApplicable () 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.
|
|
virtual | ~VLTraversalInterface ()=default |
| Destructor.
|
|
virtual void | setCellsAndNeighborLists (std::vector< ParticleCell > &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.
|
|
|
DataLayoutOption | _dataLayout |
| The datalayout used by this traversal.
|
|
bool | _useNewton3 |
| If this traversal makes use of newton3.
|
|
std::vector< ParticleCell > * | _cells |
| 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 |
| The SoA neighbor list of the verlet lists container.
|
|
This class provides a Traversal for the verlet lists container.
- Template Parameters
-
◆ VLListIterationTraversal()
Constructor for Verlet Traversal.
- Parameters
-
pairwiseFunctor | Functor to be used with this Traversal |
dataLayout | |
useNewton3 | |
◆ endTraversal()
◆ getTraversalType()
Return a enum representing the name of the traversal class.
- Returns
- Enum representing traversal.
Implements autopas::TraversalInterface.
◆ initTraversal()
◆ isApplicable()
Checks if the traversal is applicable to the current state of the domain.
- Returns
- true iff the traversal can be applied.
Implements autopas::TraversalInterface.
◆ traverseParticles()
The documentation for this class was generated from the following file: