Mantid
Loading...
Searching...
No Matches
InelasticIsoRotDiff.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
11// Mantid headers from other projects
15#include "MantidCurveFitting/DllConfig.h"
16// 3rd party library headers (N/A)
17// standard library headers (N/A)
18
19namespace Mantid {
20namespace CurveFitting {
21namespace Functions {
30class MANTID_CURVEFITTING_DLL InelasticIsoRotDiff : public API::ParamFunction, public API::IFunction1D {
31public:
33
35 void init() override;
36
38 std::string name() const override { return "InelasticIsoRotDiff"; }
39
41 const std::string category() const override { return "QuasiElastic"; }
42
43protected:
44 void function1D(double *out, const double *xValues, const size_t nData) const override;
45};
46
47} // namespace Functions
48} // namespace CurveFitting
49} // namespace Mantid
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
Inelastic part of the IsoRotDiff function.
std::string name() const override
overwrite IFunction base class methods
const std::string category() const override
overwrite IFunction base class methods
Helper class which provides the Collimation Length for SANS instruments.