Home
last modified time | relevance | path

Searched refs:maxHeight (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/interface/
H A Ddmperiodicity.c341 PetscInt maxHeight = 0, h; in DMLocalizeCoordinates() local
360 PetscCall(DMPlexGetMaxProjectionHeight(cplex, &maxHeight)); in DMLocalizeCoordinates()
361 PetscCall(DMGetWorkArray(dm, 2 * (maxHeight + 1), MPIU_INT, &pStart)); in DMLocalizeCoordinates()
362 pEnd = &pStart[maxHeight + 1]; in DMLocalizeCoordinates()
365 for (h = 0; h <= maxHeight; h++) { in DMLocalizeCoordinates()
385 for (h = 0; h <= maxHeight; h++) { in DMLocalizeCoordinates()
423 for (h = 0; h <= maxHeight; h++) { in DMLocalizeCoordinates()
477 PetscCall(DMRestoreWorkArray(dm, 2 * (maxHeight + 1), MPIU_INT, &pStart)); in DMLocalizeCoordinates()
/petsc/src/sys/classes/draw/utils/
H A Dhists.c308 …xmax, ymin, ymax, *bins, *values, *weights, binSize, binLeft, binRight, maxHeight, mean, var, totw… in PetscDrawHGDraw() local
353 maxHeight = bins[0]; in PetscDrawHGDraw()
354 if (maxHeight > ymax) ymax = hist->ymax = maxHeight; in PetscDrawHGDraw()
400 maxHeight = 0.0; in PetscDrawHGDraw()
415 maxHeight = PetscMax(maxHeight, bins[i]); in PetscDrawHGDraw()
417 if (maxHeight > ymax) ymax = hist->ymax = maxHeight; in PetscDrawHGDraw()
/petsc/src/dm/impls/plex/
H A Dplexproject.c724 …art = PETSC_DETERMINE, htInc = 0, htIncIn = 0, htIncAux = 0, minHeight, maxHeight, minHeightIn, mi… in DMProjectLocal_Generic_Plex() local
808 PetscCall(DMPlexGetMaxProjectionHeight(plex, &maxHeight)); in DMProjectLocal_Generic_Plex()
809 maxHeight = PetscMax(maxHeight, minHeight); in DMProjectLocal_Generic_Plex()
810maxHeight >= 0 && maxHeight <= dim, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Maximum projection… in DMProjectLocal_Generic_Plex()
849 if (maxHeight > 0) PetscCall(PetscMalloc2(Nf, &cellsp, NfIn, &cellspIn)); in DMProjectLocal_Generic_Plex()
907 …PetscCheck(maxHeight <= minHeight, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Field project… in DMProjectLocal_Generic_Plex()
937 for (h = minHeight; h <= maxHeight; h++) { in DMProjectLocal_Generic_Plex()
973 …t_FMT " in [%" PetscInt_FMT ", %" PetscInt_FMT "]", p, numValues, totDim, h, minHeight, maxHeight); in DMProjectLocal_Generic_Plex()
1106 if (maxHeight > 0) PetscCall(PetscFree2(cellsp, cellspIn)); in DMProjectLocal_Generic_Plex()
H A Dplexgmsh.c1580 PetscInt dim = 0, coordDim = -1, order = 0, maxHeight = 0; in DMPlexCreateGmsh() local
1604 …ize_height", "Localize edges and faces in addition to cells", "", maxHeight, &maxHeight, NULL, 0)); in DMPlexCreateGmsh()
1943 PetscCall(PetscMalloc1(maxHeight + 1, &periodicCells)); in DMPlexCreateGmsh()
1944 for (PetscInt h = 0; h <= maxHeight; ++h) { in DMPlexCreateGmsh()
2066 for (PetscInt h = 0; h <= maxHeight; h++) { in DMPlexCreateGmsh()
2072 for (PetscInt h = 0; h <= maxHeight; h++) { in DMPlexCreateGmsh()
2130 if (h > maxHeight) continue; in DMPlexCreateGmsh()
2170 for (PetscInt h = 0; h <= maxHeight; ++h) PetscCall(PetscBTDestroy(periodicCells + h)); in DMPlexCreateGmsh()
H A Dplex.c5728 PetscInt maxHeight; in DMCreateCoordinateDM_Plex() local
5736 PetscCall(DMPlexGetMaxProjectionHeight(dm, &maxHeight)); in DMCreateCoordinateDM_Plex()
5737 PetscCall(DMPlexSetMaxProjectionHeight(*cdm, maxHeight)); in DMCreateCoordinateDM_Plex()