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

This class provides the base logic for the c08 traversal for VLCCellPairNeighborList. More...

#include <VLCCellPairC08CellHandler.h>

Inheritance diagram for autopas::VLCCellPairC08CellHandler< ParticleCell, PairwiseFunctor >:
Inheritance graph
[legend]

Public Member Functions

 VLCCellPairC08CellHandler (const std::array< unsigned long, 3 > &dims, double interactionLength, const std::array< double, 3 > &cellLength)
 Constructor of the VLCCellPairC08CellHandler.
 
void processCellListsC08 (VLCCellPairNeighborList< typename ParticleCell::ParticleType > &neighborList, unsigned long cellIndex, PairwiseFunctor *pairwiseFunctor, DataLayoutOption layout, SoA< typename ParticleCell::ParticleType::SoAArraysType > *soa, bool useNewton3)
 Executes a c08 base step for the cell at cellIndex.
 

Detailed Description

template<class ParticleCell, class PairwiseFunctor>
class autopas::VLCCellPairC08CellHandler< ParticleCell, PairwiseFunctor >

This class provides the base logic for the c08 traversal for VLCCellPairNeighborList.

Template Parameters
ParticleCellthe type of cells
PairwiseFunctorThe functor that defines the interaction of two particles.

Constructor & Destructor Documentation

◆ VLCCellPairC08CellHandler()

template<class ParticleCell , class PairwiseFunctor >
autopas::VLCCellPairC08CellHandler< ParticleCell, PairwiseFunctor >::VLCCellPairC08CellHandler ( const std::array< unsigned long, 3 > &  dims,
double  interactionLength,
const std::array< double, 3 > &  cellLength 
)
inline

Constructor of the VLCCellPairC08CellHandler.

The offsets for the base step are computed here using the implementation from the superclass.

Parameters
dimsThe number of cells per dimension.
interactionLengthInteraction length (cutoff + skin).
cellLengthcell length.

Member Function Documentation

◆ processCellListsC08()

template<class ParticleCell , class PairwiseFunctor >
void autopas::VLCCellPairC08CellHandler< ParticleCell, PairwiseFunctor >::processCellListsC08 ( VLCCellPairNeighborList< typename ParticleCell::ParticleType > &  neighborList,
unsigned long  cellIndex,
PairwiseFunctor pairwiseFunctor,
DataLayoutOption  layout,
SoA< typename ParticleCell::ParticleType::SoAArraysType > *  soa,
bool  useNewton3 
)
inline

Executes a c08 base step for the cell at cellIndex.

The offsets computed in the constructor are used to identify the pairs of interacting cells.

Parameters
neighborListpairs of main particle and partner particles for each pair of cells
cellIndexindex of the current base cell
pairwiseFunctorfunctor that defines the interaction of two particles
layoutdata layout (AoS or SoA)
soaStructure of Arrays where the particles are loaded if the SoA data layout is used
useNewton3

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