Go to the source code of this file.
|
| template<class Container > |
| void | autopasTools::generators::GaussianGenerator::fillWithParticles (Container &container, const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax, size_t numParticles, const typename autopas::utils::ParticleTypeTrait< Container >::value &defaultParticle=typename autopas::utils::ParticleTypeTrait< Container >::value(), const std::array< double, 3 > &distributionMean={5., 5., 5.}, const std::array< double, 3 > &distributionStdDev={2., 2., 2.}) |
| | Fills any container (also AutoPas object) with randomly 3D gaussian distributed particles.
|
| |
|
|
constexpr size_t | autopasTools::generators::GaussianGenerator::_maxAttempts = 100 |
| | Maximum number of attempts the random generator gets to find a valid position before considering the input to be bad.
|
| |
- Author
- F. Gratl
- Date
- 7/31/18
- Author
- F. Gratl
- Date
- 5/25/18