Searched refs:pMax (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex5.c | 745 PetscInt dim, h, pStart, pEnd, pMax, p; in CreateFaultLabel() local 752 PetscCall(DMPlexGetSimplexOrBoxCells(dm, h, NULL, &pMax)); in CreateFaultLabel() 754 for (p = pMax; p < pEnd; ++p) PetscCall(DMLabelSetValue(label, p, 1)); in CreateFaultLabel()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 4456 PetscInt *pMin, *pMax; in DMPlexStratify_CellType_Private() local 4475 PetscCall(PetscMalloc2(dmax + 1, &pMin, dmax + 1, &pMax)); in DMPlexStratify_CellType_Private() 4478 pMax[d] = PETSC_INT_MIN; in DMPlexStratify_CellType_Private() 4487 pMax[d] = PetscMax(p, pMax[d]); in DMPlexStratify_CellType_Private() 4490 if (pMin[d] > pMax[d]) continue; in DMPlexStratify_CellType_Private() 4491 PetscCall(DMPlexCreateDepthStratum(dm, label, d, pMin[d], pMax[d] + 1)); in DMPlexStratify_CellType_Private() 4493 PetscCall(PetscFree2(pMin, pMax)); in DMPlexStratify_CellType_Private()
|