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];
|
scalingFactorDenom += x[i]*Ax[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
vector scalingVector(scalingFactorNum, scalingFactorDenom, 0);
|
vector2D scalingVector(scalingFactorNum, scalingFactorDenom);
|
||||||
reduce(scalingVector, sumOp<vector>());
|
reduce(scalingVector, sumOp<vector2D>());
|
||||||
|
|
||||||
// Scale x
|
// Scale x
|
||||||
if
|
if
|
||||||
|
|
Reference in a new issue