42#ifndef TDILUPreconditioner_H
43#define TDILUPreconditioner_H
56template<
class Type,
class DType,
class LUType>
59 public LduMatrix<Type, DType, LUType>::preconditioner
Generic templated field type.
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()=default
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.
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 a number of values (eg,...
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.