Mantid
Loading...
Searching...
No Matches
TeixeiraWaterSQE.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
13// 3rd party library headers (N/A)
14// standard library headers (N/A)
15
16namespace API {
17//----------------------------------------------------------------------
18// Forward declaration
19//----------------------------------------------------------------------
20class Jacobian;
21} // namespace API
22
23namespace Mantid {
24namespace CurveFitting {
25namespace Functions {
34class MANTID_CURVEFITTING_DLL TeixeiraWaterSQE : public FunctionQDepends {
35
36public:
37 std::string name() const override { return "TeixeiraWaterSQE"; }
38 const std::string category() const override { return "QuasiElastic"; }
39 void function1D(double *out, const double *xValues, const size_t nData) const override;
40 void functionDeriv1D(Mantid::API::Jacobian *jacobian, const double *xValues, const size_t nData) override;
41
42protected:
43 void declareParameters() override;
44};
45
46} // namespace Functions
47} // namespace CurveFitting
48} // namespace Mantid
Represents the Jacobian in IFitFunction::functionDeriv.
Definition: Jacobian.h:22
This is a specialization of IFunction1D for functions having the magnitude of the momentum transfer (...
Teixeira's model to describe the translational diffusion of water.
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
Returns the function's name.
Helper class which provides the Collimation Length for SANS instruments.