Geometric agglomerated algebraic multigrid solver. More...
#include <OpenFOAM/GAMGSolver.H>
Geometric agglomerated algebraic multigrid solver.
Definition at line 72 of file GAMGSolver.H.
Inheritance diagram for GAMGSolver:
Collaboration diagram for GAMGSolver:Friends | |
| class | GAMGPreconditioner |
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. | |
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 | |
| label | maxIter_ |
| Maximum number of iterations in the solver. | |
| scalar | tolerance_ |
| Final convergence tolerance. | |
| scalar | relTol_ |
| Convergence tolerance relative to the initial. | |
| 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.
Definition at line 45 of file GAMGSolver.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and forAll.
|
virtual |
Definition at line 127 of file GAMGSolver.C.
References forAll, and UPtrList< T >::set().
| TypeName | ( | "GAMG" | ) |
Runtime type information.
Reimplemented in GAMGPreconditioner.
|
virtual |
Solve.
Implements lduMatrix::solver.
Definition at line 34 of file GAMGSolverSolve.C.
References lduMatrix::solverPerformance::checkConvergence(), Foam::endl(), lduMatrix::solverPerformance::finalResidual(), Foam::gSumMag(), lduMatrix::solverPerformance::initialResidual(), lduMatrix::solverPerformance::nIterations(), Foam::Pout, lduMatrix::solverPerformance::print(), and List< T >::size().
|
friend |
Definition at line 206 of file GAMGSolver.H.