BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Decorator class that adds particles to ISampleNode objects.
Public Member Functions | |
ParticleLayout () | |
ParticleLayout (const IParticle &particle, double abundance=-1.0) | |
~ParticleLayout () override | |
void | addParticle (const IParticle &particle, double abundance=-1.0) |
std::string | className () const final |
ParticleLayout * | clone () const override |
const IInterference * | interferenceFunction () const |
std::vector< const INode * > | nodeChildren () const override |
std::vector< ParaMeta > | parDefs () const final |
std::vector< const IParticle * > | particles () const |
void | setInterference (const IInterference &interparticle) |
void | setTotalParticleSurfaceDensity (double particle_density) |
void | setWeight (double weight) |
Sets the relative weight of this layout. More... | |
double | totalAbundance () const |
double | totalParticleSurfaceDensity () const |
double | weight () const |
Returns the relative weight of this layout. More... | |
double | weightedParticleSurfaceDensity () const |
ParticleLayout::ParticleLayout | ( | ) |
ParticleLayout::ParticleLayout | ( | const IParticle & | particle, |
double | abundance = -1.0 |
||
) |
|
override |
void ParticleLayout::addParticle | ( | const IParticle & | particle, |
double | abundance = -1.0 |
||
) |
|
final |
|
override |
const IInterference* ParticleLayout::interferenceFunction | ( | ) | const |
|
override |
|
final |
std::vector<const IParticle*> ParticleLayout::particles | ( | ) | const |
void ParticleLayout::setInterference | ( | const IInterference & | interparticle | ) |
void ParticleLayout::setTotalParticleSurfaceDensity | ( | double | particle_density | ) |
void ParticleLayout::setWeight | ( | double | weight | ) |
Sets the relative weight of this layout.
double ParticleLayout::totalAbundance | ( | ) | const |
double ParticleLayout::totalParticleSurfaceDensity | ( | ) | const |
double ParticleLayout::weight | ( | ) | const |
Returns the relative weight of this layout.
double ParticleLayout::weightedParticleSurfaceDensity | ( | ) | const |