mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: was not counting the processorCyclic patches.
This commit is contained in:
@ -761,11 +761,7 @@ forAll(procPatches, patchI)
|
|||||||
|
|
||||||
forAll(procMesh.boundaryMesh(), patchi)
|
forAll(procMesh.boundaryMesh(), patchi)
|
||||||
{
|
{
|
||||||
if
|
if (isA<processorPolyPatch>(procMesh.boundaryMesh()[patchi]))
|
||||||
(
|
|
||||||
procMesh.boundaryMesh()[patchi].type()
|
|
||||||
== processorPolyPatch::typeName
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
const processorPolyPatch& ppp =
|
const processorPolyPatch& ppp =
|
||||||
refCast<const processorPolyPatch>
|
refCast<const processorPolyPatch>
|
||||||
@ -843,11 +839,7 @@ forAll(procPatches, patchI)
|
|||||||
// (= identity map for original patches, -1 for processor patches)
|
// (= identity map for original patches, -1 for processor patches)
|
||||||
label nMeshPatches = curPatchSizes.size();
|
label nMeshPatches = curPatchSizes.size();
|
||||||
labelList procBoundaryAddressing(identity(nMeshPatches));
|
labelList procBoundaryAddressing(identity(nMeshPatches));
|
||||||
procBoundaryAddressing.setSize
|
procBoundaryAddressing.setSize(nMeshPatches+nProcPatches, -1);
|
||||||
(
|
|
||||||
nMeshPatches+curProcessorPatchSizes.size(),
|
|
||||||
-1
|
|
||||||
);
|
|
||||||
|
|
||||||
labelIOList boundaryProcAddressing
|
labelIOList boundaryProcAddressing
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user