Mantid
Loading...
Searching...
No Matches
Framework
CurveFitting
src
FuncMinimizers
SteepestDescentMinimizer.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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
//----------------------------------------------------------------------
8
// Includes
9
//----------------------------------------------------------------------
10
#include "
MantidCurveFitting/FuncMinimizers/SteepestDescentMinimizer.h
"
11
12
#include "
MantidAPI/CostFunctionFactory.h
"
13
#include "
MantidAPI/FuncMinimizerFactory.h
"
14
15
#include "
MantidKernel/Logger.h
"
16
17
namespace
Mantid::CurveFitting::FuncMinimisers
{
18
19
namespace
{
20
// Get a reference to the logger
21
Kernel::Logger
g_log
(
"SteepestDescentMinimizer"
);
22
}
// namespace
23
24
DECLARE_FUNCMINIMIZER
(SteepestDescentMinimizer, SteepestDescent)
25
26
28
const gsl_multimin_fdfminimizer_type *
SteepestDescentMinimizer
::getGSLMinimizerType() {
29
return
gsl_multimin_fdfminimizer_steepest_descent;
30
}
31
32
}
// namespace Mantid::CurveFitting::FuncMinimisers
CostFunctionFactory.h
FuncMinimizerFactory.h
DECLARE_FUNCMINIMIZER
#define DECLARE_FUNCMINIMIZER(classname, username)
Macro for declaring a new type of minimizers to be used with the FuncMinimizerFactory.
Definition
FuncMinimizerFactory.h:62
Logger.h
SteepestDescentMinimizer.h
Mantid::CurveFitting::FuncMinimisers::SteepestDescentMinimizer
Implementing the steepest descent algorithm by wrapping the IFuncMinimizer interface around the GSL i...
Definition
SteepestDescentMinimizer.h:24
Mantid::API::g_log
Kernel::Logger g_log("ExperimentInfo")
static logger object
Mantid::CurveFitting::FuncMinimisers
Definition
BFGS_Minimizer.h:17
Generated by
1.9.8