ENH: lduMatrix: new matrix solvers: PPCG,PPCR
PPCG is pipelined version of PCG, PPCR is conjugate residual version.
This commit is contained in:
committed by
Andrew Heather
parent
2c4b639e1f
commit
ab4bfaeee3
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user