PBiCGStab: Instantiate for symmetric and asymmetric matrices

PBiCGStab has proved more reliable than PCG for solving the pressure equation in
compressible systems.
This commit is contained in:
Henry Weller
2017-02-28 20:08:38 +00:00
parent b053ad0356
commit 0d4b7cbab1

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -31,6 +31,9 @@ namespace Foam
{
defineTypeNameAndDebug(PBiCGStab, 0);
lduMatrix::solver::addsymMatrixConstructorToTable<PBiCGStab>
addPBiCGStabSymMatrixConstructorToTable_;
lduMatrix::solver::addasymMatrixConstructorToTable<PBiCGStab>
addPBiCGStabAsymMatrixConstructorToTable_;
}