| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 21 PetscCall(PetscCalloc2(DM_NUM_POLYTOPES + 1, &ctO, DM_NUM_POLYTOPES + 1, &ctOInv)); in DMPlexCreateCellTypeOrder_Internal() 34 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexCreateCellTypeOrder_Internal() 39 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexCreateCellTypeOrder_Internal() 42 ctO[off++] = DM_NUM_POLYTOPES; in DMPlexCreateCellTypeOrder_Internal() 43 …PetscCheck(off == DM_NUM_POLYTOPES + 1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid offset %" PetscI… in DMPlexCreateCellTypeOrder_Internal() 45 for (c = 0; c <= DM_NUM_POLYTOPES; ++c) ctOInv[ctO[c]] = c; in DMPlexCreateCellTypeOrder_Internal() 171 PetscCall(PetscCalloc2(DM_NUM_POLYTOPES, &t->coordFE, DM_NUM_POLYTOPES, &t->refGeom)); in DMPlexTransformCreate() 273 …g) PetscCall(PetscViewerASCIIPrintf(v, " %14" PetscInt_FMT, tr->offset[f * DM_NUM_POLYTOPES + g])); in DMPlexTransformView_Ascii() 415 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexTransformDestroy() 420 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexTransformDestroy() [all …]
|
| /petsc/include/ |
| H A D | petscdmtypes.h | 261 DM_NUM_POLYTOPES enumerator
|
| /petsc/src/dm/impls/plex/transform/impls/refine/bl/ |
| H A D | plexrefbl.c | 102 …scMalloc5(DM_NUM_POLYTOPES, &bl->Nt, DM_NUM_POLYTOPES, &bl->target, DM_NUM_POLYTOPES, &bl->size, D… in DMPlexTransformSetUp_BL() 103 for (ict = 0; ict < DM_NUM_POLYTOPES; ++ict) { in DMPlexTransformSetUp_BL() 559 …for (ict = 0; ict < DM_NUM_POLYTOPES; ++ict) PetscCall(PetscFree4(bl->target[ict], bl->size[ict], … in DMPlexTransformDestroy_BL()
|
| /petsc/include/petsc/private/ |
| H A D | petscdsimpl.h | 102 …IS *quadPerm[DM_NUM_POLYTOPES]; /* qP[ct][o]: q point permutation for orientation o of integ…
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrextrude.c | 581 …scMalloc5(DM_NUM_POLYTOPES, &ex->Nt, DM_NUM_POLYTOPES, &ex->target, DM_NUM_POLYTOPES, &ex->size, D… in DMPlexTransformSetUp_Extrude() 582 for (ict = 0; ict < DM_NUM_POLYTOPES; ++ict) { in DMPlexTransformSetUp_Extrude() 620 …for (ct = 0; ct < DM_NUM_POLYTOPES; ++ct) PetscCall(PetscFree4(ex->target[ct], ex->size[ct], ex->c… in DMPlexTransformDestroy_Extrude()
|
| H A D | plextrcohesive.c | 812 numRt = DM_NUM_POLYTOPES * 2 * 100; in DMPlexTransformSetUp_Cohesive() 837 …for (ct = 0; ct < DM_NUM_POLYTOPES * 2 * 100; ++ct) PetscCall(PetscFree4(ex->target[ct], ex->size[… in DMPlexTransformDestroy_Cohesive() 1230 if (val > 2 * DM_NUM_POLYTOPES || !(val % 2)) continue; in DMPlexTransformCohesiveExtrudeGetUnsplit()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 497 PetscInt faceTypeNum[DM_NUM_POLYTOPES]; in DMPlexInterpolateFaces_Internal() 504 PetscCall(PetscArrayzero(faceTypeNum, DM_NUM_POLYTOPES)); in DMPlexInterpolateFaces_Internal() 576 PetscInt faceTypeStart[DM_NUM_POLYTOPES], ct, numFT = 0; in DMPlexInterpolateFaces_Internal() 578 for (ct = 0; ct < DM_NUM_POLYTOPES; ++ct) { in DMPlexInterpolateFaces_Internal() 585 …for (ct = 1; ct < DM_NUM_POLYTOPES; ++ct) faceTypeStart[ct] = faceTypeStart[ct - 1] + faceTypeNum[… in DMPlexInterpolateFaces_Internal() 622 for (ct = 1; ct < DM_NUM_POLYTOPES; ++ct) { in DMPlexInterpolateFaces_Internal()
|
| H A D | plexdistribute.c | 926 … + 1, &depthShift, depth + 1, &depthIdx, DM_NUM_POLYTOPES, &ctRecv, DM_NUM_POLYTOPES, &ctShift, DM… in DMPlexStratifyMigrationSF() 952 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexStratifyMigrationSF() 960 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexStratifyMigrationSF()
|
| H A D | plex.c | 130 PetscInt vcdof[DM_NUM_POLYTOPES + 1], globalvcdof[DM_NUM_POLYTOPES + 1]; in DMPlexGetFieldTypes_Internal() 135 PetscCall(PetscArrayzero(vcdof, DM_NUM_POLYTOPES + 1)); in DMPlexGetFieldTypes_Internal() 140 …tart < pEnd)) PetscCall(PetscSectionGetFieldDof(section, vStart, field, &vcdof[DM_NUM_POLYTOPES])); in DMPlexGetFieldTypes_Internal() 142 …tart) && (vStart < pEnd)) PetscCall(PetscSectionGetDof(section, vStart, &vcdof[DM_NUM_POLYTOPES])); in DMPlexGetFieldTypes_Internal() 149 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexGetFieldTypes_Internal() 166 …PetscCallMPI(MPIU_Allreduce(vcdof, globalvcdof, DM_NUM_POLYTOPES + 1, MPIU_INT, MPI_MAX, PetscObje… in DMPlexGetFieldTypes_Internal() 169 for (c = 0; c < DM_NUM_POLYTOPES + 1; ++c) { in DMPlexGetFieldTypes_Internal() 175 if (globalvcdof[DM_NUM_POLYTOPES]) { in DMPlexGetFieldTypes_Internal() 182 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexGetFieldTypes_Internal()
|
| H A D | plexgeometry.c | 2420 … PetscInt_FMT " with type %s", cell, DMPolytopeTypes[PetscMax(0, PetscMin(ct, DM_NUM_POLYTOPES))]); in DMPlexComputeCellGeometryFEM_Implicit()
|
| H A D | plextree.c | 1936 DMPolytopeType ct = DM_NUM_POLYTOPES; in DMPlexTreeRefineCell()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdm.pxi | 47 DM_NUM_POLYTOPES
|
| /petsc/src/snes/utils/dm/ |
| H A D | dminterpolatesnes.c | 963 …_SUP, "No support for cell type %s", DMPolytopeTypes[PetscMax(0, PetscMin(ct, DM_NUM_POLYTOPES))]); in DMInterpolationEvaluate()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtds.c | 654 for (PetscInt c = 0; c < DM_NUM_POLYTOPES; ++c) { in PetscDSDestroy() 698 PetscCall(PetscArrayzero(p->quadPerm, DM_NUM_POLYTOPES)); in PetscDSCreate()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 1203 for (c = 0; c < DM_NUM_POLYTOPES; ++c) { in DMPlexTopologyView_HDF5_XDMF_Private()
|