| /petsc/src/dm/impls/plex/adaptors/pragmatic/ |
| H A D | pragmaticadapt.c | 23 PetscInt off, maxConeSize, numBdFaces, f, bdSize, i, j, Nd; in DMAdaptMetric_Pragmatic_Plex() local 57 PetscCall(DMPlexGetMaxSizes(udm, &maxConeSize, NULL)); in DMAdaptMetric_Pragmatic_Plex() 66 …tices, &y, numVertices, &z, numVertices * PetscSqr(dim), &metric, numCells * maxConeSize, &cells)); in DMAdaptMetric_Pragmatic_Plex()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 1531 PetscInt maxConeSize = 0, pStart, pEnd, p, pNew; in DMPlexTransformSetCones() local 1536 …for (p = 0; p < DM_NUM_POLYTOPES; ++p) maxConeSize = PetscMax(maxConeSize, DMPolytopeTypeGetConeSi… in DMPlexTransformSetCones() 1537 PetscCall(DMGetWorkArray(rdm, maxConeSize, MPIU_INT, &coneNew)); in DMPlexTransformSetCones() 1538 PetscCall(DMGetWorkArray(rdm, maxConeSize, MPIU_INT, &orntNew)); in DMPlexTransformSetCones() 1559 PetscCall(DMRestoreWorkArray(rdm, maxConeSize, MPIU_INT, &coneNew)); in DMPlexTransformSetCones() 1560 PetscCall(DMRestoreWorkArray(rdm, maxConeSize, MPIU_INT, &orntNew)); in DMPlexTransformSetCones() 1575 PetscInt maxConeSize = 0, Nct, p, r, n, nr, coff = 0, ooff = 0; in DMPlexTransformGetConeOriented() local 1581 …for (p = 0; p < DM_NUM_POLYTOPES; ++p) maxConeSize = PetscMax(maxConeSize, DMPolytopeTypeGetConeSi… in DMPlexTransformGetConeOriented() 1583 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qcone)); in DMPlexTransformGetConeOriented() 1584 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &qornt)); in DMPlexTransformGetConeOriented() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 51 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() 697 PetscInt maxConeSize; in DMPlexInterpolateFaces_Internal() local 699 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, NULL)); in DMPlexInterpolateFaces_Internal() 700 PetscCall(PetscMalloc1(maxConeSize, &icone)); in DMPlexInterpolateFaces_Internal() 806 PetscInt nroots, p, nleaves, maxConeSize = 0; in DMPlexOrientInterface_Internal() local 828 maxConeSize = PetscMax(maxConeSize, coneSize); in DMPlexOrientInterface_Internal() 830 …PetscCheck(maxConeSize <= 4, comm, PETSC_ERR_SUP, "This method does not support cones of size %" P… in DMPlexOrientInterface_Internal() 1797 PetscInt dim, vStart, vEnd, cStart, cEnd, c, maxConeSize = 0, *cone; in DMPlexUninterpolate() local [all …]
|
| H A D | plexsubmesh.c | 597 …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 …PetscInt shift = 100, shift2 = 200, depth = 0, dep, dim, d, sp, maxConeSize, maxSupportSiz… in DMPlexConstructCohesiveCells_Internal() local 1271 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexConstructCohesiveCells_Internal() 1471 …PetscCall(PetscMalloc3(PetscMax(maxConeSize, maxConeSizeNew) * 3, &coneNew, PetscMax(maxConeSize, … in DMPlexConstructCohesiveCells_Internal() 3175 PetscInt *subface, maxConeSize, numSubFaces = 0, firstSubFace, newFacePoint, nFV = 0; in DMPlexCreateSubmesh_Uninterpolated() local 3203 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, NULL)); in DMPlexCreateSubmesh_Uninterpolated() 3204 PetscCall(DMGetWorkArray(subdm, maxConeSize, MPIU_INT, (void **)&subface)); in DMPlexCreateSubmesh_Uninterpolated() 3230 PetscCall(DMRestoreWorkArray(subdm, maxConeSize, MPIU_INT, (void **)&subface)); in DMPlexCreateSubmesh_Uninterpolated() [all …]
|
| H A D | plexsfc.c | 694 PetscInt *periodic2donor, dm_depth, maxConeSize; in DMPlexCorrectOrientationForIsoperiodic() local 698 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, NULL)); in DMPlexCorrectOrientationForIsoperiodic() 699 …PetscCall(DMGetWorkArray(dm, 2 * PetscPowInt(maxConeSize, dm_depth - 1), MPIU_INT, &periodic2donor… in DMPlexCorrectOrientationForIsoperiodic() 747 PetscCall(DMGetWorkArray(dm, maxConeSize, MPIU_INT, &p2d_cone)); in DMPlexCorrectOrientationForIsoperiodic() 803 PetscCall(DMRestoreWorkArray(dm, maxConeSize, MPIU_INT, &p2d_cone)); in DMPlexCorrectOrientationForIsoperiodic() 810 …PetscCall(DMRestoreWorkArray(dm, 2 * PetscPowInt(maxConeSize, dm_depth - 1), MPIU_INT, &periodic2d… in DMPlexCorrectOrientationForIsoperiodic()
|
| H A D | plex.c | 1021 PetscInt dim, cellHeight, maxConeSize, maxSupportSize; in DMPlexView_Ascii() local 1035 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); in DMPlexView_Ascii() 1053 …ewerASCIISynchronizedPrintf(viewer, "[%d] Max cone size: %" PetscInt_FMT "\n", rank, maxConeSize)); 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() 4074 …coneSeries = (maxConeSize > 1) ? ((PetscPowInt(maxConeSize, dim + 1) - 1) / (maxConeSize - 1)) … in DMPlexTransitiveClosure_Tensor_Internal() 4135 PetscInt maxConeSize, maxSupportSize, coneSeries, supportSeries; in DMPlexGetTransitiveClosure_Internal() local [all …]
|
| H A D | plexpreallocate.c | 937 PetscCall(DMPlexGetMaxSizes(dm, &maxConeSize, &maxSupportSize)); 939 …maxClosureSize = 2*PetscMax(PetscPowInt(mesh->maxConeSize,depth+1),PetscPowInt(mesh->maxSupportSiz…
|
| /petsc/src/dm/impls/plex/adaptors/mmg/ |
| H A D | mmgadapt.c | 30 PetscInt dim, off, coff, maxConeSize, bdSize, i, j, k, Neq, verbosity, pStart, pEnd; in DMAdaptMetric_Mmg_Plex() local 57 PetscCall(DMPlexGetMaxSizes(udm, &maxConeSize, NULL)); in DMAdaptMetric_Mmg_Plex() 62 PetscCall(PetscMalloc1(numCells * maxConeSize, &cells)); in DMAdaptMetric_Mmg_Plex()
|
| /petsc/src/dm/impls/plex/adaptors/parmmg/ |
| H A D | parmmgadapt.c | 35 PetscInt dim, off, coff, maxConeSize, bdSize, i, j, k, Neq, verbosity, numIter; in DMAdaptMetric_ParMmg_Plex() local 74 PetscCall(DMPlexGetMaxSizes(udm, &maxConeSize, NULL)); in DMAdaptMetric_ParMmg_Plex() 103 PetscCall(PetscMalloc1(numCellsNotShared * maxConeSize, &cells)); in DMAdaptMetric_ParMmg_Plex()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 2128 PetscInt dim, N, Np, pEnd, p, q, maxConeSize = 0, c; in DMPlexTopologyLoad_HDF5_Legacy_Private() local 2176 maxConeSize = PetscMax(maxConeSize, coneSizes[p]); in DMPlexTopologyLoad_HDF5_Legacy_Private() 2181 PetscCall(PetscMalloc2(maxConeSize, &cone, maxConeSize, &ornt)); in DMPlexTopologyLoad_HDF5_Legacy_Private()
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 698 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 D | DMPlex.pyx | 899 maxConeSize : int 910 cdef PetscInt maxConeSize = 0, maxSupportSize = 0 911 CHKERR(DMPlexGetMaxSizes(self.dm, &maxConeSize, &maxSupportSize)) 912 return toInt(maxConeSize), toInt(maxSupportSize)
|