AMG Robustness fix
This commit is contained in:
parent
c143ca0fc7
commit
80c034aa99
1 changed files with 3 additions and 1 deletions
|
@ -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])
|
||||
)
|
||||
{
|
||||
|
|
Reference in a new issue