Functions to estimate numbers of particles. More...
Functions | |
size_t | estimateNumHalosUniform (size_t numParticles, const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax, double haloWidth) |
Given a number of particles and the dimensions of a box, estimate the number of halo particles. | |
Functions to estimate numbers of particles.
size_t autopas::utils::NumParticlesEstimator::estimateNumHalosUniform | ( | size_t | numParticles, |
const std::array< double, 3 > & | boxMin, | ||
const std::array< double, 3 > & | boxMax, | ||
double | haloWidth | ||
) |
Given a number of particles and the dimensions of a box, estimate the number of halo particles.
Assumptions:
numParticles | |
boxMin | |
boxMax | |
haloWidth |