Go to the documentation of this file.
44 #ifndef diagonalPreconditioner_H
45 #define diagonalPreconditioner_H
virtual ~diagonalPreconditioner()=default
Destructor.
virtual void precondition(solveScalarField &wA, const solveScalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
virtual void preconditionT(solveScalarField &wT, const solveScalarField &rT, const direction cmpt=0) const
Return wT the transpose-matrix preconditioned form of residual rT.
Abstract base-class for lduMatrix solvers.
Diagonal preconditioner for both symmetric and asymmetric matrices.
TypeName("diagonal")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base-class for lduMatrix preconditioners.