BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
A reprocessed ParticleComposition.
Definition at line 29 of file ReCompound.h.
Public Member Functions | |
ReCompound ()=default | |
~ReCompound () override | |
void | addFormFactor (const IReParticle &formfactor) |
double | bottomZ (const IRotation *rotation) const override |
Returns the z-coordinate of the lowest point in this shape after a given rotation. More... | |
ReCompound * | clone () const override |
double | radialExtension () const override |
Returns the (approximate in some cases) radial size of the particle of this form factor's shape. This is used for SSCA calculations. More... | |
void | setAmbientMaterial (const Material &material) override |
Passes the material in which this particle is embedded. More... | |
complex_t | theFF (const WavevectorInfo &wavevectors) const override |
Returns scattering amplitude for complex wavevectors ki, kf. More... | |
SpinMatrix | thePolFF (const WavevectorInfo &wavevectors) const override |
Calculates and returns a polarized form factor calculation in DWBA. More... | |
double | topZ (const IRotation *rotation) const override |
Returns the z-coordinate of the lowest point in this shape after a given rotation. More... | |
virtual void | transferToCPP () |
Used for Python overriding of clone (see swig/tweaks.py) More... | |
virtual double | volume () const |
Returns the total volume of the particle of this form factor's shape. More... | |
Protected Attributes | |
std::vector< IReParticle * > | m_components |
|
default |
Referenced by clone().
|
override |
void ReCompound::addFormFactor | ( | const IReParticle & | formfactor | ) |
Definition at line 60 of file ReCompound.cpp.
References IReParticle::clone(), and m_components.
|
overridevirtual |
Returns the z-coordinate of the lowest point in this shape after a given rotation.
Implements IReParticle.
Definition at line 41 of file ReCompound.cpp.
References m_components, and BaseUtils::algo::min_value().
|
overridevirtual |
Implements IReParticle.
Definition at line 25 of file ReCompound.cpp.
References ReCompound(), and m_components.
|
overridevirtual |
Returns the (approximate in some cases) radial size of the particle of this form factor's shape. This is used for SSCA calculations.
Implements IReParticle.
Definition at line 33 of file ReCompound.cpp.
References m_components.
|
overridevirtual |
Passes the material in which this particle is embedded.
Reimplemented from IReParticle.
Definition at line 65 of file ReCompound.cpp.
References m_components.
|
overridevirtual |
Returns scattering amplitude for complex wavevectors ki, kf.
Implements IReParticle.
Definition at line 71 of file ReCompound.cpp.
References m_components.
|
overridevirtual |
Calculates and returns a polarized form factor calculation in DWBA.
Reimplemented from IReParticle.
Definition at line 79 of file ReCompound.cpp.
References m_components.
|
overridevirtual |
Returns the z-coordinate of the lowest point in this shape after a given rotation.
Implements IReParticle.
Definition at line 51 of file ReCompound.cpp.
References m_components, and BaseUtils::algo::max_value().
|
inlinevirtualinherited |
Used for Python overriding of clone (see swig/tweaks.py)
Definition at line 32 of file ICloneable.h.
|
virtualinherited |
Returns the total volume of the particle of this form factor's shape.
Reimplemented in ReParticle, and ReMesocrystal.
Definition at line 26 of file IReParticle.cpp.
References WavevectorInfo::makeZeroQ(), and IReParticle::theFF().
|
protected |
Definition at line 52 of file ReCompound.h.
Referenced by ~ReCompound(), addFormFactor(), bottomZ(), clone(), radialExtension(), setAmbientMaterial(), theFF(), thePolFF(), and topZ().