Mantid
Loading...
Searching...
No Matches
Framework
CurveFitting
src
FuncMinimizers
FRConjugateGradientMinimizer.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/FRConjugateGradientMinimizer.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
namespace
{
20
Kernel::Logger
g_log
(
"FRConjugateGradientMinimizer"
);
21
}
// namespace
22
23
// clang-format off
25
DECLARE_FUNCMINIMIZER
(FRConjugateGradientMinimizer,Conjugate gradient (Fletcher-Reeves imp.))
27
// clang-format on
28
29
31
const gsl_multimin_fdfminimizer_type *
FRConjugateGradientMinimizer
::getGSLMinimizerType() {
32
return
gsl_multimin_fdfminimizer_conjugate_fr;
33
}
34
35
}
// namespace Mantid::CurveFitting::FuncMinimisers
CostFunctionFactory.h
FRConjugateGradientMinimizer.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
Mantid::CurveFitting::FuncMinimisers::FRConjugateGradientMinimizer
Implementing Fletcher-Reeves flavour of the conjugate gradient algorithm by wrapping the IFuncMinimiz...
Definition
FRConjugateGradientMinimizer.h:25
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