#include <array>
#include <random>
#include "autopas/particles/OwnershipState.h"
#include "autopas/utils/inBox.h"
Go to the source code of this file.
|
| std::array< double, 3 > | autopasTools::generators::UniformGenerator::randomPosition (std::mt19937 &generator, const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax) |
| | Generate a random position within a given box.
|
| |
| template<class Container , class Particle > |
| void | autopasTools::generators::UniformGenerator::fillWithParticles (Container &container, const Particle &defaultParticle, const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax, unsigned long numParticles=100ul, unsigned int seed=42) |
| | Fills any container (also AutoPas object) with randomly uniformly distributed particles.
|
| |
| template<class Container , class Particle , class HaloAddFunction > |
| void | autopasTools::generators::UniformGenerator::fillWithHaloParticles (Container &container, const Particle &defaultParticle, double haloWidth, unsigned long numParticles, const HaloAddFunction &haloAddFunction, unsigned int seed=42) |
| | Fills the halo of a container (also AutoPas object) with randomly uniformly distributed particles.
|
| |
| template<class Container , class Particle > |
| void | autopasTools::generators::UniformGenerator::fillWithHaloParticles (Container &container, const Particle &defaultParticle, double haloWidth, unsigned long numParticles, unsigned int seed=42) |
| | Fills the halo of a container with randomly uniformly distributed particles.
|
| |
- Author
- seckler
- Date
- 22.05.18