24template <
class ParticleCell,
class Functor,
int collapseDepth = 3>
38 const std::array<double, 3> &cellLength, DataLayoutOption dataLayout,
bool useNewton3)
40 dataLayout, useNewton3) {}
50 template <
typename LoopBody>
54template <
class ParticleCell,
class Functor,
int collapseDepth>
55template <
typename LoopBody>
57 using namespace autopas::utils::ArrayMath::literals;
59 const auto offset = this->_overlap;
60 const auto end = this->_cellsPerDimension - this->_overlap;
61 this->colorTraversal(std::forward<LoopBody>(loopBody), end, {1ul, 1ul, 1ul}, offset);
This class provides the base for traversals using the c01 base step.
Definition: C01BasedTraversal.h:25
C01BasedTraversal(const std::array< unsigned long, 3 > &dims, Functor *functor, double interactionLength, const std::array< double, 3 > &cellLength, DataLayoutOption dataLayout, bool useNewton3)
Constructor of the c01 traversal.
Definition: C01BasedTraversal.h:37
void c01Traversal(LoopBody &&loopBody)
The main traversal of the C01Traversal.
Definition: C01BasedTraversal.h:56
This class provides the base for traversals using base steps based on cell coloring.
Definition: ColorBasedTraversal.h:27
Functor base class.
Definition: Functor.h:40
Class for Cells of Particles.
Definition: ParticleCell.h:51
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32