Home
last modified time | relevance | path

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

/petsc/src/dm/impls/network/
H A Dnetwork.c1980 PetscInt *local_points, *remote_points; in PetscSFGetSubSF() local
1995 PetscCall(PetscMalloc2(nroots, &local_points, nroots, &remote_points)); in PetscSFGetSubSF()
1996 for (i = 0; i < nroots; i++) local_points[i] = i; in PetscSFGetSubSF()
1997 …tscCall(ISGlobalToLocalMappingApply(map, IS_GTOLM_MASK, nroots, local_points, NULL, local_points)); in PetscSFGetSubSF()
1998 PetscCall(PetscSFBcastBegin(mainsf, MPIU_INT, local_points, remote_points, MPI_REPLACE)); in PetscSFGetSubSF()
1999 PetscCall(PetscSFBcastEnd(mainsf, MPIU_INT, local_points, remote_points, MPI_REPLACE)); in PetscSFGetSubSF()
2012 PetscCall(PetscFree2(local_points, remote_points)); in PetscSFGetSubSF()