Go to the source code of this file.
|
| namespace | autopas |
| | This is the main namespace of AutoPas.
|
| |
| namespace | autopas::generators |
| | Generators for filling containers with particles in various distributions (uniform, grid, gaussian, closest packed, ...), used by tests, benchmarks, and md-flexible's particle-object generation.
|
| |
| namespace | autopas::generators::GaussianGenerator |
| | Generator class for gaussian distributions.
|
| |
|
| template<class Container > |
| void | autopas::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 | autopas::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