Home
last modified time | relevance | path

Searched refs:pdepth (Results 1 – 6 of 6) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexglvis.c252 PetscInt depth, csize, pdepth, dim; in DMPlexGetPointMFEMCellID_Internal() local
256 PetscCall(DMLabelGetValue(dlabel, p, &pdepth)); in DMPlexGetPointMFEMCellID_Internal()
271 …PetscCheck(pdepth >= 0 && pdepth <= 3, PETSC_COMM_SELF, PETSC_ERR_SUP, "Depth %" PetscInt_FMT " fo… in DMPlexGetPointMFEMCellID_Internal()
272 *cid = mfem_table_cid[pdepth][csize]; in DMPlexGetPointMFEMCellID_Internal()
H A Dplexinterpolate.c1562 PetscInt pStart, pEnd, pdepth; in DMPlexInterpolate() local
1572 PetscCall(DMPlexGetPointDepth(odm, p, &pdepth)); in DMPlexInterpolate()
1575 if (pdepth != DMPolytopeTypeGetDim(ct)) { in DMPlexInterpolate()
1584 if (cdepth != pdepth - 1) { in DMPlexInterpolate()
1599 PetscCall(DMPlexInterpolateFaces_Internal(odm, pdepth, idm)); in DMPlexInterpolate()
H A Dplexgmsh.c1820 PetscInt Nt = elem->numTags, pdepth; in DMPlexCreateGmsh() local
1830 PetscCall(DMPlexGetPointDepth(*dm, join[0], &pdepth)); in DMPlexCreateGmsh()
1831pdepth == dim - 1, PETSC_COMM_SELF, PETSC_ERR_SUP, "Plex facet %" PetscInt_FMT " for Gmsh element … in DMPlexCreateGmsh()
H A Dplexcreate.c4710 PetscInt clSize, pdepth; in ProcessCohesiveLabel_Faces() local
4712 PetscCall(DMPlexGetPointDepth(dm, point, &pdepth)); in ProcessCohesiveLabel_Faces()
4713 PetscCall(DMLabelSetValue(label, point, pdepth)); in ProcessCohesiveLabel_Faces()
4716 PetscCall(DMPlexGetPointDepth(dm, closure[cl], &pdepth)); in ProcessCohesiveLabel_Faces()
4717 PetscCall(DMLabelSetValue(label, closure[cl], pdepth)); in ProcessCohesiveLabel_Faces()
5249 PetscInt pdepth; in DMSetFromOptions_Plex() local
5251 PetscCall(DMPlexGetPointDepth(dm, points[p], &pdepth)); in DMSetFromOptions_Plex()
5252 if (pdepth) { in DMSetFromOptions_Plex()
H A Dplex.c4642 PetscErrorCode DMPlexComputeCellType_Internal(DM dm, PetscInt p, PetscInt pdepth, DMPolytopeType *p… in DMPlexComputeCellType_Internal() argument
4653 pheight = depth - pdepth; in DMPlexComputeCellType_Internal()
4655 switch (pdepth) { in DMPlexComputeCellType_Internal()
4693 if (pdepth == 0) { in DMPlexComputeCellType_Internal()
4803 PetscInt pdepth; in DMPlexComputeCellTypes() local
4805 PetscCall(DMPlexGetPointDepth(dm, p, &pdepth)); in DMPlexComputeCellTypes()
4806 PetscCall(DMPlexComputeCellType_Internal(dm, p, pdepth, &ct)); in DMPlexComputeCellTypes()
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c558 PetscInt depth, pdepth, Nk, pNk; in PetscLagNodeIndicesPushForward() local
567 PetscCall(DMPlexGetPointDepth(dm, p, &pdepth)); in PetscLagNodeIndicesPushForward()
568 pdim = pdepth != depth ? pdepth != 0 ? pdepth : 0 : dim; in PetscLagNodeIndicesPushForward()