#include <array>
#include <cstddef>
#include <unordered_map>
#include <utility>
#include <vector>
#include "autopas/options/TraversalOption.h"
#include "autopas/utils/ThreeDimensionalMapping.h"
Go to the source code of this file.
|
std::vector< BaseStepOffsets > | autopas::VerletListsCellsHelpers::buildBaseStep (const std::array< int, 3 > &cellsPerDim, const TraversalOption traversal) |
| Builds the list of offsets from the base cell for the c01, c08, and c18 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, const std::array< size_t, 3 > cellsPerDim) |
| Function to estimate the number of neighbor lists for one base step.
|
|
- Author
- nguyen
- Date
- 30.08.18