Home
last modified time | relevance | path

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

/petsc/src/vec/is/is/tests/
H A Dex9.c47 PetscLayout rootLayout; in main() local
50 PetscCall(PetscLayoutCreateFromSizes(comm, PETSC_DECIDE, nGlobal, 1, &rootLayout)); in main()
51 PetscCall(PetscSFSetGraphLayout(sf, rootLayout, nLocal, NULL, PETSC_USE_POINTER, indices)); in main()
53 …PetscCall(ISLocalToGlobalMappingCreateSF(sf, auto_offset ? PETSC_DECIDE : rootLayout->rstart, &l2g… in main()
67 PetscCall(PetscLayoutCompare(lt, rootLayout, &flg)); in main()
74 PetscCall(PetscLayoutDestroy(&rootLayout)); in main()
/petsc/src/vec/is/sf/tests/
H A Dex18.c99 PetscLayout rootLayout; in PetscSFViewCustom() local
106 PetscCall(PetscSFGetGraphLayout(sf, &rootLayout, NULL, NULL, &gremote)); in PetscSFViewCustom()
107 …PetscCheck(nroots == rootLayout->n, PetscObjectComm((PetscObject)sf), PETSC_ERR_PLIB, "Assertion f… in PetscSFViewCustom()
121 PetscCall(PetscLayoutDestroy(&rootLayout)); in PetscSFViewCustom()