mpi::communicator::split

#include <mpi/communicator.hpp>

Synopsis

communicator split (int color, int key = 0) const

Returns

If mpi::has_env is true, return the split MPI_Comm object wrapped in a new mpi::communicator, otherwise

return a default constructed mpi::communicator.