AutoPas  3.0.0
Loading...
Searching...
No Matches
ContainerSelectorInfo.h
Go to the documentation of this file.
1
7#pragma once
8#include <array>
9#include <memory>
10
12
13namespace autopas {
18 public:
23 : cellSizeFactor(1.),
24 verletSkin(0.),
28
46
52 bool operator==(const ContainerSelectorInfo &other) const {
53 return cellSizeFactor == other.cellSizeFactor and verletSkin == other.verletSkin and
55 }
56
62 bool operator!=(const ContainerSelectorInfo &other) const { return !(*this == other); }
63
72 bool operator<(const ContainerSelectorInfo &other) {
74 std::tie(other.cellSizeFactor, other.verletSkin, other.verletRebuildFrequency, other.verletClusterSize,
75 other.loadEstimator);
76 }
77
85 double verletSkin;
93 unsigned int verletClusterSize;
98};
99
100} // namespace autopas
Info to generate a container.
Definition: ContainerSelectorInfo.h:17
bool operator==(const ContainerSelectorInfo &other) const
Equality between ContainerSelectorInfo.
Definition: ContainerSelectorInfo.h:52
bool operator!=(const ContainerSelectorInfo &other) const
Inequality between ContainerSelectorInfo.
Definition: ContainerSelectorInfo.h:62
double cellSizeFactor
cellSizeFactor Cell size factor to be used in this container (only relevant for LinkedCells)
Definition: ContainerSelectorInfo.h:81
unsigned int verletRebuildFrequency
The rebuild frequency.
Definition: ContainerSelectorInfo.h:89
ContainerSelectorInfo()
Default Constructor.
Definition: ContainerSelectorInfo.h:22
bool operator<(const ContainerSelectorInfo &other)
Comparison operator for ContainerSelectorInfo objects.
Definition: ContainerSelectorInfo.h:72
autopas::LoadEstimatorOption loadEstimator
Load estimator for balanced sliced traversals.
Definition: ContainerSelectorInfo.h:97
ContainerSelectorInfo(double cellSizeFactor, double verletSkin, unsigned int verletRebuildFrequency, unsigned int verletClusterSize, autopas::LoadEstimatorOption loadEstimator)
Constructor.
Definition: ContainerSelectorInfo.h:39
double verletSkin
Length added to the cutoff for the verlet lists' skin inbetween rebuilding lists.
Definition: ContainerSelectorInfo.h:85
unsigned int verletClusterSize
Size of Verlet Clusters.
Definition: ContainerSelectorInfo.h:93
Class representing the load estimator choices.
Definition: LoadEstimatorOption.h:18
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32