Mantid
Loading...
Searching...
No Matches
CrystalFieldPeaks.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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
11
12namespace Mantid {
13namespace CurveFitting {
14namespace Functions {
15
20class MANTID_CURVEFITTING_DLL CrystalFieldPeaks : public CrystalFieldPeaksBase, public API::IFunctionGeneral {
21public:
23 std::string name() const override;
24 size_t getNumberDomainColumns() const override;
25 size_t getNumberValuesPerArgument() const override;
26 void functionGeneral(const API::FunctionDomainGeneral &generalDomain, API::FunctionValues &values) const override;
27 size_t getDefaultDomainSize() const override;
28
29private:
32 mutable size_t m_defaultDomainSize;
33};
34
35} // namespace Functions
36} // namespace CurveFitting
37} // namespace Mantid
Represent a domain of a very general type.
A class to store values calculated by a function.
IFunctionGeneral: a very general function definition.
CrystalFieldPeaks is a function that calculates crystal field peak positions and intensities.
CrystalFieldPeaks is a function that calculates crystal field peak positions and intensities.
size_t m_defaultDomainSize
Store the default domain size after first function evaluation.
Helper class which provides the Collimation Length for SANS instruments.