Loading...
Searching...
No Matches
weightedresidreductioncriterion.hh File Reference

Convergence criterion which looks at the weighted absolute value of the residual. More...

`#include "convergencecriterion.hh"`
`#include <iostream>`

Go to the source code of this file.

## Classes

class | Opm::Linear::WeightedResidualReductionCriterion< Vector, CollectiveCommunication >
| Convergence criterion which looks at the weighted absolute value of the residual. More...

## Namespaces

namespace | Opm
| This file contains a set of helper functions used by VFPProd / VFPInj.

## Detailed Description

Convergence criterion which looks at the weighted absolute value of the residual.

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

where is the residual for the k-th iterative solution vector and is the weight of the -th linear equation.

In addition, to the reduction of the maximum defect, the linear solver is also considered to be converged, if the defect goes below a given absolute limit.