diff --git a/applications/utilities/finiteArea/makeFaMesh/checkPatchTopology.H b/applications/utilities/finiteArea/makeFaMesh/checkPatchTopology.H index 5fdf2c255b..a38666a544 100644 --- a/applications/utilities/finiteArea/makeFaMesh/checkPatchTopology.H +++ b/applications/utilities/finiteArea/makeFaMesh/checkPatchTopology.H @@ -30,12 +30,7 @@ Input const labelList patchIDs ( - pbm.patchSet - ( - polyPatchNames, - false, // warnNotFound - true // useGroups - ).sortedToc() + pbm.indices(polyPatchNames, true) // useGroups ); label nFaceLabels = 0; diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C index 1440943840..8a9c6887c8 100644 --- a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C +++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C @@ -357,7 +357,7 @@ int main(int argc, char *argv[]) dict.subDict("merge").get("patches") ).sortedToc(); - Info<< "Detecting baffles on " << mergePatchIDs.size() + Info<< "Merge baffles on " << mergePatchIDs.size() << " patches with " << returnReduce(patchSize(mesh, mergePatchIDs), sumOp