Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/tests/
H A Dex19.c111 const PetscInt *tlocal; in CreateSF0() local
114 PetscCall(PetscSFGetGraph(sf, NULL, NULL, &tlocal, NULL)); in CreateSF0()
115 …PetscCheck(!ctx->contiguousLeaves || !tlocal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "ilocal=NULL expect… in CreateSF0()
116 if (tlocal) { in CreateSF0()
117 PetscCall(PetscSortedInt(nLeaves, tlocal, &sorted)); in CreateSF0()
150 const PetscInt *tlocal; in CreateSF1() local
152 PetscCall(PetscSFGetGraph(sf, NULL, NULL, &tlocal, NULL)); in CreateSF1()
153 … PetscCheck(!tlocal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "ilocal=NULL expected for contiguous case"); in CreateSF1()
/petsc/src/vec/is/sf/interface/
H A Dsf.c487 PetscInt *tlocal = NULL; in PetscSFSetGraph() local
489 PetscCall(PetscMalloc1(nleaves, &tlocal)); in PetscSFSetGraph()
490 PetscCall(PetscArraycpy(tlocal, ilocal, nleaves)); in PetscSFSetGraph()
491 ilocal = tlocal; in PetscSFSetGraph()