Lines Matching refs:recv
1479 PetscInt *recv = NULL, *neg = NULL; in PetscSectionCreateGlobalSection() local
1505 PetscCall(PetscMalloc2(nroots, &neg, nlocal, &recv)); in PetscSectionCreateGlobalSection()
1519 PetscCall(PetscArrayzero(recv, nlocal)); in PetscSectionCreateGlobalSection()
1520 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection()
1521 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection()
1523 if (recv[p] < 0) { in PetscSectionCreateGlobalSection()
1524 gs->atlasDof[p - pStart] = recv[p]; in PetscSectionCreateGlobalSection()
1526 …recv[p] + 1) == dof, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Global dof %" PetscInt_FMT " for point… in PetscSectionCreateGlobalSection()
1550 PetscCall(PetscArrayzero(recv, nlocal)); in PetscSectionCreateGlobalSection()
1551 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection()
1552 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection()
1554 if (recv[p] < 0) gs->atlasOff[p - pStart] = recv[p]; in PetscSectionCreateGlobalSection()
1557 PetscCall(PetscFree2(neg, recv)); in PetscSectionCreateGlobalSection()