Mantid
Loading...
Searching...
No Matches
ElasticDiffSphere.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 standars <http://www.mantidproject.org/Coding_Standards>
10// Mantid Headers from the same project
13// Mantid headers from other projects (N/A)
14// 3rd party library headers (N/A)
15// standard library headers (N/A)
16
17namespace Mantid {
18namespace CurveFitting {
19namespace Functions {
28class MANTID_CURVEFITTING_DLL ElasticDiffSphere : public DeltaFunction, public FunctionQDepends {
29public:
32
34 std::string name() const override { return "ElasticDiffSphere"; }
35
36 const std::string category() const override { return "QuasiElastic"; }
37
39 double HeightPrefactor() const override;
40
42 void init() override;
43};
44
45} // namespace Functions
46} // namespace CurveFitting
47} // namespace Mantid
Elastic part of the DiffSphere function.
std::string name() const override
overwrite IFunction base class methods
const std::string category() const override
The categories the Fit function belong to.
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.