39 #ifndef TDILUPreconditioner_H
40 #define TDILUPreconditioner_H
53 template<
class Type,
class DType,
class LUType>
56 public LduMatrix<Type, DType, LUType>::preconditioner
Abstract base-class for LduMatrix solvers.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Simplified diagonal-based incomplete LU preconditioner for asymmetric matrices.
TypeName("DILU")
Runtime type information.
virtual ~TDILUPreconditioner()
static void calcInvD(Field< DType > &rD, const LduMatrix< Type, DType, LUType > &matrix)
Calculate the reciprocal of the preconditioned diagonal.
virtual void precondition(Field< Type > &wA, const Field< Type > &rA) const
Return wA the preconditioned form of residual rA.
TDILUPreconditioner(const typename LduMatrix< Type, DType, LUType >::solver &sol, const dictionary &preconditionerDict)
Construct from matrix components and preconditioner data dictionary.
virtual void preconditionT(Field< Type > &wT, const Field< Type > &rT) const
Return wT the transpose-matrix preconditioned form of.
A list of keyword definitions, which are a keyword followed by any number of values (e....