Searched refs:maxSize (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 51 PetscInt maxConeSize, maxSupportSize, maxSize; in DMPlexGetRawFaces_Internal() local 58 maxSize = PetscMax(maxConeSize, maxSupportSize); in DMPlexGetRawFaces_Internal() 59 if (faceTypes) getSize += maxSize; in DMPlexGetRawFaces_Internal() 60 if (faceSizes) getSize += maxSize; in DMPlexGetRawFaces_Internal() 61 if (faces) getSize += PetscSqr(maxSize); in DMPlexGetRawFaces_Internal() 65 tmp += maxSize; in DMPlexGetRawFaces_Internal() 69 tmp += maxSize; in DMPlexGetRawFaces_Internal()
|
| H A D | plex.c | 1633 PetscInt numLabels, l, maxSize = 17; in DMPlexView_Ascii() local 1651 if (size < maxSize) PetscCall(PetscCalloc3(size, &sizes, size, &hybsizes, size, &ghostsizes)); in DMPlexView_Ascii() 1668 if (size < maxSize) { in DMPlexView_Ascii() 4067 PetscInt maxConeSize, maxSupportSize, coneSeries, supportSeries, maxSize; in DMPlexTransitiveClosure_Tensor_Internal() local 4076 maxSize = PetscMax(coneSeries, supportSeries); in DMPlexTransitiveClosure_Tensor_Internal() 4079 } else PetscCall(DMGetWorkArray(dm, 2 * maxSize, MPIU_INT, &pts)); in DMPlexTransitiveClosure_Tensor_Internal() 4136 PetscInt depth, maxSize; in DMPlexGetTransitiveClosure_Internal() local 4153 maxSize = PetscMax(coneSeries, supportSeries); in DMPlexGetTransitiveClosure_Internal() 4154 PetscCall(DMGetWorkArray(dm, 3 * maxSize, MPIU_INT, &fifo)); in DMPlexGetTransitiveClosure_Internal() 4157 } else PetscCall(DMGetWorkArray(dm, 2 * maxSize, MPIU_INT, &closure)); in DMPlexGetTransitiveClosure_Internal() [all …]
|
| /petsc/src/ksp/ksp/tutorials/amrex/ |
| H A D | MyTest.cxx | 151 grids[ilev].maxSize(max_grid_size); in initGrids()
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 2437 PetscInt dim, Np, maxSize = 17; in DMView_Swarm_Ascii() local 2452 if (size < maxSize) PetscCall(PetscCalloc1(size, &sizes)); in DMView_Swarm_Ascii() 2454 if (size < maxSize) { in DMView_Swarm_Ascii()
|