PBiCGStab: Corrected to support processorAgglomerator
Patch contributed by Battijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2383
This commit is contained in:
parent
2fedcfd00c
commit
3d754f4a12
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ Foam::solverPerformance Foam::PBiCGStab::solve
|
|||
|
||||
// --- Calculate omega from tA and sA
|
||||
// (cheaper than using zA with preconditioned tA)
|
||||
omega = gSumProd(tA, sA)/tAtA;
|
||||
omega = gSumProd(tA, sA, matrix().mesh().comm())/tAtA;
|
||||
|
||||
// --- Update solution and residual
|
||||
for (label cell=0; cell<nCells; cell++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue