Mantid
Loading...
Searching...
No Matches
CrystalFieldHeatCapacity.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
12
13namespace Mantid {
14namespace CurveFitting {
15namespace Functions {
16
24public:
26 void function1D(double *out, const double *xValues, const size_t nData) const override;
27
28protected:
30};
31
32class MANTID_CURVEFITTING_DLL CrystalFieldHeatCapacity : public CrystalFieldPeaksBase,
34public:
36 std::string name() const override { return "CrystalFieldHeatCapacity"; }
37 const std::string category() const override { return "General"; }
38 void setEnergy(const DoubleFortranVector &en);
39 void function1D(double *out, const double *xValues, const size_t nData) const override;
40
41private:
43};
44
45class MANTID_CURVEFITTING_DLL CrystalFieldHeatCapacityCalculation : public API::ParamFunction,
47public:
49 std::string name() const override { return "cv"; }
50 const std::string category() const override { return "General"; }
51 void setEnergy(const DoubleFortranVector &en);
52};
53
54} // namespace Functions
55} // namespace CurveFitting
56} // namespace Mantid
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
CrystalFieldHeatCapacity is a function that calculates the molar magnetic heat capacity (in J/K/mol) ...
void function1D(double *out, const double *xValues, const size_t nData) const override
Function you want to fit to.
std::string name() const override
Returns the function's name.
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
Returns the function's name.
const std::string category() const override
The categories the Fit function belong to.
CrystalFieldPeaks is a function that calculates crystal field peak positions and intensities.
Helper class which provides the Collimation Length for SANS instruments.