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