Preconditioning bugfix by Alexander Monakov
This commit is contained in:
parent
8616d140e0
commit
d25102187a
1 changed files with 3 additions and 2 deletions
|
@ -172,8 +172,9 @@ Foam::lduSolverPerformance Foam::bicgStabSolver::solve
|
|||
s[i] = r[i] - alpha*v[i];
|
||||
}
|
||||
|
||||
// Execute preconditioning transpose
|
||||
preconPtr_->preconditionT(sh, s, cmpt);
|
||||
// Execute preconditioning
|
||||
// Bug fix, Alexander Monakov, 11/Jul/2012
|
||||
preconPtr_->precondition(sh, s, cmpt);
|
||||
matrix_.Amul(t, sh, coupleBouCoeffs_, interfaces_, cmpt);
|
||||
omega = gSumProd(t, s)/gSumProd(t, t);
|
||||
|
||||
|
|
Reference in a new issue