AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
VerletListsCellsHelpers.cpp File Reference
#include "VerletListsCellsHelpers.h"
#include <algorithm>
#include <cmath>
#include "utils/ThreeDimensionalMapping.h"
Include dependency graph for VerletListsCellsHelpers.cpp:

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 
namespace  autopas::VerletListsCellsHelpers
 Helper functions and type aliases for verlet lists cells.
 

Functions

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.
 
std::vector< BaseStepOffsetsautopas::VerletListsCellsHelpers::buildC08BaseStep (const std::array< int, 3 > &cellsPerDim)
 Builds the list of offsets from the base cell for the c08 base step.
 

Detailed Description

Author
F.Gratl
Date
29.05.24