Home
last modified time | relevance | path

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

/petsc/src/dm/label/
H A Ddmlabel.c2594 PetscInt *neg = NULL, *tmpOff = NULL; in PetscSectionCreateGlobalSectionLabel() local
2609 PetscCall(PetscCalloc1(nroots, &tmpOff)); in PetscSectionCreateGlobalSectionLabel()
2611 tmpOff = &(*gsection)->atlasDof[-pStart]; in PetscSectionCreateGlobalSectionLabel()
2628 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel()
2629 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel()
2632 if (tmpOff[p] < 0) (*gsection)->atlasDof[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()
2650 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel()
2651 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel()
2654 if (tmpOff[p] < 0) (*gsection)->atlasOff[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()
2658 if (nroots >= 0 && nroots > pEnd - pStart) PetscCall(PetscFree(tmpOff)); in PetscSectionCreateGlobalSectionLabel()
/petsc/src/vec/is/section/interface/
H A Dsection.c1624 PetscInt *neg = NULL, *tmpOff = NULL; in PetscSectionCreateGlobalSectionCensored() local
1640 PetscCall(PetscCalloc1(nroots, &tmpOff)); in PetscSectionCreateGlobalSectionCensored()
1642 tmpOff = &(*gsection)->atlasDof[-pStart]; 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()
1666 if (tmpOff[p] < 0) (*gsection)->atlasDof[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionCensored()
1688 if (nroots == pEnd - pStart) tmpOff = &(*gsection)->atlasOff[-pStart]; 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()
1693 if (tmpOff[p] < 0) (*gsection)->atlasOff[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionCensored()
[all …]