15 #ifndef BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONHARDDISK_H
16 #define BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONHARDDISK_H
39 double radius() const;
40 double density() const;
43 double iff_without_dw(const
kvector_t q) const override final;
44 double packingRatio() const;
45 double integrand(
double x) const;
50 mutable
double m_q, m_c_zero, m_s2, m_packing;
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.
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.