Home
last modified time | relevance | path

Searched refs:xcommsize (Results 1 – 1 of 1) sorted by relevance

/petsc/src/vec/vec/utils/
H A Dvscat.c672 PetscMPIInt xcommsize, ycommsize, rank, result; in VecScatterCreate() local
688 PetscCallMPI(MPI_Comm_size(xcomm, &xcommsize)); in VecScatterCreate()
691 if (xcommsize > 1 && ycommsize > 1) { in VecScatterCreate()
708 …if (xcommsize > 1 && ycommsize == 1) { /* PtoS: null ix means the whole x will be scattered to eac… in VecScatterCreate()
719 …if (xcommsize == 1 && ycommsize > 1) { /* StoP: null iy means the whole y will be scattered to fro… in VecScatterCreate()
755 if (xcommsize > 1 && ycommsize == 1) { /* Ranks do not diverge at this if-test */ in VecScatterCreate()
795 bigcomm = (xcommsize == 1) ? ycomm : xcomm; in VecScatterCreate()
864 if (xcommsize == 1) PetscCall(VecCreateMPIWithArray(bigcomm, 1, xlen, PETSC_DECIDE, NULL, &xx)); in VecScatterCreate()
900 leafdata[2*i+1] = (xcommsize > 1)? xindices[i] : xindices[i] + xstart; in VecScatterCreate()
948 if (xcommsize == 1) { in VecScatterCreate()
[all …]