|
TR-mbed 1.0
|
Controls the iterations of the iterative solvers. More...
#include <IterationController.h>
Public Member Functions | |
| void | init () |
| IterationController (double r=1.0E-8, int noi=0, size_t mit=size_t(-1)) | |
| void | operator++ (int) |
| void | operator++ () |
| bool | first () |
| int | noiseLevel () const |
| void | setNoiseLevel (int n) |
| void | reduceNoiseLevel () |
| double | maxResidual () const |
| void | setMaxResidual (double r) |
| double | residual () const |
| void | setCallback (void(*t)(const IterationController &)) |
| size_t | iteration () const |
| void | setIteration (size_t i) |
| size_t | maxIterarions () const |
| void | setMaxIterations (size_t i) |
| double | rhsNorm () const |
| void | setRhsNorm (double r) |
| bool | converged () const |
| bool | converged (double nr) |
| template<typename VectorType > | |
| bool | converged (const VectorType &v) |
| bool | finished (double nr) |
| template<typename VectorType > | |
| bool | finished (const MatrixBase< VectorType > &v) |
Protected Attributes | |
| double | m_rhsn |
| Right hand side norm. | |
| size_t | m_maxiter |
| Max. number of iterations. | |
| int | m_noise |
| if noise > 0 iterations are printed | |
| double | m_resmax |
| maximum residual | |
| double | m_resminreach |
| double | m_resadd |
| size_t | m_nit |
| iteration number | |
| double | m_res |
| last computed residual | |
| bool | m_written |
| void(* | m_callback )(const IterationController &) |
Controls the iterations of the iterative solvers.
This class has been adapted from the iteration class of GMM++ and ITL libraries.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
Max. number of iterations.
|
protected |
iteration number
|
protected |
if noise > 0 iterations are printed
|
protected |
last computed residual
|
protected |
|
protected |
maximum residual
|
protected |
|
protected |
Right hand side norm.
|
protected |