Geometric agglomerated algebraic multigrid preconditioner. More...
#include <OpenFOAM/GAMGPreconditioner.H>
Geometric agglomerated algebraic multigrid preconditioner.
Definition at line 52 of file GAMGPreconditioner.H.
Public Member Functions | |
TypeName ("GAMG") | |
Runtime type information.
| |
GAMGPreconditioner (const lduMatrix::solver &, const dictionary &solverControls) | |
Construct from matrix components and preconditioner solver controls.
| |
virtual | ~GAMGPreconditioner () |
virtual void | precondition (scalarField &wA, const scalarField &rA, const direction cmpt=0) const |
Return wA the preconditioned form of residual rA.
| |
Protected Member Functions | |
virtual void | readControls () |
Read the control parameters from the controlDict_.
| |
Protected Attributes | |
label | nVcycles_ |
Number of V-cycles to perform.
|
GAMGPreconditioner | ( | const lduMatrix::solver & | sol, |
const dictionary & | solverControls | ||
) |
Construct from matrix components and preconditioner solver controls.
Definition at line 45 of file GAMGPreconditioner.C.
~GAMGPreconditioner | ( | ) | [virtual]
|
Definition at line 68 of file GAMGPreconditioner.C.
void readControls | ( | ) | [protected, virtual]
|
Read the control parameters from the controlDict_.
Reimplemented from GAMGSolver.
Definition at line 74 of file GAMGPreconditioner.C.
TypeName | ( | "GAMG" | ) |
Runtime type information.
Reimplemented from GAMGSolver.
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 82 of file GAMGPreconditioner.C.
References List< T >::size().
label nVcycles_ [protected]
|
Number of V-cycles to perform.
Definition at line 61 of file GAMGPreconditioner.H.