2 aitkenDelta.storePrevIter();
5 aitkenDelta = (U - U.prevIter()) / aitkenInitialRes;
7 // update relaxation factor
14 vectorField b = aitkenDelta.internalField() - aitkenDelta.prevIter().internalField();
15 //scalar sumMagB = gSum(mag(b));
16 scalar sumMagB = gSum(magSqr(b));
19 //Warning << "Aitken under-relaxation: denominator less then SMALL"
24 aitkenTheta = -aitkenTheta*
25 gSum(aitkenDelta.prevIter().internalField() & b)/sumMagB;
28 // correction to the latest U
29 U += aitkenTheta*aitkenDelta*aitkenInitialRes;