Null preconditioner for both symmetric and asymmetric matrices. More...
#include <OpenFOAM/noPreconditioner.H>
Null preconditioner for both symmetric and asymmetric matrices.
Definition at line 49 of file noPreconditioner.H.
Public Member Functions | |
TypeName ("none") | |
Runtime type information.
| |
noPreconditioner (const lduMatrix::solver &, const dictionary &solverControlsUnused) | |
Construct from matrix components and preconditioner solver controls.
| |
virtual | ~noPreconditioner () |
virtual void | precondition (scalarField &wA, const scalarField &rA, const direction cmpt=0) const |
Return wA the preconditioned form of residual rA.
| |
virtual void | preconditionT (scalarField &wT, const scalarField &rT, const direction cmpt=0) const |
Return wT the transpose-matrix preconditioned form of residual rT.
|
noPreconditioner | ( | const lduMatrix::solver & | sol, |
const dictionary & | solverControlsUnused | ||
) |
Construct from matrix components and preconditioner solver controls.
Definition at line 47 of file noPreconditioner.C.
virtual ~noPreconditioner | ( | ) | [inline, virtual]
|
Definition at line 80 of file noPreconditioner.H.
TypeName | ( | "none" | ) |
Runtime type information.
void precondition | ( | scalarField & | wA, |
const scalarField & | rA, | ||
const direction | cmpt = 0
|
||
) | const [virtual]
|
Return wA the preconditioned form of residual rA.
Implements lduMatrix::preconditioner.
Definition at line 59 of file noPreconditioner.C.
References UList< T >::begin(), and List< T >::size().
Referenced by noPreconditioner::preconditionT().
virtual void preconditionT | ( | scalarField & | wT, |
const scalarField & | rT, | ||
const direction | cmpt = 0
|
||
) | const [inline, virtual]
|
Return wT the transpose-matrix preconditioned form of residual rT.
Reimplemented from lduMatrix::preconditioner.
Definition at line 96 of file noPreconditioner.H.
References noPreconditioner::precondition().