Reversed order of update does not work for scalar matrix. Reverting
This commit is contained in:
parent
501d28c568
commit
e5e0ac01c3
1 changed files with 8 additions and 14 deletions
|
@ -44,13 +44,6 @@ void Foam::lduMatrix::Amul
|
||||||
// HJ, 5/Nov/2007
|
// HJ, 5/Nov/2007
|
||||||
Ax = 0;
|
Ax = 0;
|
||||||
|
|
||||||
// AmulCore must be additive to account for initialisation step
|
|
||||||
// in ldu interfaces. HJ, 6/Nov/2007
|
|
||||||
AmulCore(Ax, x);
|
|
||||||
|
|
||||||
// Note: changed order of interface update: init after core
|
|
||||||
// HJ, 14/Mar/2016
|
|
||||||
|
|
||||||
// Initialise the update of coupled interfaces
|
// Initialise the update of coupled interfaces
|
||||||
initMatrixInterfaces
|
initMatrixInterfaces
|
||||||
(
|
(
|
||||||
|
@ -61,6 +54,10 @@ void Foam::lduMatrix::Amul
|
||||||
cmpt
|
cmpt
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// AmulCore must be additive to account for initialisation step
|
||||||
|
// in ldu interfaces. HJ, 6/Nov/2007
|
||||||
|
AmulCore(Ax, x);
|
||||||
|
|
||||||
// Update coupled interfaces
|
// Update coupled interfaces
|
||||||
updateMatrixInterfaces
|
updateMatrixInterfaces
|
||||||
(
|
(
|
||||||
|
@ -132,13 +129,6 @@ void Foam::lduMatrix::Tmul
|
||||||
// HJ, 5/Nov/2007
|
// HJ, 5/Nov/2007
|
||||||
Tx = 0;
|
Tx = 0;
|
||||||
|
|
||||||
// TmulCore must be additive to account for initialisation step
|
|
||||||
// in ldu interfaces. HJ, 6/Nov/2007
|
|
||||||
TmulCore(Tx, x);
|
|
||||||
|
|
||||||
// Note: changed order of interface update: init after core
|
|
||||||
// HJ, 14/Mar/2016
|
|
||||||
|
|
||||||
// Initialise the update of coupled interfaces
|
// Initialise the update of coupled interfaces
|
||||||
initMatrixInterfaces
|
initMatrixInterfaces
|
||||||
(
|
(
|
||||||
|
@ -149,6 +139,10 @@ void Foam::lduMatrix::Tmul
|
||||||
cmpt
|
cmpt
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// TmulCore must be additive to account for initialisation step
|
||||||
|
// in ldu interfaces. HJ, 6/Nov/2007
|
||||||
|
TmulCore(Tx, x);
|
||||||
|
|
||||||
// Update coupled interfaces
|
// Update coupled interfaces
|
||||||
updateMatrixInterfaces
|
updateMatrixInterfaces
|
||||||
(
|
(
|
||||||
|
|
Reference in a new issue