Go to the documentation of this file.
38 #ifndef DiagonalPreconditioner_H
39 #define DiagonalPreconditioner_H
52 template<
class Type,
class DType,
class LUType>
55 public LduMatrix<Type, DType, LUType>::preconditioner
Field< DType > rD
The inverse (reciprocal for scalar) diagonal.
Diagonal preconditioner for both symmetric and asymmetric matrices.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
virtual void read(const dictionary &preconditionerDict)
Read and reset the preconditioner parameters from the given.
virtual ~DiagonalPreconditioner()
TypeName("diagonal")
Runtime type information.
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....
void operator=(const DiagonalPreconditioner &)
Disallow default bitwise assignment.
virtual void precondition(Field< Type > &wA, const Field< Type > &rA) const
Return wA the preconditioned form of residual rA.
DiagonalPreconditioner(const DiagonalPreconditioner &)
Disallow default bitwise copy construct.