Commit 1b3d9858 authored by Henry Weller's avatar Henry Weller
Browse files

PBiCGStab: Corrected to support processorAgglomerator

Patch contributed by Battijs Janssens
Resolves bug-report
parent b4b77e76
......@@ -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++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment