BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
InterferenceNone.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/Aggregate/InterferenceNone.h
6 //! @brief Defines class InterferenceNone.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCENONE_H
16 #define BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCENONE_H
17 
19 
20 //! Default interference function (i.e. absence of any interference).
21 //! @ingroup interference
22 
24 public:
26 
27  InterferenceNone* clone() const override;
28  std::string className() const final { return "InterferenceNone"; }
29 
30 private:
31  double iff_without_dw(R3 q) const override;
32 };
33 
34 #endif // BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCENONE_H
Defines and implements the interface class IInterference.
Abstract base class of interference functions.
Definition: IInterference.h:24
Default interference function (i.e. absence of any interference).
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
double iff_without_dw(R3 q) const override
Calculates the structure factor without Debye-Waller factor.
InterferenceNone * clone() const override