15 #ifndef BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONHARDDISK_H
16 #define BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONHARDDISK_H
Defines and implements the interface class IInterferenceFunction.
Pure virtual base class of interference functions.
Visitor interface to visit ISample objects.
Percus-Yevick hard disk interference function.
InterferenceFunctionHardDisk * clone() const override final
Returns a clone of this ISample object.
InterferenceFunctionHardDisk(double radius, double density, double position_var=0)
double iff_without_dw(const kvector_t q) const override final
Calculates the structure factor without Debye-Waller factor.
double getParticleDensity() const override final
If defined by this interference function's parameters, returns the particle density (per area).
void accept(INodeVisitor *visitor) const override final
Calls the INodeVisitor's visit method.
double packingRatio() const
~InterferenceFunctionHardDisk() final=default
double integrand(double x) const