damped_newton(4rheolef) | rheolef-7.0 | damped_newton(4rheolef) |
damped_newton -- damped Newton nonlinear algorithm
Nonlinear damped Newton algorithm for the resolution of the following problem:
A simple call to the algorithm writes:
F(u) = 0
In addition to the members required for the Newton algorithm (see newton(4)), the space_norm is required for the damped Newton line search algorithm:
my_problem P;
field uh (Vh);
damped_newton (P, uh, tol, max_iter);
class my_problem {
public:
...
value_type derivative_trans_mult (const value_type& mrh) const;
Float space_norm (const value_type& uh) const;
};
template <class Problem, class Field, class Real, class Size> int damped_newton (const Problem& F, Field& u, Real& tol, Size& max_iter, odiststream* p_derr=0)
Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
rheolef-7.0 | rheolef-7.0 |