AutoPas  3.0.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
autopas::TraversalSelector Class Reference

Selector for a container traversal. More...

#include <TraversalSelector.h>

Static Public Member Functions

template<class ParticleCell_T , class Functor_T >
static std::unique_ptr< TraversalInterfacegenerateTraversal (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< TraversalInterfacegeneratePairwiseTraversal (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< TraversalInterfacegenerateTriwiseTraversal (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< TraversalInterfacegenerateTraversalFromConfig (const Configuration &config, Functor_T &functor, const TraversalSelectorInfo &traversalInfo)
 Generates a traversal from the given configuration.
 

Detailed Description

Selector for a container traversal.

Member Function Documentation

◆ 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
ParticleCell_T
Functor_T
Parameters
traversalType
functor
traversalInfo
dataLayout
useNewton3
Returns
Smartpointer to the traversal.

◆ generateTraversalFromConfig()

template<class Particle_T , class Functor_T >
std::unique_ptr< TraversalInterface > autopas::TraversalSelector::generateTraversalFromConfig ( const Configuration config,
Functor_T &  functor,
const TraversalSelectorInfo traversalInfo 
)
static

Generates a traversal from the given configuration.

Template Parameters
Particle_T
Functor_T
Parameters
configThe configuration to generate the traversal from.
functorThe functor to use in the traversal.
traversalInfoAdditional 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: