Preconditioned bi-conjugate gradient stabilized solver for asymmetric lduMatrices using a run-time selectable preconditioner. More...
Additional Inherited Members | |
![]() | |
static autoPtr< solver > | New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) |
![]() | |
virtual void | readControls () |
![]() | |
word | fieldName_ |
const lduMatrix & | matrix_ |
const FieldField< Field, scalar > & | interfaceBouCoeffs_ |
const FieldField< Field, scalar > & | interfaceIntCoeffs_ |
lduInterfaceFieldPtrsList | interfaces_ |
dictionary | controlDict_ |
int | log_ |
label | minIter_ |
label | maxIter_ |
scalar | tolerance_ |
scalar | relTol_ |
profilingTrigger | profiling_ |
![]() | |
static const label | defaultMaxIter_ = 1000 |
Preconditioned bi-conjugate gradient stabilized solver for asymmetric lduMatrices using a run-time selectable preconditioner.
Van der Vorst, H. A. (1992). Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems. SIAM Journal on scientific and Statistical Computing, 13(2), 631-644. Barrett, R., Berry, M. W., Chan, T. F., Demmel, J., Donato, J., Dongarra, J., Eijkhout, V., Pozo, R., Romine, C. & Van der Vorst, H. (1994). Templates for the solution of linear systems: building blocks for iterative methods (Vol. 43). Siam.
Definition at line 63 of file PBiCGStab.H.
PBiCGStab | ( | const word & | fieldName, |
const lduMatrix & | matrix, | ||
const FieldField< Field, scalar > & | interfaceBouCoeffs, | ||
const FieldField< Field, scalar > & | interfaceIntCoeffs, | ||
const lduInterfaceFieldPtrsList & | interfaces, | ||
const dictionary & | solverControls | ||
) |
Definition at line 42 of file PBiCGStab.C.
|
virtualdefault |
TypeName | ( | "PBiCGStab" | ) |
|
virtual |
Reimplemented from lduMatrix::solver.
Definition at line 66 of file PBiCGStab.C.
References Foam::constant::atomic::alpha, beta(), SolverPerformance::checkConvergence(), SolverPerformance::checkSingularity(), Foam::expressions::patchExpr::debug, Foam::endl(), SolverPerformance::finalResidual(), Foam::gSumMag(), Foam::gSumProd(), Foam::gSumSqr(), Foam::Info, SolverPerformance::initialResidual(), Foam::mag(), mesh, Foam::New(), SolverPerformance::nIterations(), psi, and lduMatrix::setResidualField().
|
virtual |
Implements lduMatrix::solver.
Definition at line 272 of file PBiCGStab.C.
References refPtr< Field< Type > >::ref().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.