boost::mpi::operator& — Computes the intersection of two process groups.
// In header: <boost/mpi/group.hpp> BOOST_MPI_DECL group operator&(const group & g1, const group & g2);
This routine returns a new group that contains all processes that are in group g1 and in group g2, ordered in the same way as g1. Equivalent to MPI_Group_intersection.
group
g1
g2
MPI_Group_intersection