Searched refs:gremote (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/is/sf/tutorials/ |
| H A D | ex1f.F90 | 19 PetscSFNode, pointer :: gremote(:) 103 PetscCallA(PetscSFGetGraph(sf, gnroots, gnleaves, gmine, gremote, ierr)) 109 …PetscCheckA(gremote(i)%index == remote(i)%index, PETSC_COMM_WORLD, PETSC_ERR_PLIB, 'Leaf from Pets… 111 PetscCallA(PetscSFRestoreGraph(sf, gnroots, gnleaves, gmine, gremote, ierr)) 131 PetscCallA(PetscSFGetGraph(sf, gnroots, gnleaves, gmine, gremote, ierr)) 133 PetscCallA(PetscSFRestoreGraph(sf, gnroots, gnleaves, gmine, gremote, ierr))
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex18.c | 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 [all …]
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 30 …out layout, PetscInt nleaves, PetscInt ilocal[], PetscCopyMode localmode, const PetscInt gremote[]) in PetscSFSetGraphLayout() argument 41 if (nleaves > 0) PetscAssertPointer(gremote, 6); in PetscSFSetGraphLayout() 46 if (nleaves) ls = gremote[0] + 1; in PetscSFSetGraphLayout() 48 const PetscInt idx = gremote[i] - ls; in PetscSFSetGraphLayout() 50 PetscCall(PetscLayoutFindOwnerIndex(layout, gremote[i], &lr, &remote[i].index)); in PetscSFSetGraphLayout() 86 …(PetscSF sf, PetscLayout *layout, PetscInt *nleaves, const PetscInt *ilocal[], PetscInt *gremote[]) in PetscSFGetGraphLayout() argument 97 if (gremote) PetscAssertPointer(gremote, 5); in PetscSFGetGraphLayout() 100 if (gremote) { in PetscSFGetGraphLayout() 108 *gremote = gr; in PetscSFGetGraphLayout()
|
| /petsc/src/vec/is/sf/interface/ |
| H A D | sf.c | 2459 PetscInt *gremote = NULL; in PetscSFConcatenate() local 2529 PetscCall(PetscMalloc1(nLeaves, &gremote)); in PetscSFConcatenate() 2531 for (i = 0; i < nls[s]; i++, j++) gremote[j] = inds[s][i] + rootOffset; in PetscSFConcatenate() 2622 …PetscCall(PetscSFSetGraphLayout(*newsf, glayout, nLeaves, ilocal_new, PETSC_OWN_POINTER, gremote)); in PetscSFConcatenate() 2627 PetscCall(PetscFree(gremote)); in PetscSFConcatenate()
|