Lines Matching refs:layout

30 PetscErrorCode PetscSFSetGraphLayout(PetscSF sf, PetscLayout layout, PetscInt nleaves, PetscInt ilo…  in PetscSFSetGraphLayout()  argument
39 PetscAssertPointer(layout, 2); in PetscSFSetGraphLayout()
42 PetscCall(PetscLayoutSetUp(layout)); in PetscSFSetGraphLayout()
43 PetscCall(PetscLayoutGetLocalSize(layout, &nroots)); in PetscSFSetGraphLayout()
44 PetscCall(PetscLayoutGetRanges(layout, &range)); in PetscSFSetGraphLayout()
50 PetscCall(PetscLayoutFindOwnerIndex(layout, gremote[i], &lr, &remote[i].index)); in PetscSFSetGraphLayout()
86 PetscErrorCode PetscSFGetGraphLayout(PetscSF sf, PetscLayout *layout, PetscInt *nleaves, const Pets… in PetscSFGetGraphLayout() argument
94 if (layout) PetscAssertPointer(layout, 2); in PetscSFGetGraphLayout()
111 if (layout) *layout = lt; in PetscSFGetGraphLayout()
131 PetscLayout layout; in PetscSFSetGraphSection() local
148 PetscCall(PetscLayoutCreate(comm, &layout)); in PetscSFSetGraphSection()
149 PetscCall(PetscLayoutSetBlockSize(layout, 1)); in PetscSFSetGraphSection()
150 PetscCall(PetscLayoutSetLocalSize(layout, nroots)); in PetscSFSetGraphSection()
151 PetscCall(PetscLayoutSetUp(layout)); in PetscSFSetGraphSection()
152 PetscCall(PetscLayoutGetRanges(layout, &ranges)); in PetscSFSetGraphSection()
208 PetscCall(PetscLayoutDestroy(&layout)); in PetscSFSetGraphSection()
728 PetscErrorCode PetscSFCreateByMatchingIndices(PetscLayout layout, PetscInt numRootIndices, const Pe… in PetscSFCreateByMatchingIndices() argument
730 MPI_Comm comm = layout->comm; in PetscSFCreateByMatchingIndices()
738 PetscAssertPointer(layout, 1); in PetscSFCreateByMatchingIndices()
748 PetscCall(PetscLayoutSetUp(layout)); in PetscSFCreateByMatchingIndices()
749 PetscCall(PetscLayoutGetSize(layout, &N)); in PetscSFCreateByMatchingIndices()
750 PetscCall(PetscLayoutGetLocalSize(layout, &n)); in PetscSFCreateByMatchingIndices()
773 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)… in PetscSFCreateByMatchingIndices()
788 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_POINTER, leafIndices)… in PetscSFCreateByMatchingIndices()