diff --git a/src/lagrangian/basic/InteractionLists/ReferredCellList/ReferredCellList.C b/src/lagrangian/basic/InteractionLists/ReferredCellList/ReferredCellList.C index 1f5cd9e194..b2e482f212 100644 --- a/src/lagrangian/basic/InteractionLists/ReferredCellList/ReferredCellList.C +++ b/src/lagrangian/basic/InteractionLists/ReferredCellList/ReferredCellList.C @@ -368,7 +368,7 @@ void Foam::ReferredCellList::buildReferredCellList // boundaries. Separate treatment allows the serial version to run // transparently. - if (mesh.boundaryMesh()[patchI].type() == "cyclic") + if (isA(mesh.boundaryMesh()[patchI])) { const cyclicPolyPatch& patch = refCast (