ENH: storePrevIter now handled by solutionControl class

This commit is contained in:
andy
2011-09-08 11:42:05 +01:00
parent 22fea113e4
commit bc952e63de
11 changed files with 219 additions and 30 deletions

View File

@ -93,7 +93,7 @@ int main(int argc, char *argv[])
// mesh.relaxationFactor("alpha")
// *(lambda*max(Ua & U, zeroSensitivity) - alpha);
alpha +=
mesh.relaxationFactor("alpha")
mesh.fieldRelaxationFactor("alpha")
*(min(max(alpha + lambda*(Ua & U), zeroAlpha), alphaMax) - alpha);
zeroCells(alpha, inletCells);