Lines Matching refs:remotes

1216           const PetscSFNode *remotes;  in DMSetUp_pforest()  local
1220 PetscCall(PetscSFGetGraph(preCoarseToFine, &nroots, &nleaves, &leaves, &remotes)); in DMSetUp_pforest()
1226 … for (i = 0; i < nleaves; i++) remotesAll[(leaves ? leaves[i] : i) + cLocalStart] = remotes[i]; in DMSetUp_pforest()
1259 const PetscSFNode *remotes; in DMSetUp_pforest() local
1263 PetscCall(PetscSFGetGraph(coarseToPreFine, &nroots, &nleaves, &leaves, &remotes)); in DMSetUp_pforest()
1293 if (i > nleavesExpanded) remotesExpanded[nleavesExpanded] = remotes[i]; in DMSetUp_pforest()
1889 sc_array_t *remotes = sc_array_new(2 * sizeof(p4est_locidx_t)); in P4estToPlex_Local() local
1892 …_dim, cone_sizes, cones, cone_orientations, coords, children, parents, childids, leaves, remotes)); in P4estToPlex_Local()
1913 sc_array_destroy(remotes); in P4estToPlex_Local()
4118 …cone_sizes, *cones, *cone_orientations, *coords, *children, *parents, *childids, *leaves, *remotes; in DMConvert_pforest_plex() local
4176 remotes = sc_array_new(2 * sizeof(p4est_locidx_t)); in DMConvert_pforest_plex()
4178 …m, cone_sizes, cones, cone_orientations, coords, children, parents, childids, leaves, remotes, 1)); in DMConvert_pforest_plex()
4191 PetscCall(locidx_pair_to_PetscSFNode(remotes)); in DMConvert_pforest_plex()
4217 …elem_count, (PetscInt *)leaves->array, PETSC_COPY_VALUES, (PetscSFNode *)remotes->array, PETSC_COP… in DMConvert_pforest_plex()
4236 sc_array_destroy(remotes); in DMConvert_pforest_plex()
4622 PetscSFNode *remotes; in DMForestTransferVecFromBase_pforest() local
4635 PetscCall(PetscMalloc1(nleaves, &remotes)); in DMForestTransferVecFromBase_pforest()
4639 remotes[leaf - iStart].rank = rank; in DMForestTransferVecFromBase_pforest()
4641 remotes[leaf - iStart].index = index; in DMForestTransferVecFromBase_pforest()
4645 …PetscCall(PetscSFSetGraph(basetocoarse, nroots, nleaves, NULL, PETSC_OWN_POINTER, remotes, PETSC_O… in DMForestTransferVecFromBase_pforest()