Preconditioned conjugate gradient solver for symmetric lduMatrices using a run-time selectable precon...
void operator=(const PCG &)=delete
Disallow default bitwise assignment.
PCG(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
Construct from matrix components and solver controls.
virtual ~PCG()
Destructor.
TypeName("PCG")
Runtime type information.
virtual solverPerformance solve(scalarField &psi, const scalarField &source, const direction cmpt=0) const
Solve the matrix with this solver.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for lduMatrix solvers.
const lduInterfaceFieldPtrsList & interfaces() const
const FieldField< Field, scalar > & interfaceIntCoeffs() const
const word & fieldName() const
const lduMatrix & matrix() const
const FieldField< Field, scalar > & interfaceBouCoeffs() const
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
A class for handling words, derived from string.
const volScalarField & psi