Lines Matching refs:gremote
100 PetscInt *gremote; in PetscSFViewCustom() local
106 PetscCall(PetscSFGetGraphLayout(sf, &rootLayout, NULL, NULL, &gremote)); in PetscSFViewCustom()
117 …PetscMPIInt)(ilocal ? ilocal[i] : i), (PetscMPIInt)iremote[i].rank, iremote[i].index, gremote[i])); in PetscSFViewCustom()
122 PetscCall(PetscFree(gremote)); in PetscSFViewCustom()
161 PetscInt *gremote; in CreateReferenceSF_Regular() local
164 PetscCall(PetscMalloc1(nLeaves, &gremote)); in CreateReferenceSF_Regular()
165 for (j = 0; j < nLeaves; j++) gremote[j] = j; in CreateReferenceSF_Regular()
166 PetscCall(PetscSFSetGraphLayout(sf, map, nLeaves, ilocal, PETSC_OWN_POINTER, gremote)); in CreateReferenceSF_Regular()
167 PetscCall(PetscFree(gremote)); in CreateReferenceSF_Regular()
276 PetscInt *gremote; in CreateSFs_Regular() local
279 PetscCall(PetscMalloc1(nLeaves, &gremote)); in CreateSFs_Regular()
280 for (j = 0; j < nLeaves; j++) gremote[j] = j; in CreateSFs_Regular()
281 PetscCall(PetscSFSetGraphLayout(sf, map, nLeaves, ilocal, PETSC_OWN_POINTER, gremote)); in CreateSFs_Regular()
282 PetscCall(PetscFree(gremote)); in CreateSFs_Regular()