diff --git a/meshLibrary/utilities/helperFunctions/helperFunctionsFrontalMarking.C b/meshLibrary/utilities/helperFunctions/helperFunctionsFrontalMarking.C index 4413d2fd7a91415cf48c0a312fda8435279488fe..0624dd96bacb329d6c5ce33202fcc5c55b512af6 100644 --- a/meshLibrary/utilities/helperFunctions/helperFunctionsFrontalMarking.C +++ b/meshLibrary/utilities/helperFunctions/helperFunctionsFrontalMarking.C @@ -527,8 +527,8 @@ Foam::label Foam::Module::help::groupMarking } // broadcast group labels from the master to other processors - Pstream::scatter(nGroups); - Pstream::scatter(allGroupsNewLabel); + Pstream::broadcast(nGroups); + Pstream::broadcast(allGroupsNewLabel); // assign correct group labels forAll(globalGroupLabel, groupI)