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

TraversalSelector is used for the construction of the list in the applyBuildFunctor method. More...

#include <TraversalSelector.h>

Static Public Member Functions

template<class Functor >
static std::unique_ptr< TraversalInterfacegenerateTraversal (TraversalOption traversalType, Functor &functor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3)
 Generates a given Traversal for the given properties.
 
template<class PairwiseFunctor >
static std::unique_ptr< TraversalInterfacegeneratePairwiseTraversal (TraversalOption traversalType, PairwiseFunctor &pairwiseFunctor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3)
 Generates a given pairwise Traversal for the given properties.
 
template<class TriwiseFunctor >
static std::unique_ptr< TraversalInterfacegenerateTriwiseTraversal (TraversalOption traversalType, TriwiseFunctor &triwiseFunctor, const TraversalSelectorInfo &traversalInfo, DataLayoutOption dataLayout, bool useNewton3)
 Generates a given triwise Traversal for the given properties.
 

Detailed Description

template<class ParticleCell>
class autopas::TraversalSelector< ParticleCell >

TraversalSelector is used for the construction of the list in the applyBuildFunctor method.

Selector for a container traversal.

Forward declaration necessary to avoid circle of includes: TraversalSelector includes all VLC traversals include VLCTraversalInterface includes VLCAllCellsNeighborList

Forward declaration necessary to avoid circle of includes: TraversalSelector includes all VLC traversals include VLCTraversalInterface includes VLCCellPairNeighborList

Template Parameters
ParticleCell

Member Function Documentation

◆ generatePairwiseTraversal()

template<class ParticleCell >
template<class PairwiseFunctor >
std::unique_ptr< TraversalInterface > autopas::TraversalSelector< ParticleCell >::generatePairwiseTraversal ( TraversalOption  traversalType,
PairwiseFunctor pairwiseFunctor,
const TraversalSelectorInfo traversalInfo,
DataLayoutOption  dataLayout,
bool  useNewton3 
)
static

Generates a given pairwise Traversal for the given properties.

Template Parameters
PairwiseFunctor
Parameters
traversalType
pairwiseFunctor
traversalInfo
dataLayout
useNewton3
Returns
Smartpointer to the traversal.

◆ generateTraversal()

template<class ParticleCell >
template<class Functor >
std::unique_ptr< TraversalInterface > autopas::TraversalSelector< ParticleCell >::generateTraversal ( TraversalOption  traversalType,
Functor functor,
const TraversalSelectorInfo traversalInfo,
DataLayoutOption  dataLayout,
bool  useNewton3 
)
static

Generates a given Traversal for the given properties.

Template Parameters
Functor
Parameters
traversalType
functor
traversalInfo
dataLayout
useNewton3
Returns
Smartpointer to the traversal.

◆ generateTriwiseTraversal()

template<class ParticleCell >
template<class TriwiseFunctor >
std::unique_ptr< TraversalInterface > autopas::TraversalSelector< ParticleCell >::generateTriwiseTraversal ( TraversalOption  traversalType,
TriwiseFunctor triwiseFunctor,
const TraversalSelectorInfo traversalInfo,
DataLayoutOption  dataLayout,
bool  useNewton3 
)
static

Generates a given triwise Traversal for the given properties.

Template Parameters
TriwiseFunctor
Parameters
traversalType
triwiseFunctor
traversalInfo
dataLayout
useNewton3
Returns
Smartpointer to the traversal.

The documentation for this class was generated from the following files: