BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
IFunctionAdapter.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file Fit/Adapter/IFunctionAdapter.cpp
6
//! @brief Implements interface IFunctionAdapter.
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2018
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#include "
Fit/Adapter/IFunctionAdapter.h
"
16
17
using namespace
mumufit
;
18
19
IFunctionAdapter::IFunctionAdapter
() : m_number_of_calls(0), m_number_of_gradient_calls(0) {}
20
21
IFunctionAdapter::~IFunctionAdapter
() =
default
;
22
23
int
IFunctionAdapter::numberOfCalls
()
const
24
{
25
return
m_number_of_calls
;
26
}
27
28
int
IFunctionAdapter::numberOfGradientCalls
()
const
29
{
30
return
m_number_of_gradient_calls
;
31
}
IFunctionAdapter.h
Defines interface IFunctionAdapter.
mumufit::IFunctionAdapter::~IFunctionAdapter
virtual ~IFunctionAdapter()
mumufit::IFunctionAdapter::IFunctionAdapter
IFunctionAdapter()
Definition:
IFunctionAdapter.cpp:19
mumufit::IFunctionAdapter::m_number_of_gradient_calls
int m_number_of_gradient_calls
Definition:
IFunctionAdapter.h:38
mumufit::IFunctionAdapter::numberOfCalls
int numberOfCalls() const
Definition:
IFunctionAdapter.cpp:23
mumufit::IFunctionAdapter::numberOfGradientCalls
int numberOfGradientCalls() const
Definition:
IFunctionAdapter.cpp:28
mumufit::IFunctionAdapter::m_number_of_calls
int m_number_of_calls
Definition:
IFunctionAdapter.h:37
mumufit
The multi-library, multi-algorithm fit wrapper library.
Definition:
IFunctionAdapter.h:23
Fit
Adapter
IFunctionAdapter.cpp
Generated by
1.9.1