ENH: lduMatrix: new matrix solvers: PPCG,PPCR

PPCG is pipelined version of PCG, PPCR is conjugate
residual version.
This commit is contained in:
Mattijs Janssens
2020-03-11 13:53:03 +00:00
committed by Andrew Heather
parent 2c4b639e1f
commit ab4bfaeee3
21 changed files with 928 additions and 76 deletions

View File

@ -105,6 +105,8 @@ Foam::SolverPerformance<Type> Foam::faMatrix<Type>::solve
PrecisionAdaptor<solveScalar, scalar> sourceCmpt_ss(sourceCmpt);
ConstPrecisionAdaptor<solveScalar, scalar> psiCmpt_ss(psiCmpt);
const label startRequest = Pstream::nRequests();
initMatrixInterfaces
(
true,
@ -122,7 +124,8 @@ Foam::SolverPerformance<Type> Foam::faMatrix<Type>::solve
interfaces,
psiCmpt_ss(),
sourceCmpt_ss.ref(),
cmpt
cmpt,
startRequest
);
}