diff --git a/src/meshTools/sets/faceZoneSources/planeToFaceZone/planeToFaceZone.C b/src/meshTools/sets/faceZoneSources/planeToFaceZone/planeToFaceZone.C index e1b8a87274..05017c2c57 100644 --- a/src/meshTools/sets/faceZoneSources/planeToFaceZone/planeToFaceZone.C +++ b/src/meshTools/sets/faceZoneSources/planeToFaceZone/planeToFaceZone.C @@ -73,12 +73,12 @@ Foam::topoSetSource::addToUsageTable Foam::planeToFaceZone::usage_ const Foam::Enum < - Foam::planeToFaceZone::faceZoneAction + Foam::planeToFaceZone::faceAction > -Foam::planeToFaceZone::faceZoneActionNames_ +Foam::planeToFaceZone::faceActionNames_ ({ - { faceZoneAction::ALL, "all" }, - { faceZoneAction::CLOSEST, "closest" }, + { faceAction::ALL, "all" }, + { faceAction::CLOSEST, "closest" }, }); @@ -112,14 +112,14 @@ void Foam::planeToFaceZone::combine(faceZoneSet& fzSet, const bool add) const patch.coupled() && cellIsAbovePlane[mesh_.faceOwner()[facei]]; } } - syncTools::syncFaceList(mesh_, faceIsOnPlane, notEqualOp()); + syncTools::syncFaceList(mesh_, faceIsOnPlane, xorEqOp()); // Convert marked faces to a list of indices labelList newSetFaces(findIndices(faceIsOnPlane, true)); // If constructing a single contiguous set, remove all faces except those // connected to the contiguous region closest to the specified point - if (option_ == faceZoneAction::CLOSEST) + if (option_ == faceAction::CLOSEST) { // Step 1: Get locally contiguous regions for the new face set and the // total number of regions across all processors. @@ -188,7 +188,7 @@ void Foam::planeToFaceZone::combine(faceZoneSet& fzSet, const bool add) const ( mesh_, meshEdgeRegions, - globalMeshData::ListPlusEqOp(), + ListOps::appendEqOp