Selector for a container traversal.
More...
#include <TraversalSelector.h>
|
| template<class ParticleCell_T , class Functor_T > |
| static std::unique_ptr< TraversalInterface > | generateTraversal (TraversalOption traversalType, Functor_T &functor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3) |
| | Generates a given Traversal for the given properties.
|
| |
| template<class ParticleCell_T , class PairwiseFunctor_T > |
| static std::unique_ptr< TraversalInterface > | generatePairwiseTraversal (TraversalOption traversalType, PairwiseFunctor_T &pairwiseFunctor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3) |
| | Generates a given pairwise Traversal for the given properties.
|
| |
| template<class ParticleCell_T , class TriwiseFunctor_T > |
| static std::unique_ptr< TraversalInterface > | generateTriwiseTraversal (TraversalOption traversalType, TriwiseFunctor_T &triwiseFunctor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3) |
| | Generates a given triwise Traversal for the given properties.
|
| |
| template<class Particle_T , class Functor_T > |
| static std::unique_ptr< TraversalInterface > | generateTraversalFromConfig (const Configuration &config, Functor_T &functor, const TraversalSelectorInfo &traversalInfo) |
| | Generates a traversal from the given configuration.
|
| |
Selector for a container traversal.
◆ generatePairwiseTraversal()
template<class ParticleCell_T , class PairwiseFunctor_T >
| std::unique_ptr< TraversalInterface > autopas::TraversalSelector::generatePairwiseTraversal |
( |
TraversalOption |
traversalType, |
|
|
PairwiseFunctor_T & |
pairwiseFunctor, |
|
|
const TraversalSelectorInfo & |
traversalInfo, |
|
|
DataLayoutOption |
dataLayout, |
|
|
bool |
useNewton3 |
|
) |
| |
|
static |
Generates a given pairwise Traversal for the given properties.
- Template Parameters
-
| ParticleCell_T | |
| PairwiseFunctor_T | |
- Parameters
-
| traversalType | |
| pairwiseFunctor | |
| traversalInfo | |
| dataLayout | |
| useNewton3 | |
- Returns
- Smartpointer to the traversal.
◆ generateTraversal()
template<class ParticleCell_T , class Functor_T >
| std::unique_ptr< TraversalInterface > autopas::TraversalSelector::generateTraversal |
( |
TraversalOption |
traversalType, |
|
|
Functor_T & |
functor, |
|
|
const TraversalSelectorInfo & |
traversalInfo, |
|
|
DataLayoutOption |
dataLayout, |
|
|
bool |
useNewton3 |
|
) |
| |
|
static |
Generates a given Traversal for the given properties.
- Template Parameters
-
- Parameters
-
| traversalType | |
| functor | |
| traversalInfo | |
| dataLayout | |
| useNewton3 | |
- Returns
- Smartpointer to the traversal.
◆ generateTraversalFromConfig()
template<class Particle_T , class Functor_T >
Generates a traversal from the given configuration.
- Template Parameters
-
- Parameters
-
| config | The configuration to generate the traversal from. |
| functor | The functor to use in the traversal. |
| traversalInfo | Additional information for the traversal. |
- Returns
- Smartpointer to the generated traversal, or nullptr if no valid traversal could be generated.
◆ generateTriwiseTraversal()
template<class ParticleCell_T , class TriwiseFunctor_T >
| std::unique_ptr< TraversalInterface > autopas::TraversalSelector::generateTriwiseTraversal |
( |
TraversalOption |
traversalType, |
|
|
TriwiseFunctor_T & |
triwiseFunctor, |
|
|
const TraversalSelectorInfo & |
traversalInfo, |
|
|
DataLayoutOption |
dataLayout, |
|
|
bool |
useNewton3 |
|
) |
| |
|
static |
Generates a given triwise Traversal for the given properties.
- Template Parameters
-
| ParticleCell_T | |
| TriwiseFunctor_T | |
- Parameters
-
| traversalType | |
| triwiseFunctor | |
| traversalInfo | |
| dataLayout | |
| useNewton3 | |
- Returns
- Smartpointer to the traversal.
The documentation for this class was generated from the following file: