Preconditioned bi-conjugate gradient solver for asymmetric lduMatrices using a run-time selectable preconditiioner. More...
#include <OpenFOAM/PBiCG.H>
Preconditioned bi-conjugate gradient solver for asymmetric lduMatrices using a run-time selectable preconditiioner.
Definition at line 50 of file PBiCG.H.
Public Member Functions | |
TypeName ("PBiCG") | |
Runtime type information.
| |
PBiCG (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 data stream.
| |
virtual | ~PBiCG () |
virtual lduMatrix::solverPerformance | solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const |
Solve the matrix with this solver.
|
PBiCG | ( | const word & | fieldName, |
const lduMatrix & | matrix, | ||
const FieldField< Field, scalar > & | interfaceBouCoeffs, | ||
const FieldField< Field, scalar > & | interfaceIntCoeffs, | ||
const lduInterfaceFieldPtrsList & | interfaces, | ||
const dictionary & | solverControls | ||
) |
TypeName | ( | "PBiCG" | ) |
Runtime type information.
Foam::lduMatrix::solverPerformance solve | ( | scalarField & | psi, |
const scalarField & | source, | ||
const direction | cmpt = 0
|
||
) | const [virtual]
|
Solve the matrix with this solver.
Implements lduMatrix::solver.
Definition at line 66 of file PBiCG.C.
References UList< T >::begin(), beta(), lduMatrix::solverPerformance::checkConvergence(), lduMatrix::solverPerformance::checkSingularity(), Foam::endl(), lduMatrix::solverPerformance::finalResidual(), Foam::gSumMag(), Foam::gSumProd(), Foam::Info, lduMatrix::solverPerformance::initialResidual(), Foam::mag(), lduMatrix::solverPerformance::nIterations(), and List< T >::size().