Collection of functions for estimating the load required to update a specific region within a containers.
More...
|
static std::set< autopas::LoadEstimatorOption > | allCompatibleLoadEstimators (autopas::ContainerOption container) |
| Returns set of load estimators compatible with the container.
|
|
static bool | usesLoadEstimator (autopas::TraversalOption traversal) |
| returns whether or not the given traversal uses load estimation.
|
|
static std::set< autopas::LoadEstimatorOption > | getApplicableLoadEstimators (autopas::ContainerOption container, autopas::TraversalOption traversal, const std::set< autopas::LoadEstimatorOption > &allowedOptions) |
| If traversal uses load estimation, returns all load estimators in allowedOptions, that are compatible with the container, but always allows none if the intersection is empty.
|
|
template<class ParticleCell > |
unsigned long | squaredParticlesPerCell (const std::vector< ParticleCell > &cells, const std::array< unsigned long, 3 > &cellsPerDimension, const std::array< unsigned long, 3 > &lowerCorner, const std::array< unsigned long, 3 > &upperCorner) |
| Sums up the squared number of particles for all cells within region.
|
|
template<class Particle_T > |
unsigned long | neighborListLengthImpl (const typename autopas::VerletListsCellsHelpers::AllCellsNeighborListsType< Particle_T > &neighborLists, unsigned long cellIndex) |
| Helper function for calculating the neighbor list length for the Verlet lists cells neighbor list.
|
|
template<class Particle_T > |
unsigned long | neighborListLengthImpl (const typename autopas::VerletListsCellsHelpers::PairwiseNeighborListsType< Particle_T > &neighborLists, unsigned long cellIndex) |
| Helper function for calculating the neighbor list length for pairwise Verlet lists.
|
|
template<class Particle_T , class NeighborList > |
unsigned long | neighborListLength (NeighborList &neighborLists, const std::array< unsigned long, 3 > &cellsPerDimension, const std::array< unsigned long, 3 > &lowerCorner, const std::array< unsigned long, 3 > &upperCorner) |
| Sums up the lengths of the verlet neighbor lists of all particles within region.
|
|
Collection of functions for estimating the load required to update a specific region within a containers.