Go to the documentation of this file.
37 #ifndef DILUPreconditioner_H
38 #define DILUPreconditioner_H
virtual void precondition(scalarField &wA, const scalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
static void calcReciprocalD(scalarField &rD, const lduMatrix &matrix)
Calculate the reciprocal of the preconditioned diagonal.
virtual ~DILUPreconditioner()
Destructor.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Abstract base-class for lduMatrix solvers.
DILUPreconditioner(const lduMatrix::solver &, const dictionary &solverControlsUnused)
Construct from matrix components and preconditioner solver controls.
TypeName("DILU")
Runtime type information.
Simplified diagonal-based incomplete LU preconditioner for asymmetric matrices. The reciprocal of the...
scalarField rD_
The reciprocal preconditioned diagonal.
Pre-declare SubField and related Field type.
virtual void preconditionT(scalarField &wT, const scalarField &rT, const direction cmpt=0) const
Return wT the transpose-matrix preconditioned form of residual rT.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for lduMatrix preconditioners.