Lines Matching refs:nleaves1
3814 PetscInt nleaves1, point; in DMPlexCreateSubmeshGeneric_Interpolated() local
3827 for (p = 0, nleaves1 = 0; p < numRoots; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3828 if (newOwners[p].rank >= 0 && newOwners[p].rank != rank) ++nleaves1; in DMPlexCreateSubmeshGeneric_Interpolated()
3830 PetscCall(PetscMalloc1(nleaves1, &ilocal1)); in DMPlexCreateSubmeshGeneric_Interpolated()
3831 PetscCall(PetscMalloc1(nleaves1, &iremote1)); in DMPlexCreateSubmeshGeneric_Interpolated()
3832 for (p = 0, nleaves1 = 0; p < numRoots; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3834 ilocal1[nleaves1] = pStart + p; in DMPlexCreateSubmeshGeneric_Interpolated()
3835 iremote1[nleaves1].rank = newOwners[p].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3836 iremote1[nleaves1].index = newOwners1[p].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3837 ++nleaves1; in DMPlexCreateSubmeshGeneric_Interpolated()
3843 …PetscCall(PetscSFSetGraph(*ownershipTransferSF, pEnd - pStart, nleaves1, ilocal1, PETSC_OWN_POINTE… in DMPlexCreateSubmeshGeneric_Interpolated()