AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
LoadEstimators.h File Reference
#include <array>
#include <vector>
#include "autopas/containers/verletListsCellBased/verletListsCells/VerletListsCellsHelpers.h"
#include "autopas/utils/ThreeDimensionalMapping.h"
Include dependency graph for LoadEstimators.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 
namespace  autopas::loadEstimators
 Collection of functions for estimating the load required to update a specific region within a containers.
 

Functions

template<class ParticleCell >
unsigned long autopas::loadEstimators::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 autopas::loadEstimators::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 autopas::loadEstimators::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 autopas::loadEstimators::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.
 

Detailed Description

Date
24 Apr 2020
Author
fischerv