Go to the documentation of this file.
38 lduMatrix::preconditioner::addsymMatrixConstructorToTable
41 lduMatrix::preconditioner::addasymMatrixConstructorToTable
58 sol.interfaceBouCoeffs(),
59 sol.interfaceIntCoeffs(),
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;
const lduInterfaceFieldPtrsList & interfaces() const noexcept
friend class GAMGPreconditioner
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
lduMatrix::preconditioner::addsymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerSymMatrixConstructorToTable_
const word & fieldName() const noexcept
Generic templated field type.
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()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~GAMGPreconditioner()
Geometric agglomerated algebraic multigrid preconditioner.
virtual void precondition(solveScalarField &wA, const solveScalarField &rA, const direction cmpt=0) const
Geometric agglomerated algebraic multigrid solver.
const FieldField< Field, scalar > & interfaceIntCoeffs() const noexcept
lduMatrix::preconditioner::addasymMatrixConstructorToTable< GAMGPreconditioner > addGAMGPreconditionerAsymMatrixConstructorToTable_
defineTypeNameAndDebug(combustionModel, 0)
const lduMatrix & matrix() const noexcept