AutoPas  3.0.0
Loading...
Searching...
No Matches
TraversalSelectorInfo.h
Go to the documentation of this file.
1
7#pragma once
8#include <array>
9
10namespace autopas {
15 public:
20 : cellsPerDim({0, 0, 0}), interactionLength(1.0), cellLength({0.0, 0.0, 0.0}), clusterSize{0} {}
21
29 explicit TraversalSelectorInfo(const std::array<unsigned long, 3> &cellsPerDim, const double interactionLength,
30 const std::array<double, 3> &cellLength, const unsigned int clusterSize)
35
39 const std::array<unsigned long, 3> cellsPerDim;
40
44 const double interactionLength;
45
49 const std::array<double, 3> cellLength;
50
54 const unsigned int clusterSize;
55};
56} // namespace autopas
Info for traversals of a specific container.
Definition: TraversalSelectorInfo.h:14
const std::array< double, 3 > cellLength
cell length
Definition: TraversalSelectorInfo.h:49
TraversalSelectorInfo(const std::array< unsigned long, 3 > &cellsPerDim, const double interactionLength, const std::array< double, 3 > &cellLength, const unsigned int clusterSize)
Constructor of the TraversalSelector class.
Definition: TraversalSelectorInfo.h:29
const unsigned int clusterSize
This specifies the size of verlet clusters.
Definition: TraversalSelectorInfo.h:54
const std::array< unsigned long, 3 > cellsPerDim
Number of cells in the domain per dimension.
Definition: TraversalSelectorInfo.h:39
const double interactionLength
Interaction length.
Definition: TraversalSelectorInfo.h:44
TraversalSelectorInfo()
Dummy constructor such that this class can be used in maps.
Definition: TraversalSelectorInfo.h:19
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32