rheolef  6.3
rheolef::newton_identity_preconditioner Struct Reference

`damped_newton` – damped Newton nonlinear algorithm More...

`#include <damped_newton.h>`

## Public Member Functions

template<class Problem >
Float operator() (const Problem &P, const typename Problem::value_type &MFv) const
template<class Problem >
Float operator() (const Problem &P, const typename Problem::value_type &MFu, const typename Problem::value_type &delta_u) const
template<class Problem >
Problem::value_type grad (const Problem &P, const typename Problem::value_type &MFu) const
template<class Problem >
Float slope (const Problem &P, const typename Problem::value_type &MFu, const typename Problem::value_type &delta_u) const

## Detailed Description

`damped_newton` – damped Newton nonlinear algorithm

Nonlinear damped Newton algorithm for the resolution of the following problem:

F(u) = 0

A simple call to the algorithm writes:

my_problem P;
field uh (Vh);
damped_newton (P, uh, tol, max_iter);

In addition to the members required for the Newton algorithm (see newton algorithm), the `space_norm` and `duality_product` are required for the damped Newton line search algorithm:

class my_problem {
public:
...
Float space_norm (const field& uh) const;
Float duality_product (const field& mrh, const field& msh) const;
};

Definition at line 35 of file damped_newton.h.

## Member Function Documentation

template<class Problem >
 Float rheolef::newton_identity_preconditioner::operator() ( const Problem & P, const typename Problem::value_type & MFv ) const
inline

Definition at line 37 of file damped_newton.h.

template<class Problem >
 Float rheolef::newton_identity_preconditioner::operator() ( const Problem & P, const typename Problem::value_type & MFu, const typename Problem::value_type & delta_u ) const
inline

Definition at line 41 of file damped_newton.h.

template<class Problem >
 Problem::value_type rheolef::newton_identity_preconditioner::grad ( const Problem & P, const typename Problem::value_type & MFu ) const
inline

Definition at line 45 of file damped_newton.h.

template<class Problem >
 Float rheolef::newton_identity_preconditioner::slope ( const Problem & P, const typename Problem::value_type & MFu, const typename Problem::value_type & delta_u ) const
inline

Definition at line 49 of file damped_newton.h.

The documentation for this struct was generated from the following file: