Lines Matching refs:nLeaves
2165 PetscInt startF, endF, startC, endC, p, nLeaves; in DMPforestGetCellCoveringSF() local
2246 PetscCall(PetscSectionGetStorageSize(section, &nLeaves)); in DMPforestGetCellCoveringSF()
2247 PetscCall(PetscMalloc1(nLeaves, &leaves)); in DMPforestGetCellCoveringSF()
2260 …PetscCall(PetscSFSetGraph(sf, cEnd - cStart, nLeaves, NULL, PETSC_OWN_POINTER, leaves, PETSC_OWN_P… in DMPforestGetCellCoveringSF()
5036 PetscInt nRoots, nLeaves, *mine = NULL; in DMForestCreateCellSF_pforest() local
5047 nLeaves = 0; in DMForestCreateCellSF_pforest()
5058 nLeaves = nRoots - nSelf; in DMForestCreateCellSF_pforest()
5060 PetscCall(PetscMalloc1(nLeaves, &mine)); in DMForestCreateCellSF_pforest()
5061 PetscCall(PetscMalloc1(nLeaves, &remote)); in DMForestCreateCellSF_pforest()
5074 for (; q < nLeaves; q++) mine[q] = (q - nGhostPre) + cLocalEnd; in DMForestCreateCellSF_pforest()
5077 …PetscCall(PetscSFSetGraph(sf, nRoots, nLeaves, mine, PETSC_OWN_POINTER, remote, PETSC_OWN_POINTER)… in DMForestCreateCellSF_pforest()