AutoPas  3.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
autopas::internal::VCLClusterFunctor< Particle_T, PairwiseFunctor > Class Template Reference

Provides methods to traverse a single cluster and a pair of clusters. More...

#include <VCLClusterFunctor.h>

Inheritance diagram for autopas::internal::VCLClusterFunctor< Particle_T, PairwiseFunctor >:
Inheritance graph
[legend]

Public Member Functions

 VCLClusterFunctor (PairwiseFunctor *functor, size_t clusterSize, DataLayoutOption dataLayout, bool useNewton3)
 Constructs a VCLClusterFunctor that uses the given functor internally.
 
void processCluster (internal::Cluster< Particle_T > &cluster, bool isHaloCluster)
 Invokes the calculations of all interactions within the cluster and, if they exist, it's neighbors.
 

Detailed Description

template<class Particle_T, class PairwiseFunctor>
class autopas::internal::VCLClusterFunctor< Particle_T, PairwiseFunctor >

Provides methods to traverse a single cluster and a pair of clusters.

Template Parameters
Particle_TThe type of particle the clusters contain.
PairwiseFunctorThe type of the functor the VCLClusterFunctor should use.

Constructor & Destructor Documentation

◆ VCLClusterFunctor()

template<class Particle_T , class PairwiseFunctor >
autopas::internal::VCLClusterFunctor< Particle_T, PairwiseFunctor >::VCLClusterFunctor ( PairwiseFunctor functor,
size_t  clusterSize,
DataLayoutOption  dataLayout,
bool  useNewton3 
)
inlineexplicit

Constructs a VCLClusterFunctor that uses the given functor internally.

Parameters
functorThe functor to use internally.
clusterSizeNumber of particles per cluster.
dataLayoutThe data layout to be used.
useNewton3Parameter to specify whether newton3 is used or not.

Member Function Documentation

◆ processCluster()

template<class Particle_T , class PairwiseFunctor >
void autopas::internal::VCLClusterFunctor< Particle_T, PairwiseFunctor >::processCluster ( internal::Cluster< Particle_T > &  cluster,
bool  isHaloCluster 
)
inline

Invokes the calculations of all interactions within the cluster and, if they exist, it's neighbors.

Parameters
cluster
isHaloCluster

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