BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A particle type that is a parametric distribution of IParticle's. More...
Public Member Functions | |
ParticleDistribution (const IParticle &prototype, const ParameterDistribution &par_distr) | |
void | accept (INodeVisitor *visitor) const final |
ParticleDistribution * | clone () const final |
SafePointerVector< IParticle > | generateParticles () const |
Returns list of new particles generated according to a distribution. More... | |
std::vector< const INode * > | getChildren () const final |
std::string | mainUnits () const |
ParameterDistribution | parameterDistribution () const |
Returns the distributed parameter data. | |
const IParticle & | prototype () const |
Returns the prototype particle, used for generating multiple ones. | |
void | rotate (const IRotation &rotation) final |
void | translate (kvector_t translation) final |
A particle type that is a parametric distribution of IParticle's.
SafePointerVector< IParticle > ParticleDistribution::generateParticles | ( | ) | const |
Returns list of new particles generated according to a distribution.
Returns particle clones with parameter values drawn from distribution.