Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c1517 Petsc3Int *rootVote = NULL, *leafVote = NULL; in DMPlexCreatePointSF() local
1534 PetscCall(PetscMalloc1(nleaves, &leafVote)); in DMPlexCreatePointSF()
1542leafVote[p].vote = (rank + (shift ? (PetscInt)PetscRealPart(shift[roots[p].index % numShifts]) : … in DMPlexCreatePointSF()
1543 leafVote[p].rank = rank; in DMPlexCreatePointSF()
1544 leafVote[p].index = p; in DMPlexCreatePointSF()
1555 PetscCall(PetscSFReduceBegin(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1556 PetscCall(PetscSFReduceEnd(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1563 PetscCall(PetscFree(leafVote)); in DMPlexCreatePointSF()