Public Member Functions |
|
Iteration & | operator= (Iteration< NumericalType > const &iter) |
| copy operator
|
void | operator++ () throw () |
| prefix ++ operator
|
|
int | numberOfIterations () const |
real_type | residual () const throw () |
| get the Residual
|
real_type | relativePrecision () const |
int | maximumNumberOfIterations () const |
NumericalType | initialResidual () const |
real_type | relaxation () const |
int | iteration () const |
|
void | setMaximumNumberOfIterations (int m) throw () |
| set the Max number of iterations
|
void | setRelativePrecision (NumericalType p) throw () |
| set the relative precision to reach
|
void | setInitialResidual (NumericalType ninit) throw () |
| initial norm for the residual
|
void | setRelaxation (real_type __w) |
|
bool | isFinished (NumericalType r, bool verbose=false) |
| tells if the iteration finished
|
template<typename VectorX > |
bool | isFinished (const VectorX &r, bool verbose=false) |
bool | isConverged (NumericalType r) throw () |
template<typename VectorX > |
bool | isConverged (VectorX const &x) throw () |
bool | isFirst () const |
void | reset () |
template<typename Real>
class Feel::Iteration< Real >
brief description
The Iteration object calculates whether the solution has reached the desired accuracy, or whether the maximum number of iterations has been reached. The method isFinished()
checks both convergence and number of iterations. The method isConverged()
only checks convergence. The isFirst()
method is used to determine the first iteration of the loop.
The following notation will be used
the residual
the relative precision
the number of already performed iterations
the maximum number of iterations allowed - Author:
- Christophe Prud'homme
- See also:
- Version:
- Id:
- Iteration.hpp,v 1.6 2002/08/22 13:09:56 prudhomm Exp