BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleComposition Class Reference

A composition of particles at fixed positions. More...

+ Inheritance diagram for ParticleComposition:

Public Member Functions

 ParticleComposition (const IParticle &particle, std::vector< kvector_t > positions)
 
void accept (INodeVisitor *visitor) const final
 
void addParticle (const IParticle &particle)
 
void addParticle (const IParticle &particle, kvector_t position)
 
void addParticles (const IParticle &particle, std::vector< kvector_t > positions)
 
ParticleLimits bottomTopZ () const final
 
ParticleCompositionclone () const final
 
IFormFactor * createFormFactor () const final
 
SafePointerVector< IParticle > decompose () const final
 
std::vector< const INode * > getChildren () const final
 
size_t nbrParticles () const
 Returns number of different particles.
 

Detailed Description

A composition of particles at fixed positions.