15 #ifndef BORNAGAIN_CORE_COMPUTATION_CONSTANTBACKGROUND_H
16 #define BORNAGAIN_CORE_COMPUTATION_CONSTANTBACKGROUND_H
Defines interface IBackground.
Class representing a constant background signal.
ConstantBackground(const std::vector< double > P)
const double & m_background_value
void accept(INodeVisitor *visitor) const override
Calls the INodeVisitor's visit method.
double backgroundValue() const
ConstantBackground * clone() const final
double addBackground(double intensity) const final
Interface for a simulating the background signal.
Visitor interface to visit ISampleNode objects.
virtual void visit(const BasicLattice2D *)