Lines Matching refs:nroots
33 PetscInt i, nroots, ls = -1, ln = -1; in PetscSFSetGraphLayout() local
43 PetscCall(PetscLayoutGetLocalSize(layout, &nroots)); in PetscSFSetGraphLayout()
59 PetscCall(PetscSFSetGraph(sf, nroots, nleaves, ilocal, localmode, remote, PETSC_OWN_POINTER)); in PetscSFSetGraphLayout()
135 PetscInt pStart, pEnd, p, nroots, nleaves = 0, l; in PetscSFSetGraphSection() local
147 PetscCall(PetscSectionGetConstrainedStorageSize(globalSection, &nroots)); in PetscSFSetGraphSection()
150 PetscCall(PetscLayoutSetLocalSize(layout, nroots)); in PetscSFSetGraphSection()
209 …PetscCall(PetscSFSetGraph(sf, nroots, nleaves, local, PETSC_OWN_POINTER, remote, PETSC_OWN_POINTER… in PetscSFSetGraphSection()
243 PetscInt numFields, nroots, rpStart, rpEnd, lpStart = PETSC_INT_MAX, lpEnd = -1, f, c; in PetscSFDistributeSection() local
288 PetscCall(PetscSFGetGraph(sf, &nroots, NULL, NULL, NULL)); in PetscSFDistributeSection()
289 rpEnd = PetscMin(rpEnd, nroots); in PetscSFDistributeSection()
292 sub[0] = (PetscBool)(nroots != rpEnd - rpStart); in PetscSFDistributeSection()
531 PetscInt i, nroots, nleaves = 0; in PetscSFCreateFromLayouts() local
548 PetscCall(PetscLayoutGetLocalSize(rmap, &nroots)); in PetscSFCreateFromLayouts()
558 …PetscCall(PetscSFSetGraph(*sf, nroots, nleaves, NULL, PETSC_OWN_POINTER, remote, PETSC_COPY_VALUES… in PetscSFCreateFromLayouts()