Formatting
This commit is contained in:
parent
e6cba04e58
commit
c23b98b17b
1 changed files with 2 additions and 2 deletions
|
@ -119,14 +119,14 @@ void Foam::ggiAMGInterfaceField::updateInterfaceMatrix
|
||||||
|
|
||||||
if (switchToLhs)
|
if (switchToLhs)
|
||||||
{
|
{
|
||||||
forAll(faceCells, elemI)
|
forAll (faceCells, elemI)
|
||||||
{
|
{
|
||||||
result[faceCells[elemI]] += coeffs[elemI]*pnf[elemI];
|
result[faceCells[elemI]] += coeffs[elemI]*pnf[elemI];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
forAll(faceCells, elemI)
|
forAll (faceCells, elemI)
|
||||||
{
|
{
|
||||||
result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
|
result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue