Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

NewtonRaphson Class Reference

Newton-Raphson iteration for nonlinear systems. More...

#include <NewtonRaphson.h>

Inheritance diagram for NewtonRaphson::

NonLinEqSolver HandleId List of all members.

Public Methods

 NewtonRaphson (const NonLinEqSolver_prm &pm)
 ~NewtonRaphson ()
virtual bool ordinarySolve ()
virtual bool singleStep ()

Detailed Description

Newton-Raphson iteration for nonlinear systems.

NAME: NewtonRaphson - Newton-Raphson iteration for nonlinear systems

DESCRIPTION:

See class "NonLinEqSolver".


Constructor & Destructor Documentation

NewtonRaphson::NewtonRaphson ( const NonLinEqSolver_prm & pm )
 

See class "NonLinEqSolver".

NewtonRaphson::~NewtonRaphson ( ) [inline]
 


Member Function Documentation

bool NewtonRaphson::ordinarySolve ( ) [virtual]
 

Reimplemented from NonLinEqSolver.

bool NewtonRaphson::singleStep ( ) [virtual]
 

this function is like "ordinarySolve", but a return is performed after each step in the iteration. Hence the user can check the development of the nonlinear iterations. This may be useful is convergence problems occur. The function returns "true" as long as the convergence criteria are not satisified, and "false" when the stopping criteria are satisfied. Note this difference in comparison with "solve". The user must implement the loop, usually in terms of a "while(performSingleStep)" type of construction. Prior to the loop, a call to "initSingleSteps" must be performed.

Reimplemented from NonLinEqSolver.


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.