mapFieldsPar: Removed unused function

This commit is contained in:
Henry Weller
2022-05-30 13:00:22 +01:00
parent d151a85bf7
commit 3e664e9279
2 changed files with 0 additions and 35 deletions

View File

@ -166,32 +166,4 @@ void Foam::mapSubMesh
}
Foam::wordList Foam::addProcessorPatches
(
const fvMesh& meshTarget,
const wordList& cuttingPatches
)
{
// Add the processor patches to the cutting list
HashSet<word> cuttingPatchTable;
forAll(cuttingPatches, i)
{
cuttingPatchTable.insert(cuttingPatches[i]);
}
const polyBoundaryMesh& pbm = meshTarget.boundaryMesh();
forAll(pbm, patchi)
{
if (isA<processorPolyPatch>(pbm[patchi]))
{
const word& patchName = pbm[patchi].name();
cuttingPatchTable.insert(patchName);
}
}
return cuttingPatchTable.toc();
}
// ************************************************************************* //

View File

@ -65,13 +65,6 @@ void mapSubMesh
);
wordList addProcessorPatches
(
const fvMesh& meshTarget,
const wordList& cuttingPatches
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam