Lines Matching refs:numLeaves

1123           PetscInt       numRoots, numLeaves;  in DMSetUp_pforest()  local
1130 numLeaves = (PetscInt)(postEnd - postStart); in DMSetUp_pforest()
1147 …PetscCall(PetscSFSetGraph(repartSF, numRoots, numLeaves, NULL, PETSC_OWN_POINTER, repartRoots, PET… in DMSetUp_pforest()
2818 PetscInt numLeaves; in DMPforestGetTransferSF_Point() local
2825 numLeaves = 0; in DMPforestGetTransferSF_Point()
2827 if (roots[p - pStartF].index >= 0) numLeaves++; in DMPforestGetTransferSF_Point()
2829 PetscCall(PetscMalloc1(numLeaves, &leaves)); in DMPforestGetTransferSF_Point()
2830 PetscCall(PetscMalloc1(numLeaves, &iremote)); in DMPforestGetTransferSF_Point()
2831 numLeaves = 0; in DMPforestGetTransferSF_Point()
2834 leaves[numLeaves] = p - pStartF; in DMPforestGetTransferSF_Point()
2835 iremote[numLeaves] = roots[p - pStartF]; in DMPforestGetTransferSF_Point()
2836 numLeaves++; in DMPforestGetTransferSF_Point()
2841 if (numLeaves == (pEndF - pStartF)) { in DMPforestGetTransferSF_Point()
2843 …PetscCall(PetscSFSetGraph(*sf, numRoots, numLeaves, NULL, PETSC_OWN_POINTER, iremote, PETSC_OWN_PO… in DMPforestGetTransferSF_Point()
2845 …PetscCall(PetscSFSetGraph(*sf, numRoots, numLeaves, leaves, PETSC_OWN_POINTER, iremote, PETSC_OWN_… in DMPforestGetTransferSF_Point()
2929 PetscInt numLeaves; in DMPforestGetTransferSF_Internal() local
2936 PetscCall(PetscSFGetGraph(pointTransferSF, &numRoots, &numLeaves, &leaves, &iremote)); in DMPforestGetTransferSF_Internal()
2971 for (i = 0; i < numLeaves; i++) { in DMPforestGetTransferSF_Internal()
2981 for (i = 0; i < numLeaves; i++) { in DMPforestGetTransferSF_Internal()