24 #ifndef REDUCEDNEWTON__ALGORITHM_INVERSE_H_
25 #define REDUCEDNEWTON__ALGORITHM_INVERSE_H_
49 template <
typename PROBLEM,
typename VECTOR>
118 {
return gradient*gradient;}
120 unsigned int line_maxiter_;
121 double linesearch_rho_, linesearch_c_;
128 using namespace dealii;
132 template <
typename PROBLEM,
typename VECTOR>
139 template <
typename PROBLEM,
typename VECTOR>
149 param_reader.
SetSubsection(
"reducednewtonalgorithm parameters");
150 line_maxiter_ = param_reader.
get_integer (
"line_maxiter");
151 linesearch_rho_ = param_reader.
get_double (
"linesearch_rho");
152 linesearch_c_ = param_reader.
get_double (
"linesearch_c");
157 template <
typename PROBLEM,
typename VECTOR>
164 template <
typename PROBLEM,
typename VECTOR>
172 template <
typename PROBLEM,
typename VECTOR>
180 this->GetReducedProblem()->ComputeReducedHessianInverseVector(q,gradient,dq);
virtual int Solve(ControlVector< VECTOR > &q, double global_tol=-1.)
Definition: reducednewtonalgorithmwithinverse.h:165
double get_double(const std::string &entry_name)
Definition: parameterreader.h:115
Definition: parameterreader.h:36
Definition: optproblemcontainer.h:70
double Residual(const ControlVector< VECTOR > &gradient, const ControlVector< VECTOR > &)
Definition: reducednewtonalgorithmwithinverse.h:116
~ReducedNewtonAlgorithmWithInverse()
Definition: reducednewtonalgorithmwithinverse.h:158
int SolveReducedLinearSystem(const ControlVector< VECTOR > &q, const ControlVector< VECTOR > &gradient, const ControlVector< VECTOR > &gradient_transposed, ControlVector< VECTOR > &dq)
Definition: reducednewtonalgorithmwithinverse.h:174
Definition: controlvector.h:49
Definition: reducednewtonalgorithm.h:50
virtual int Solve(ControlVector< VECTOR > &q, double global_tol=-1.)
Definition: reducednewtonalgorithm.h:250
static void declare_params(ParameterReader ¶m_reader)
Definition: reducednewtonalgorithmwithinverse.h:133
int get_integer(const std::string &entry_name)
Definition: parameterreader.h:126
static void declare_params(ParameterReader ¶m_reader)
Definition: reducednewtonalgorithm.h:161
void SetSubsection(const std::string subsection)
Definition: parameterreader.h:93
Definition: reducednewtonalgorithmwithinverse.h:50
Definition: reducedprobleminterface.h:335
ReducedNewtonAlgorithmWithInverse(PROBLEM *OP, ReducedProblemInterface< PROBLEM, VECTOR > *S, ParameterReader ¶m_reader, DOpEExceptionHandler< VECTOR > *Except=NULL, DOpEOutputHandler< VECTOR > *Output=NULL, int base_priority=0)
Definition: reducednewtonalgorithmwithinverse.h:141
Definition: optproblemcontainer.h:72