AMG Robustness fix

This commit is contained in:
Hrvoje Jasak 2015-04-23 13:56:52 +01:00
parent c143ca0fc7
commit 80c034aa99

View file

@ -263,7 +263,9 @@ void Foam::fineAmgLevel::scaleX
// Scale x
if
(
scalingVector[0]*scalingVector[1] <= 0
mag(scalingVector[0]) > GREAT
|| mag(scalingVector[1]) > GREAT
|| scalingVector[0]*scalingVector[1] <= 0
|| mag(scalingVector[0]) < mag(scalingVector[1])
)
{