mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Using isA test for cyclic patch
This commit is contained in:
@ -368,7 +368,7 @@ void Foam::ReferredCellList<ParticleType>::buildReferredCellList
|
||||
// boundaries. Separate treatment allows the serial version to run
|
||||
// transparently.
|
||||
|
||||
if (mesh.boundaryMesh()[patchI].type() == "cyclic")
|
||||
if (isA<cyclicPolyPatch>(mesh.boundaryMesh()[patchI]))
|
||||
{
|
||||
const cyclicPolyPatch& patch = refCast<const cyclicPolyPatch>
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user