Home
last modified time | relevance | path

Searched refs:rootVote (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
1533 PetscCall(PetscMalloc1(nroots, &rootVote)); in DMPlexCreatePointSF()
1548 rootVote[p].vote = -3; in DMPlexCreatePointSF()
1549 rootVote[p].rank = -3; in DMPlexCreatePointSF()
1550 rootVote[p].index = -3; in DMPlexCreatePointSF()
1555 PetscCall(PetscSFReduceBegin(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1556 PetscCall(PetscSFReduceEnd(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1560 rootNodes[p].rank = rootVote[p].rank; in DMPlexCreatePointSF()
1561 rootNodes[p].index = rootVote[p].index; in DMPlexCreatePointSF()
1564 PetscCall(PetscFree(rootVote)); in DMPlexCreatePointSF()