cellsToCells::distributeMesh: Specifically handle processorPolyPatch, not processorCyclicPolyPatch
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user