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++)
139 (ApsiScratch.size() ? ApsiScratch : AwA),
141 finestCorrectionScratch.size()
142 ? finestCorrectionScratch
151 if (cycle < nVcycles_-1)
154 matrix_.Amul(AwA, wA, interfaceBouCoeffs_, interfaces_, cmpt);
155 finestResidual = rA_ss;
156 finestResidual -= AwA;
GAMGPreconditioner(const lduMatrix::solver &, const dictionary &solverControls)
Construct from matrix components and preconditioner solver controls.
const lduInterfaceFieldPtrsList & interfaces() const
const lduMatrix & matrix() const
Container< Type > * get() noexcept
Return pointer without nullptr checking.
lduMatrix::preconditioner::addsymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerSymMatrixConstructorToTable_
Abstract base-class for lduMatrix solvers.
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 > & interfaceBouCoeffs() const
const word & fieldName() const
Abstract base-class for lduMatrix preconditioners.
lduMatrix::preconditioner::addasymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerAsymMatrixConstructorToTable_
const FieldField< Field, scalar > & interfaceIntCoeffs() const
defineTypeNameAndDebug(combustionModel, 0)