38 #ifndef diagonalPreconditioner_H
39 #define diagonalPreconditioner_H
Diagonal preconditioner for both symmetric and asymmetric matrices.
virtual void precondition(scalarField &wA, const scalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
TypeName("diagonal")
Runtime type information.
diagonalPreconditioner(const lduMatrix::solver &, const dictionary &solverControlsUnused)
Construct from matrix components and preconditioner solver controls.
virtual void preconditionT(scalarField &wT, const scalarField &rT, const direction cmpt=0) const
Return wT the transpose-matrix preconditioned form of residual rT.
void operator=(const diagonalPreconditioner &)=delete
Disallow default bitwise assignment.
virtual ~diagonalPreconditioner()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for lduMatrix preconditioners.
Abstract base-class for lduMatrix solvers.