opm-simulators
residreductioncriterion.hh File Reference

Provides a convergence criterion which looks at the reduction of the two-norm of the residual for the linear solvers. More...

#include "convergencecriterion.hh"
#include <dune/istl/scalarproducts.hh>

Go to the source code of this file.

Classes

class  Opm::Linear::ResidReductionCriterion< Vector >
 Provides a convergence criterion which looks at the reduction of the two-norm of the residual for the linear solvers. More...
 

Namespaces

 Opm
 Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that both can include.
 

Detailed Description

Provides a convergence criterion which looks at the reduction of the two-norm of the residual for the linear solvers.

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

\[ e^k = \frac{\left| A x_k - b \right|}{\left| A x_0 - b \right|}\;, \]