Searched refs:yindices_sorted (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 931 PetscInt j, k, n, disp, rlentotal, *sstart, *xindices_sorted, *yindices_sorted; in VecScatterCreate() local 943 PetscCall(PetscMalloc2(n, &xindices_sorted, n, &yindices_sorted)); in VecScatterCreate() 945 PetscCall(PetscArraycpy(yindices_sorted, yindices, n)); in VecScatterCreate() 946 PetscCall(PetscSortIntWithArray(n, yindices_sorted, xindices_sorted)); in VecScatterCreate() 965 if (yindices_sorted[i] >= yrange[j + 1]) { /* If i-th index is out of rank j's bound */ in VecScatterCreate() 968 …} while (yindices_sorted[i] >= yrange[j + 1] && j < ycommsize); /* Increase j until i-th index fal… in VecScatterCreate() 969 …etscInt_FMT " not owned by any process, upper bound %" PetscInt_FMT, yindices_sorted[i], yrange[yc… in VecScatterCreate() 1022 …PetscCallMPI(MPIU_Isend(yindices_sorted + sstart[i], count, MPIU_INT, sendto[i], tag2, ycomm, sreq… in VecScatterCreate() 1046 PetscCall(PetscFree2(xindices_sorted, yindices_sorted)); in VecScatterCreate()
|