Mantid
Loading...
Searching...
No Matches
ElasticDiffRotDiscreteCircle.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9// Mantid Coding standards <http://www.mantidproject.org/Coding_Standards>
10// Mantid Headers from the same project
11#include "DeltaFunction.h"
12// Mantid headers from other projects (N/A)
14// 3rd party library headers (N/A)
15// standard library (N/A)
16
17namespace Mantid {
18namespace CurveFitting {
19namespace Functions {
25/* Class representing the elastic portion of DiffRotDiscreteCircle
26 * Contains a Delta Dirac.
27 */
28class MANTID_CURVEFITTING_DLL ElasticDiffRotDiscreteCircle : public DeltaFunction, public FunctionQDepends {
29public:
32
34 std::string name() const override { return "ElasticDiffRotDiscreteCircle"; }
35
36 const std::string category() const override { return "QuasiElastic"; }
37
39 void init() override;
40
42 double HeightPrefactor() const override;
43};
44
45} // namespace Functions
46} // namespace CurveFitting
47} // namespace Mantid
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
overwrite IFunction base class methods
This is a specialization of IFunction1D for functions having the magnitude of the momentum transfer (...
Helper class which provides the Collimation Length for SANS instruments.