Mantid
Loading...
Searching...
No Matches
FickDiffusionSQE.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 {
26
30class MANTID_CURVEFITTING_DLL FickDiffusionSQE : public FunctionQDepends {
31
32public:
33 std::string name() const override { return "FickDiffusionSQE"; }
34 const std::string category() const override { return "QuasiElastic"; }
35 void function1D(double *out, const double *xValues, const size_t nData) const override;
36 void functionDeriv1D(Mantid::API::Jacobian *jacobian, const double *xValues, const size_t nData) override;
37
38protected:
39 void declareParameters() override;
40};
41
42} // namespace Functions
43} // namespace CurveFitting
44} // namespace Mantid
Represents the Jacobian in IFitFunction::functionDeriv.
Definition: Jacobian.h:22
std::string name() const override
Returns the function's name.
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.