Geometric agglomerated algebraic multigrid solver. More...
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. 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... | |
int | log_ |
Level of verbosity in the solver output statements. More... | |
label | minIter_ |
Minimum number of iterations in the solver. More... | |
label | maxIter_ |
Maximum number of iterations in the solver. More... | |
scalar | tolerance_ |
Final convergence tolerance. More... | |
scalar | relTol_ |
Convergence tolerance relative to the initial. More... | |
profilingTrigger | profiling_ |
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 solver.
Definition at line 76 of file GAMGSolver.H.
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 51 of file GAMGSolver.C.
References Foam::expressions::patchExpr::debug, lduMatrix::diag(), entry::dict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, entry::isDict(), lduMatrix::lower(), Foam::New(), Foam::nl, os(), Foam::Pout, UPtrList< T >::set(), and UPtrList< T >::size().
|
virtual |
Destructor.
Definition at line 336 of file GAMGSolver.C.
TypeName | ( | "GAMG" | ) |
Runtime type information.
|
virtual |
Solve.
Implements lduMatrix::solver.
Definition at line 36 of file GAMGSolverSolve.C.
References SolverPerformance< Type >::checkConvergence(), Foam::expressions::patchExpr::debug, Foam::endl(), SolverPerformance< Type >::finalResidual(), Foam::gSumMag(), Foam::Info, SolverPerformance< Type >::initialResidual(), messageStream::masterStream(), mesh, SolverPerformance< Type >::nIterations(), Foam::Pout, SolverPerformance< Type >::print(), psi, and refPtr< Container< Type > >::ref().
|
friend |
Definition at line 329 of file GAMGSolver.H.