Geometric agglomerated algebraic multigrid solver. More...
#include <OpenFOAM/GAMGSolver.H>
Geometric agglomerated algebraic multigrid solver.
Definition at line 72 of file GAMGSolver.H.
Public Member Functions | |
TypeName ("GAMG") | |
Runtime type information.
| |
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.
| |
virtual | ~GAMGSolver () |
virtual lduMatrix::solverPerformance | solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const |
Solve.
| |
Friends | |
class | GAMGPreconditioner |
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.
~GAMGSolver | ( | ) | [virtual]
|
Definition at line 127 of file GAMGSolver.C.
References forAll, and UPtrList< T >::set().
TypeName | ( | "GAMG" | ) |
Runtime type information.
Reimplemented in GAMGPreconditioner.
Foam::lduMatrix::solverPerformance solve | ( | scalarField & | psi, |
const scalarField & | source, | ||
const direction | cmpt = 0
|
||
) | const [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 class GAMGPreconditioner [friend]
|
Definition at line 206 of file GAMGSolver.H.