-
Notifications
You must be signed in to change notification settings - Fork 122
/
CrystalFieldPeaks.h
37 lines (32 loc) · 1.23 KB
/
CrystalFieldPeaks.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2016 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once
#include "MantidAPI/IFunctionGeneral.h"
#include "MantidCurveFitting/Functions/CrystalFieldPeaksBase.h"
namespace Mantid {
namespace CurveFitting {
namespace Functions {
/**
CrystalFieldPeaks is a function that calculates crystal field peak
positions and intensities.
*/
class MANTID_CURVEFITTING_DLL CrystalFieldPeaks : public CrystalFieldPeaksBase, public API::IFunctionGeneral {
public:
CrystalFieldPeaks();
std::string name() const override;
size_t getNumberDomainColumns() const override;
size_t getNumberValuesPerArgument() const override;
void functionGeneral(const API::FunctionDomainGeneral &generalDomain, API::FunctionValues &values) const override;
size_t getDefaultDomainSize() const override;
private:
/// Store the default domain size after first
/// function evaluation
mutable size_t m_defaultDomainSize;
};
} // namespace Functions
} // namespace CurveFitting
} // namespace Mantid