|
| | VLListIterationC27Traversal (PairwiseFunctor_T &pairwiseFunctor, DataLayoutOption dataLayout, bool useNewton3, const std::array< unsigned long, 3 > &cellsPerDim) |
| | Constructor for colored Verlet Traversal.
|
| |
| TraversalOption | getTraversalType () const override |
| | Return a enum representing the name of the traversal class.
|
| |
| bool | isApplicableToDomain () const override |
| | VL List iteration C27 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.
|
| |
|
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.
|
| |
|
virtual | ~VLTraversalInterface ()=default |
| | Destructor.
|
| |
| virtual void | setCellsAndNeighborLists (std::vector< ParticleCell_T > &cells, VerletListHelpers< ParticleType >::NeighborListCRS &neighborList, const std::unordered_map< const ParticleType *, size_t > &particleToIndex, const std::vector< ParticleType * > &indexToParticle) |
| | 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_T > * | _cells |
| | The cells of the underlying linked cells container of the verlet lists container.
|
| |
|
VerletListHelpers< ParticleType >::NeighborListCRS * | _neighborList |
| | The flat CRS neighbor list.
|
| |
| const std::unordered_map< const ParticleType *, size_t > * | _particleToIndex |
| | Map from particle pointers to their dense SoA index.
|
| |
| const std::vector< ParticleType * > * | _indexToParticle |
| | Vector mapping SoA indices to particle pointers.
|
| |
template<class ParticleCell_T, class PairwiseFunctor_T>
class autopas::VLListIterationC27Traversal< ParticleCell_T, PairwiseFunctor_T >
This class provides a colored Traversal for the verlet lists container.
- Template Parameters
-
| ParticleCell_T | the type of cells |
| PairwiseFunctor_T | The functor that defines the interaction of two particles. |