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 
16 
17 using namespace mumufit;
18 
19 IFunctionAdapter::IFunctionAdapter() : m_number_of_calls(0), m_number_of_gradient_calls(0) {}
20 
22 
24 {
25  return m_number_of_calls;
26 }
27 
29 {
31 }
Defines interface IFunctionAdapter.
The multi-library, multi-algorithm fit wrapper library.