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#include "DeltaFunction.h"
11// standard library (N/A)
12
13namespace Mantid {
14namespace CurveFitting {
15namespace Functions {
21/* Class representing the elastic portion of DiffRotDiscreteCircle
22 * Contains a Delta Dirac.
23 */
24class MANTID_CURVEFITTING_DLL ElasticDiffRotDiscreteCircle : public DeltaFunction, public FunctionQDepends {
25public:
28
30 std::string name() const override { return "ElasticDiffRotDiscreteCircle"; }
31
32 const std::string category() const override { return "QuasiElastic"; }
33
35 void init() override;
36
38 double HeightPrefactor() const override;
39};
40
41} // namespace Functions
42} // namespace CurveFitting
43} // 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.