BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
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 
16 
17 using namespace mumufit;
18 
20  : m_number_of_calls(0)
21  , m_number_of_gradient_calls(0)
22 {
23 }
24 
26 
28 {
29  return m_number_of_calls;
30 }
31 
33 {
35 }
Defines interface IFunctionAdapter.
The multi-library, multi-algorithm fit wrapper library.