Geometric agglomerated algebraic multigrid preconditioner. More...


Public Member Functions | |
| TypeName ("GAMG") | |
| Runtime type information. More... | |
| GAMGPreconditioner (const lduMatrix::solver &, const dictionary &solverControls) | |
| Construct from matrix components and preconditioner solver controls. More... | |
| virtual | ~GAMGPreconditioner () |
| Destructor. More... | |
| virtual void | precondition (scalarField &wA, const scalarField &rA, const direction cmpt=0) const |
| Return wA the preconditioned form of residual rA. More... | |
Public Member Functions inherited from GAMGSolver | |
| TypeName ("GAMG") | |
| Runtime type information. More... | |
| GAMGSolver (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) | |
| Construct from lduMatrix and solver controls. More... | |
| virtual | ~GAMGSolver () |
| Destructor. More... | |
| virtual solverPerformance | solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const |
| Solve. More... | |
Public Member Functions inherited from lduMatrix::solver | |
| virtual const word & | type () const =0 |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, solver, symMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverControls)) | |
| declareRunTimeSelectionTable (autoPtr, solver, asymMatrix,(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls),(fieldName, matrix, interfaceBouCoeffs, interfaceIntCoeffs, interfaces, solverControls)) | |
| solver (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) | |
| virtual | ~solver () |
| Destructor. More... | |
| const word & | fieldName () const |
| const lduMatrix & | matrix () const |
| const FieldField< Field, scalar > & | interfaceBouCoeffs () const |
| const FieldField< Field, scalar > & | interfaceIntCoeffs () const |
| const lduInterfaceFieldPtrsList & | interfaces () const |
| virtual void | read (const dictionary &) |
| Read and reset the solver parameters from the given stream. More... | |
| scalar | normFactor (const scalarField &psi, const scalarField &source, const scalarField &Apsi, scalarField &tmpField) const |
| Return the matrix norm used to normalise the residual for the. More... | |
Public Member Functions inherited from lduMatrix::preconditioner | |
| virtual const word & | type () const =0 |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, preconditioner, symMatrix,(const solver &sol, const dictionary &solverControls),(sol, solverControls)) | |
| declareRunTimeSelectionTable (autoPtr, preconditioner, asymMatrix,(const solver &sol, const dictionary &solverControls),(sol, solverControls)) | |
| preconditioner (const solver &sol) | |
| virtual | ~preconditioner () |
| Destructor. More... | |
| virtual void | read (const dictionary &) |
| Read and reset the preconditioner parameters. More... | |
| virtual void | preconditionT (scalarField &wT, const scalarField &rT, const direction cmpt=0) const |
| Return wT the transpose-matrix preconditioned form of. More... | |
Protected Member Functions | |
| virtual void | readControls () |
| Read the control parameters from the controlDict_. More... | |
Protected Attributes | |
| label | nVcycles_ |
| Number of V-cycles to perform. More... | |
Protected Attributes inherited from lduMatrix::solver | |
| word | fieldName_ |
| const lduMatrix & | matrix_ |
| const FieldField< Field, scalar > & | interfaceBouCoeffs_ |
| const FieldField< Field, scalar > & | interfaceIntCoeffs_ |
| lduInterfaceFieldPtrsList | interfaces_ |
| dictionary | controlDict_ |
| Dictionary of controls. More... | |
| label | maxIter_ |
| Maximum number of iterations in the solver. More... | |
| label | minIter_ |
| Minimum number of iterations in the solver. More... | |
| scalar | tolerance_ |
| Final convergence tolerance. More... | |
| scalar | relTol_ |
| Convergence tolerance relative to the initial. More... | |
Protected Attributes inherited from lduMatrix::preconditioner | |
| const solver & | solver_ |
| Reference to the base-solver this preconditioner is used with. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from lduMatrix::solver | |
| static autoPtr< solver > | New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) |
| Return a new solver. More... | |
Static Public Member Functions inherited from lduMatrix::preconditioner | |
| static word | getName (const dictionary &) |
| Find the preconditioner name (directly or from a sub-dictionary) More... | |
| static autoPtr< preconditioner > | New (const solver &sol, const dictionary &solverControls) |
| Return a new preconditioner. More... | |
Static Protected Attributes inherited from lduMatrix::solver | |
| static const label | defaultMaxIter_ = 1000 |
| Default maximum number of iterations in the solver. More... | |
Geometric agglomerated algebraic multigrid preconditioner.
Definition at line 51 of file GAMGPreconditioner.H.
| GAMGPreconditioner | ( | const lduMatrix::solver & | sol, |
| const dictionary & | solverControls | ||
| ) |
Construct from matrix components and preconditioner solver controls.
Definition at line 45 of file GAMGPreconditioner.C.
|
virtual |
Destructor.
Definition at line 68 of file GAMGPreconditioner.C.
|
protectedvirtual |
Read the control parameters from the controlDict_.
Reimplemented from GAMGSolver.
Definition at line 74 of file GAMGPreconditioner.C.
References GAMGPreconditioner::precondition().

| TypeName | ( | "GAMG" | ) |
Runtime type information.
|
virtual |
Return wA the preconditioned form of residual rA.
Implements lduMatrix::preconditioner.
Definition at line 82 of file GAMGPreconditioner.C.
References List< T >::size().
Referenced by GAMGPreconditioner::readControls().


|
protected |
Number of V-cycles to perform.
Definition at line 60 of file GAMGPreconditioner.H.
1.8.13