diff --git a/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.C b/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.C index 93b065e5cf..ea39848520 100644 --- a/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.C +++ b/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.C @@ -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 cuttingPatchTable; - forAll(cuttingPatches, i) - { - cuttingPatchTable.insert(cuttingPatches[i]); - } - - const polyBoundaryMesh& pbm = meshTarget.boundaryMesh(); - - forAll(pbm, patchi) - { - if (isA(pbm[patchi])) - { - const word& patchName = pbm[patchi].name(); - cuttingPatchTable.insert(patchName); - } - } - - return cuttingPatchTable.toc(); -} - - // ************************************************************************* // diff --git a/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.H b/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.H index edbf88474d..bb6e08df6a 100644 --- a/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.H +++ b/applications/utilities/preProcessing/mapFieldsPar/mapMeshes.H @@ -65,13 +65,6 @@ void mapSubMesh ); -wordList addProcessorPatches -( - const fvMesh& meshTarget, - const wordList& cuttingPatches -); - - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // } // End namespace Foam