Clean-up of coupled updates on scalar Cholesky and ILU0 preconditioners

This commit is contained in:
Hrvoje Jasak 2017-06-19 18:17:34 +01:00
parent dc0ad86c6f
commit bc7cc7ca9b
2 changed files with 6 additions and 3 deletions

View file

@ -74,7 +74,6 @@ void Foam::CholeskyPrecon::calcPreconDiag()
// Get interface coefficiens. Note: symmetric matrix
// HJ, 19/Jun/2017
const scalarField& bouCoeffs = coupleBouCoeffs_[patchI];
const scalarField& intCoeffs = coupleIntCoeffs_[patchI];
forAll (fc, coeffI)
{
@ -184,6 +183,9 @@ void Foam::CholeskyPrecon::precondition
<< abort(FatalError);
}
// Note: coupled boundary updated is not needed because x is zero
// HJ and VV, 19/Jun/2017
// Diagonal block
{
scalar* __restrict__ xPtr = x.begin();

View file

@ -186,7 +186,8 @@ void Foam::ILU0::precondition
<< abort(FatalError);
}
// Note: coupled boundary updated is not needed because x is zero
// HJ and VV, 19/Jun/2017
// Diagonal block
{