Bugfix: Aitken relaxation
This commit is contained in:
parent
a2919d36e5
commit
6653e9a5d4
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ void Foam::sixDOFqODE::relaxAcceleration
|
|||
const scalar maxRelFactor
|
||||
)
|
||||
{
|
||||
if (minRelFactor - maxRelFactor < SMALL)
|
||||
if (mag(minRelFactor - maxRelFactor) < SMALL)
|
||||
{
|
||||
// Fixed relaxation
|
||||
relaxFactorT_ = minRelFactor;
|
||||
|
|
Reference in a new issue