AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
ClosestPackingGenerator.h File Reference
#include <cmath>
#include <vector>
#include "autopas/utils/ParticleTypeTrait.h"
#include "autopas/utils/ThreeDimensionalMapping.h"
Include dependency graph for ClosestPackingGenerator.h:

Go to the source code of this file.

Namespaces

namespace  autopasTools::generators::ClosestPackingGenerator
 Generator for grids of particles.
 

Functions

template<class Container >
void autopasTools::generators::ClosestPackingGenerator::fillWithParticles (Container &container, const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax, const typename autopas::utils::ParticleTypeTrait< Container >::value &defaultParticle=typename autopas::utils::ParticleTypeTrait< Container >::value(), const double spacing=1.)
 Fills any container (also AutoPas object) with a hexagonally closest packed particles.
 

Detailed Description

Author
F. Gratl
Date
21.08.20