combinedcriterion.hh File Reference
#include "convergencecriterion.hh"
#include <iostream>
Include dependency graph for combinedcriterion.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Opm::Linear::CombinedCriterion< Vector, CollectiveCommunication >
 Convergence criterion which looks at the absolute value of the residual and fails if the linear solver stagnates. More...
 

Namespaces

namespace  Opm
 
namespace  Opm::Linear
 

Detailed Description

Convergence criterion which looks at the absolute value of the residual and fails if the linear solver stagnates.

For the CombinedCriterion, the error of the solution is defined as

\[ e^k = \max_i\{
\left| r^k_i \right| \}\;, \]

where $r^k = \mathbf{A} x^k - b $ is the residual for the k-th iterative solution vector $x^k$.

In addition, to the reduction of the maximum residual, the linear solver is aborted early if the residual goes below or above absolute limits.