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
10
11namespace API {
12//----------------------------------------------------------------------
13// Forward declaration
14//----------------------------------------------------------------------
15class Jacobian;
16} // namespace API
17
18namespace Mantid {
19namespace CurveFitting {
20namespace Functions {
29class MANTID_CURVEFITTING_DLL TeixeiraWaterSQE : public FunctionQDepends {
30
31public:
32 std::string name() const override { return "TeixeiraWaterSQE"; }
33 const std::string category() const override { return "QuasiElastic"; }
34 void function1D(double *out, const double *xValues, const size_t nData) const override;
35 void functionDeriv1D(Mantid::API::Jacobian *jacobian, const double *xValues, const size_t nData) override;
36
37protected:
38 void declareParameters() override;
39};
40
41} // namespace Functions
42} // namespace CurveFitting
43} // 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.