fixpointcriterion.hh File Reference

Provides a convergence criterion for the linear solvers which looks at the weighted maximum of the difference between two iterations. More...

Include dependency graph for fixpointcriterion.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ewoms::FixPointCriterion< Vector, CollectiveCommunication >
 Provides a convergence criterion for the linear solvers which looks at the weighted maximum of the difference between two iterations. More...
 

Namespaces

 Ewoms
 

Detailed Description

Provides a convergence criterion for the linear solvers which looks at the weighted maximum of the difference between two iterations.

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

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

where $\delta = x^k - x^{k + 1} $ is the difference between two consequtive iterative solution vectors $x^k$ and $x^{k + 1}$ and $w_i$ is the weight of the $i$-th degree of freedom.

This criterion requires that the block type of the vector is a Dune::FieldVector