|
| | DSSequentialTraversal (Functor *functor, double cutoff, DataLayoutOption dataLayout, bool useNewton3) |
| | Constructor for the DirectSum 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.
|
| |
| void | setSortingThreshold (size_t sortingThreshold) override |
| | Set the sorting-threshold for traversals that use the CellFunctor If the sum of the number of particles in two cells is greater or equal to that value, the CellFunctor creates a sorted view of the particles to avoid unnecessary distance checks.
|
| |
| | CellTraversal (const std::array< unsigned long, 3 > &dims) |
| | Constructor of CellTraversal.
|
| |
|
virtual | ~CellTraversal ()=default |
| | Destructor of CellTraversal.
|
| |
| virtual void | setCellsToTraverse (std::vector< ParticleCell > &cells) |
| | Sets the cells to iterate over.
|
| |
| virtual void | setSortingThreshold (size_t sortingThreshold)=0 |
| | Set the sorting-threshold for traversals that use the CellFunctor If the sum of the number of particles in two cells is greater or equal to that value, the CellFunctor creates a sorted view of the particles to avoid unnecessary distance checks.
|
| |
|
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.
|
| |
template<class
ParticleCell, class
Functor>
class autopas::DSSequentialTraversal< ParticleCell, Functor >
This sum defines the traversal typically used by the DirectSum container.
- Template Parameters
-