#include <array>
#include <cstddef>
#include <unordered_map>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | autopas::VerletListsCellsHelpers::BaseStepOffsets |
Helper Struct to bundle all information about base step offsets. More... | |
Namespaces | |
namespace | autopas |
This is the main namespace of AutoPas. | |
namespace | autopas::VerletListsCellsHelpers |
Helper functions and type aliases for verlet lists cells. | |
Typedefs | |
template<class Particle_T > | |
using | autopas::VerletListsCellsHelpers::AllCellsNeighborListsType = std::vector< std::vector< std::pair< Particle_T *, std::vector< Particle_T * > > > > |
Cell wise verlet lists for neighbors from all adjacent cells: For every cell, a vector of pairs. | |
template<class Particle_T > | |
using | autopas::VerletListsCellsHelpers::PairwiseNeighborListsType = std::vector< std::vector< std::vector< std::pair< Particle_T *, std::vector< Particle_T * > > > > > |
Pairwise verlet lists: For every cell a vector, for every neighboring cell a vector of particle-neighborlist pairs. | |
Enumerations | |
enum class | autopas::VerletListsCellsHelpers::VLCBuildType { aosBuild , soaBuild } |
Indicates which build functor should be used for the generation of the neighbor list. More... | |
Functions | |
std::vector< BaseStepOffsets > | autopas::VerletListsCellsHelpers::buildC08BaseStep (const std::array< int, 3 > &cellsPerDim) |
Builds the list of offsets from the base cell for the c08 base step. | |
size_t | autopas::VerletListsCellsHelpers::estimateListLength (size_t numParticles, const std::array< double, 3 > &boxSize, double interactionLength, double correctionFactor) |
Simple heuristic to calculate the average number of particles per verlet list assuming particles are evenly distributed in the domain box. | |
template<class Cells > | |
size_t | autopas::VerletListsCellsHelpers::estimateNumLists (size_t baseCellIndex, bool useNewton3, const Cells &cells, const std::vector< BaseStepOffsets > &offsetsC08) |
Function to estimate the number of neighbor lists for one base step. | |