mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: decomposePar: incorrect indexing. Fixes #1189.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd |
|
||||
\\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
|
||||
\\/ M anipulation | Copyright (C) 2018-2019 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
| Copyright (C) 2016-2017 Wikki Ltd
|
||||
-------------------------------------------------------------------------------
|
||||
@ -796,7 +796,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
|
||||
// calculate the size
|
||||
label nEdgesOnProcessor = curProcEdges.size();
|
||||
|
||||
for (const auto& bedges : interProcBEdges)
|
||||
for (const auto& bedges : interProcBEdges[procI])
|
||||
{
|
||||
nEdgesOnProcessor += bedges.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user