#include "petscsys.h" PetscErrorCode PetscSubcommSetTypeGeneral(PetscSubcomm psubcomm,PetscMPIInt color,PetscMPIInt subrank)Collective
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 |