cellsToCells::distributeMesh: Specifically handle processorPolyPatch, not processorCyclicPolyPatch

This commit is contained in:
Henry Weller
2023-06-21 15:31:19 +01:00
parent f49eb3011d
commit cead8bb02e

View File

@ -201,7 +201,7 @@ Foam::List<Foam::remote> Foam::cellsToCells::distributeMesh
const polyPatch& pp = mesh.boundaryMesh()[patchi];
const label nbrProci =
isA<processorPolyPatch>(pp)
isType<processorPolyPatch>(pp)
? refCast<const processorPolyPatch>(pp).neighbProcNo()
: -1;