Home
last modified time | relevance | path

Searched refs:maxSupportSize (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplex.c1021 PetscInt dim, cellHeight, maxConeSize, maxSupportSize; in DMPlexView_Ascii() local
1035 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexView_Ascii()
1043 …CIISynchronizedPrintf(viewer, "[%d] Max support size: %" PetscInt_FMT "\n", rank, maxSupportSize)); in DMPlexView_Ascii()
4028 PetscInt maxConeSize, maxSupportSize; in DMPlexGetTransitiveClosure_Depth1_Private() local
4029 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexGetTransitiveClosure_Depth1_Private()
4030 …PetscCall(DMGetWorkArray(dm, 2 * (PetscMax(maxConeSize, maxSupportSize) + 1), MPIU_INT, &closure)); in DMPlexGetTransitiveClosure_Depth1_Private()
4067 PetscInt maxConeSize, maxSupportSize, coneSeries, supportSeries, maxSize; in DMPlexTransitiveClosure_Tensor_Internal() local
4073 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexTransitiveClosure_Tensor_Internal()
4075 …supportSeries = (maxSupportSize > 1) ? ((PetscPowInt(maxSupportSize, dim + 1) - 1) / (maxSupportSi… in DMPlexTransitiveClosure_Tensor_Internal()
4135 PetscInt maxConeSize, maxSupportSize, coneSeries, supportSeries; in DMPlexGetTransitiveClosure_Internal() local
[all …]
H A Dplexorient.c450 PetscInt maxSupportSize, neighbor; in DMPlexOrient() local
453 PetscCall(DMPlexGetMaxSizes(dm, NULL, &maxSupportSize)); in DMPlexOrient()
454 … PetscCall(PetscCalloc3(numRoots, &rorntComp, numRoots, &lorntComp, maxSupportSize, &locSupport)); in DMPlexOrient()
H A Dplexpreallocate.c937 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize));
939 …ize = 2*PetscMax(PetscPowInt(mesh->maxConeSize,depth+1),PetscPowInt(mesh->maxSupportSize,depth+1));
H A Dplexinterpolate.c51 PetscInt maxConeSize, maxSupportSize, maxSize; in DMPlexGetRawFaces_Internal() local
57 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexGetRawFaces_Internal()
58 maxSize = PetscMax(maxConeSize, maxSupportSize); in DMPlexGetRawFaces_Internal()
H A Dplexsubmesh.c597 …PetscInt depth = 0, maxConeSize, maxSupportSize, maxConeSizeNew, maxSupportSizeNew, pStart, pEnd,… in DMPlexShiftPoints_Internal() local
602 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexShiftPoints_Internal()
604 …PetscCall(PetscMalloc1(PetscMax(PetscMax(maxConeSize, maxSupportSize), PetscMax(maxConeSizeNew, ma… in DMPlexShiftPoints_Internal()
1261 … shift = 100, shift2 = 200, depth = 0, dep, dim, d, sp, maxConeSize, maxSupportSize, maxConeSizeNe… in DMPlexConstructCohesiveCells_Internal() local
1271 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexConstructCohesiveCells_Internal()
1471 …eNew, PetscMax(maxConeSize, maxConeSizeNew) * 3, &coneONew, PetscMax(maxSupportSize, maxSupportSiz… in DMPlexConstructCohesiveCells_Internal()
/petsc/src/dm/impls/swarm/
H A Dswarm.c698 PetscInt *dnz, *onz, *adj, depth, maxConeSize, maxSupportSize, maxAdjSize; in DMSwarmComputeMassMatrixSquare_Private() local
738 PetscCall(DMPlexGetMaxSizes(dmf, &maxConeSize, &maxSupportSize)); in DMSwarmComputeMassMatrixSquare_Private()
739 maxAdjSize = PetscPowInt(maxConeSize * maxSupportSize, depth); in DMSwarmComputeMassMatrixSquare_Private()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx901 maxSupportSize : int
910 cdef PetscInt maxConeSize = 0, maxSupportSize = 0
911 CHKERR(DMPlexGetMaxSizes(self.dm, &maxConeSize, &maxSupportSize))
912 return toInt(maxConeSize), toInt(maxSupportSize)