Go to the documentation of this file.
38 #ifndef diagonalPreconditioner_H
39 #define diagonalPreconditioner_H
Abstract base-class for lduMatrix solvers.
virtual void precondition(scalarField &wA, const scalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
Diagonal preconditioner for both symmetric and asymmetric matrices.
Pre-declare SubField and related Field type.
diagonalPreconditioner(const diagonalPreconditioner &)
Disallow default bitwise copy construct.
TypeName("diagonal")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual ~diagonalPreconditioner()
Destructor.
virtual void preconditionT(scalarField &wT, const scalarField &rT, const direction cmpt=0) const
Return wT the transpose-matrix preconditioned form of residual rT.
scalarField rD
The reciprocal diagonal.
Abstract base-class for lduMatrix preconditioners.
void operator=(const diagonalPreconditioner &)
Disallow default bitwise assignment.