mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: matrix checking: Fixes #1626
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -174,12 +174,8 @@ void Foam::lduMatrix::updateMatrixInterfaces
|
|||||||
{
|
{
|
||||||
if (allUpdated)
|
if (allUpdated)
|
||||||
{
|
{
|
||||||
// All received. Just remove all storage of requests
|
// All received. Just remove all outstanding requests
|
||||||
// Note that we don't know what starting number of requests
|
UPstream::resetRequests(startRequest);
|
||||||
// was before start of sends and receives (since set from
|
|
||||||
// initMatrixInterfaces) so set to 0 and loose any in-flight
|
|
||||||
// requests.
|
|
||||||
UPstream::resetRequests(0);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user