Lines Matching refs:numLeaves
350 …PetscInt numLeaves, numRoots, dim, h, cStart, cEnd, c, cell, fStart, fEnd, face, off, to… in DMPlexOrient() local
362 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &lpoints, &rpoints)); in DMPlexOrient()
449 if (numLeaves >= 0) { in DMPlexOrient()
463 if (lpoints) PetscCall(PetscFindInt(support[s], numLeaves, lpoints, &l)); in DMPlexOrient()
465 if (support[s] >= 0 && support[s] < numLeaves) l = support[s]; in DMPlexOrient()
501 PetscCall(PetscMalloc1(PetscMax(numLeaves, 0), &neighbors[comp])); in DMPlexOrient()
503 for (l = 0; l < numLeaves; ++l) { in DMPlexOrient()
547 if (numLeaves >= 0) { in DMPlexOrient()
754 PetscInt numLeaves, numRoots, dim, Ncomp, totNeighbors = 0; in DMPlexOrientCells_Internal() local
769 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &lpoints, &rpoints)); in DMPlexOrientCells_Internal()
818 if (numLeaves >= 0) { in DMPlexOrientCells_Internal()
838 PetscCall(PetscFindInt(supp[s], numLeaves, lpoints, &l)); in DMPlexOrientCells_Internal()
874 PetscCall(PetscMalloc1(PetscMax(numLeaves, 0), &neighbors[comp])); in DMPlexOrientCells_Internal()
876 for (PetscInt l = 0; l < numLeaves; ++l) { in DMPlexOrientCells_Internal()
926 if (numLeaves >= 0) { in DMPlexOrientCells_Internal()