Bugfix: use optimised comm
This commit is contained in:
parent
d7af6267c9
commit
327be98074
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ void Foam::fineAmgLevel::scaleX
|
|||
scalingFactorDenom += x[i]*Ax[i];
|
||||
}
|
||||
|
||||
vector scalingVector(scalingFactorNum, scalingFactorDenom, 0);
|
||||
reduce(scalingVector, sumOp<vector>());
|
||||
vector2D scalingVector(scalingFactorNum, scalingFactorDenom);
|
||||
reduce(scalingVector, sumOp<vector2D>());
|
||||
|
||||
// Scale x
|
||||
if
|
||||
|
|
Reference in a new issue