From 798239779a404f012edfcc65d2bce3cd9c2b6daf Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 2 Oct 2014 17:51:16 +0100 Subject: [PATCH] Bug fix: ticketsfoamextendrelease:#256 --- .../scalarProcessorBlockGAMGInterfaceField.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/foam/matrices/blockLduMatrix/BlockLduMatrix/BlockLduInterfaceField/processorBlockGAMGInterfaceField/scalarProcessorBlockGAMGInterfaceField.H b/src/foam/matrices/blockLduMatrix/BlockLduMatrix/BlockLduInterfaceField/processorBlockGAMGInterfaceField/scalarProcessorBlockGAMGInterfaceField.H index f069e90bb..41db97484 100644 --- a/src/foam/matrices/blockLduMatrix/BlockLduMatrix/BlockLduInterfaceField/processorBlockGAMGInterfaceField/scalarProcessorBlockGAMGInterfaceField.H +++ b/src/foam/matrices/blockLduMatrix/BlockLduMatrix/BlockLduInterfaceField/processorBlockGAMGInterfaceField/scalarProcessorBlockGAMGInterfaceField.H @@ -74,7 +74,7 @@ void processorBlockGAMGInterfaceField::updateInterfaceMatrix procInterface_.compressedReceive(commsType, coeffs.size()) ); - pnf = coeffs.asScalar() * + pnf = coeffs.asScalar()* procInterface_.compressedReceive(commsType, this->size())(); const unallocLabelList& faceCells = procInterface_.faceCells(); @@ -84,14 +84,14 @@ void processorBlockGAMGInterfaceField::updateInterfaceMatrix { forAll(faceCells, elemI) { - result[faceCells[elemI]] += coeffs[elemI]*pnf[elemI]; + result[faceCells[elemI]] += pnf[elemI]; } } else { forAll(faceCells, elemI) { - result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI]; + result[faceCells[elemI]] -= pnf[elemI]; } }