Lines Matching refs:neg

1479   PetscInt       *recv = NULL, *neg = NULL;  in PetscSectionCreateGlobalSection()  local
1505 PetscCall(PetscMalloc2(nroots, &neg, nlocal, &recv)); in PetscSectionCreateGlobalSection()
1506 PetscCall(PetscArrayzero(neg, nroots)); in PetscSectionCreateGlobalSection()
1514 if (neg) neg[p] = -(dof + 1); 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()
1545 if (neg) neg[p] = -(gs->atlasOff[p - pStart] + 1); 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()
1557 PetscCall(PetscFree2(neg, recv)); in PetscSectionCreateGlobalSection()
1624 PetscInt *neg = NULL, *tmpOff = NULL; in PetscSectionCreateGlobalSectionCensored() local
1638 PetscCall(PetscCalloc1(nroots, &neg)); in PetscSectionCreateGlobalSectionCensored()
1658 if (neg) neg[p] = -(dof + 1); in PetscSectionCreateGlobalSectionCensored()
1662 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionCensored()
1663 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionCensored()
1683 if (neg) neg[p + pStart] = -((*gsection)->atlasOff[p] + 1); in PetscSectionCreateGlobalSectionCensored()
1689 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionCensored()
1690 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionCensored()
1698 PetscCall(PetscFree(neg)); in PetscSectionCreateGlobalSectionCensored()