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