mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
replacing isType with isA to enable directMappedWall to work
This commit is contained in:
@ -243,7 +243,7 @@ void domainDecomposition::decomposeMesh(const bool filterEmptyPatches)
|
||||
|
||||
const label patchStart = patches[patchi].start();
|
||||
|
||||
if (typeid(patches[patchi]) != typeid(cyclicPolyPatch))
|
||||
if (!isA<cyclicPolyPatch>(patches[patchi]))
|
||||
{
|
||||
// Normal patch. Add faces to processor where the cell
|
||||
// next to the face lives
|
||||
|
||||
@ -191,7 +191,7 @@ Foam::fvFieldReconstructor::reconstructFvVolumeField
|
||||
// add empty patches
|
||||
if
|
||||
(
|
||||
typeid(mesh_.boundary()[patchI]) == typeid(emptyFvPatch)
|
||||
isType<emptyFvPatch>(mesh_.boundary()[patchI])
|
||||
&& !patchFields(patchI)
|
||||
)
|
||||
{
|
||||
@ -411,7 +411,7 @@ Foam::fvFieldReconstructor::reconstructFvSurfaceField
|
||||
// add empty patches
|
||||
if
|
||||
(
|
||||
typeid(mesh_.boundary()[patchI]) == typeid(emptyFvPatch)
|
||||
isType<emptyFvPatch>(mesh_.boundary()[patchI])
|
||||
&& !patchFields(patchI)
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user