Mantid
Loading...
Searching...
No Matches
DecoupAsymPowderMagRot.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13
14namespace Mantid {
15namespace CurveFitting {
16namespace Functions {
30class MANTID_CURVEFITTING_DLL DecoupAsymPowderMagRot : public BackgroundFunction {
31public:
33 std::string name() const override { return "DecoupAsymPowderMagRot"; }
34 void function1D(double *out, const double *xValues, const size_t nData) const override;
35 void functionDeriv1D(API::Jacobian *out, const double *xValues, const size_t nData) override;
36 const std::string category() const override { return "Muon\\MuonModelling\\Magnetism"; }
37
38protected:
40 void init() override;
41};
42
43} // namespace Functions
44} // namespace CurveFitting
45} // namespace Mantid
Represents the Jacobian in IFitFunction::functionDeriv.
Definition: Jacobian.h:22
Provide Decoupling of asymmetry in the ordered state of a powdered magnet for fitting function interf...
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.