Lines Matching refs:numLeavesBA
2050 PetscInt i, numRootsA, numLeavesA, numRootsB, numLeavesB, minleaf, maxleaf, numLeavesBA; in PetscSFCompose() local
2098 for (i = 0, numLeavesBA = 0; i < numLeavesB; i++) { in PetscSFCompose()
2100 else numLeavesBA++; in PetscSFCompose()
2106 PetscCall(PetscMalloc1(numLeavesBA, &localPointsBA)); in PetscSFCompose()
2107 PetscCall(PetscMalloc1(numLeavesBA, &remotePointsBA)); in PetscSFCompose()
2108 for (i = 0, numLeavesBA = 0; i < numLeavesB; i++) { in PetscSFCompose()
2112 remotePointsBA[numLeavesBA] = leafdataB[l - minleaf]; in PetscSFCompose()
2113 localPointsBA[numLeavesBA] = l; in PetscSFCompose()
2114 numLeavesBA++; in PetscSFCompose()
2120 …PetscCall(PetscSFSetGraph(*sfBA, numRootsA, numLeavesBA, localPointsBA, PETSC_OWN_POINTER, remoteP… in PetscSFCompose()
2155 …PetscInt i, numRootsA, numLeavesA, numLeavesBA, numRootsB, numLeavesB, minleaf, maxleaf,… in PetscSFComposeInverse() local
2215 for (i = 0, numLeavesBA = 0; i < numRootsB; i++) { in PetscSFComposeInverse()
2217 remotePointsBA[numLeavesBA].rank = remotePointsBA[i].rank; in PetscSFComposeInverse()
2218 remotePointsBA[numLeavesBA].index = remotePointsBA[i].index; in PetscSFComposeInverse()
2219 localPointsBA[numLeavesBA] = i; in PetscSFComposeInverse()
2220 numLeavesBA++; in PetscSFComposeInverse()
2224 …PetscCall(PetscSFSetGraph(*sfBA, numRootsA, numLeavesBA, localPointsBA, PETSC_OWN_POINTER, remoteP… in PetscSFComposeInverse()