Go to the documentation of this file.
38 lduMatrix::preconditioner::addsymMatrixConstructorToTable
41 lduMatrix::preconditioner::addasymMatrixConstructorToTable
80 GAMGSolver::readControls();
81 nVcycles_ = controlDict_.getOrDefault<label>(
"nVcycles", 2);
118 finestCorrectionScratch
125 for (label cycle=0; cycle<nVcycles_; cycle++)
136 (ApsiScratch.size() ? ApsiScratch : AwA),
138 finestCorrectionScratch.size()
139 ? finestCorrectionScratch
148 if (cycle < nVcycles_-1)
151 matrix_.Amul(AwA, wA, interfaceBouCoeffs_, interfaces_, cmpt);
152 finestResidual = rA_ss;
153 finestResidual -= AwA;
GAMGPreconditioner(const lduMatrix::solver &, const dictionary &solverControls)
Construct from matrix components and preconditioner solver controls.
const lduInterfaceFieldPtrsList & interfaces() const noexcept
lduMatrix::preconditioner::addsymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerSymMatrixConstructorToTable_
Abstract base-class for lduMatrix solvers.
const word & fieldName() const noexcept
const Container< Type > & cref() const
const FieldField< Field, scalar > & interfaceBouCoeffs() const noexcept
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual void readControls()
Read the control parameters from the controlDict_.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~GAMGPreconditioner()
Destructor.
Geometric agglomerated algebraic multigrid preconditioner.
virtual void precondition(solveScalarField &wA, const solveScalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
Geometric agglomerated algebraic multigrid solver.
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
A const Field/List wrapper with possible data conversion.
Abstract base-class for lduMatrix preconditioners.
lduMatrix::preconditioner::addasymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerAsymMatrixConstructorToTable_
defineTypeNameAndDebug(combustionModel, 0)
const lduMatrix & matrix() const noexcept