Lines Matching refs:scomm
21 MPI_Comm gcomm, dcomm, scomm; in MatIncreaseOverlapSplit_Single() local
33 PetscCall(PetscCommDuplicate(dcomm, &scomm, NULL)); in MatIncreaseOverlapSplit_Single()
37 PetscCallMPI(MPI_Comm_compare(gcomm, scomm, &issamecomm)); in MatIncreaseOverlapSplit_Single()
42 PetscCall(PetscCommDestroy(&scomm)); in MatIncreaseOverlapSplit_Single()
48 PetscCallMPI(MPI_Comm_compare(scomm, PETSC_COMM_SELF, &issamecomm)); in MatIncreaseOverlapSplit_Single()
50 PetscCall(PetscCommDestroy(&scomm)); in MatIncreaseOverlapSplit_Single()
53 PetscCallMPI(MPI_Comm_rank(scomm, &srank)); in MatIncreaseOverlapSplit_Single()
54 PetscCallMPI(MPI_Comm_size(scomm, &size)); in MatIncreaseOverlapSplit_Single()
67 PetscCall(ISCreateGeneral(scomm, nindx, indices_sc, PETSC_OWN_POINTER, &is_sc)); in MatIncreaseOverlapSplit_Single()
74 PetscCallMPI(MPI_Gather(&nindx, 1, MPIU_INT, localsizes_sc, 1, MPIU_INT, 0, scomm)); in MatIncreaseOverlapSplit_Single()
130 PetscCallMPI(MPI_Scatter(localsizes_sc, 1, MPIU_INT, &nroots, 1, MPIU_INT, 0, scomm)); in MatIncreaseOverlapSplit_Single()
134 PetscCall(PetscSFCreate(scomm, &sf)); in MatIncreaseOverlapSplit_Single()
142 PetscCall(ISCreateGeneral(scomm, nroots, indices_recv, PETSC_OWN_POINTER, &is_sc)); in MatIncreaseOverlapSplit_Single()
146 PetscCall(MatPartitioningCreate(scomm, &part)); in MatIncreaseOverlapSplit_Single()
169 PetscCall(PetscCommDestroy(&scomm)); in MatIncreaseOverlapSplit_Single()