#include "petscsys.h" PetscErrorCode PetscSubcommSetTypeGeneral(PetscSubcomm psubcomm,PetscMPIInt color,PetscMPIInt subrank)Collective on MPI_Comm
psubcomm | - PetscSubcomm context | |
color | - control of subset assignment (nonnegative integer). Processes with the same color are in the same subcommunicator. | |
subrank | - rank in the subcommunicator |