#include <NOX_Direction_Utils_InexactNewton.H>
Collaboration diagram for NOX::Direction::Utils::InexactNewton:

Public Member Functions | |
| InexactNewton (const Teuchos::RCP< NOX::GlobalData > &gd, Teuchos::ParameterList &directionSublist) | |
| Constructor. | |
| virtual | ~InexactNewton () |
| Destructor. | |
| virtual bool | reset (const Teuchos::RCP< NOX::GlobalData > &gd, Teuchos::ParameterList &directionSublist) |
| Reset the utilities. | |
| virtual double | computeForcingTerm (const NOX::Abstract::Group &soln, const NOX::Abstract::Group &oldSoln, int niter, const NOX::Solver::Generic &solver, double eta_last=-1.0) |
If we use an iterative linear solver for a Newton-based solve, then this is called an inexact Newton method. The tolerance used to terminate the linear solve is called the forcing term. The forcing term may be constant, or it may be adjustable. In either case, at iteration
we require,
Here
is the forcing term for iteration
.
With the following safeguards imposed:
With the following safeguards imposed:
Parameters
(initial linear solver tolerance). Defaults to 0.1.
. Defaults to 1.0e-6.
. Defaults to 0.01.
(used only by "Type 2"). Defaults to 1.5.
(used only by "Type 2"). Defaults to 0.9.
should be based on the same norm used in the convergence test of the linear solver. Essentially this means that the norm must account for LEFT scaling of any kind that is applied to the linear system during a solve. If set, the computation of
will be done using a used defined function that is passed in through a NOX::Parameter::Arbitrary derived object. It will take the arbitrary object and cast it to a NOX::Parameter::UserNorm object and use it for norm computations. If this parameter is not set, this method uses the L-2 Norm for any norm computations of
.
| double NOX::Direction::Utils::InexactNewton::computeForcingTerm | ( | const NOX::Abstract::Group & | soln, | |
| const NOX::Abstract::Group & | oldSoln, | |||
| int | niter, | |||
| const NOX::Solver::Generic & | solver, | |||
| double | eta_last = -1.0 | |||
| ) | [virtual] |
if the user supplied eta_last then it will use this value for eta_km1 instead of looking for it in the "Linear Solver" sublist.
1.4.7