Commit 4359032a authored by mattijs's avatar mattijs

BUG: decomposePar: incorrect indexing. Fixes #1189.

parent eff78243
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | \\ / A nd |
\\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd. \\/ M anipulation | Copyright (C) 2018-2019 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
| Copyright (C) 2016-2017 Wikki Ltd | Copyright (C) 2016-2017 Wikki Ltd
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
...@@ -796,7 +796,7 @@ void Foam::faMeshDecomposition::decomposeMesh() ...@@ -796,7 +796,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
// calculate the size // calculate the size
label nEdgesOnProcessor = curProcEdges.size(); label nEdgesOnProcessor = curProcEdges.size();
for (const auto& bedges : interProcBEdges) for (const auto& bedges : interProcBEdges[procI])
{ {
nEdgesOnProcessor += bedges.size(); nEdgesOnProcessor += bedges.size();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment