Searched refs:ncols_recv (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/adj/mpi/ |
| H A D | mpiadj.c | 12 PetscInt nlrows_is, icols_n, i, j, nroots, nleaves, rlocalindex, *ncols_send, *ncols_recv; in MatCreateSubMatrix_MPIAdj_data() local 40 …, &ncols_send, nlrows_is, &xadj_recv, nlrows_is + 1, &ncols_recv_offsets, nlrows_is, &ncols_recv)); in MatCreateSubMatrix_MPIAdj_data() 47 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, ncols_send, ncols_recv, MPI_REPLACE)); in MatCreateSubMatrix_MPIAdj_data() 48 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, ncols_send, ncols_recv, MPI_REPLACE)); in MatCreateSubMatrix_MPIAdj_data() 54 Ncols_recv += ncols_recv[i]; in MatCreateSubMatrix_MPIAdj_data() 55 ncols_recv_offsets[i + 1] = ncols_recv[i] + ncols_recv_offsets[i]; in MatCreateSubMatrix_MPIAdj_data() 65 for (j = 0; j < ncols_recv[i]; j++) { in MatCreateSubMatrix_MPIAdj_data() 95 ncols_recv[i]--; in MatCreateSubMatrix_MPIAdj_data() 114 for (i = 0; i < nlrows_is; i++) sxadj[i + 1] = sxadj[i] + ncols_recv[i]; in MatCreateSubMatrix_MPIAdj_data() 127 PetscCall(PetscFree4(ncols_send, xadj_recv, ncols_recv_offsets, ncols_recv)); in MatCreateSubMatrix_MPIAdj_data()
|