Home
last modified time | relevance | path

Searched refs:celltypeLabel (Results 1 – 5 of 5) sorted by relevance

/petsc/include/petsc/private/
H A Ddmimpl.h237 DMLabel celltypeLabel; /* Optimized access to celltype label */ member
/petsc/src/dm/interface/
H A Ddm.c75 v->celltypeLabel = NULL; in DMCreate()
606 if (next->label == dm->celltypeLabel) dm->celltypeLabel = NULL; in DMDestroyLabelLinkList_Internal()
7345 if (flg) dm->celltypeLabel = label; in DMAddLabel()
7389 if (flg) dm->celltypeLabel = label; in DMSetLabel()
7437 if (hasLabel) dm->celltypeLabel = NULL; in DMRemoveLabel()
7482 if (*label == dm->celltypeLabel) dm->celltypeLabel = NULL; in DMRemoveLabelBySelf()
/petsc/src/dm/impls/plex/
H A Dplexreorder.c290 if ((*pdm)->celltypeLabel) { in DMPlexPermute()
H A Dplex.c911 DMLabel depthLabel, celltypeLabel; in DMPlexView_Ascii_Geometry() local
921 PetscCall(DMPlexGetCellTypeLabel(dm, &celltypeLabel)); in DMPlexView_Ascii_Geometry()
933 PetscCall(DMLabelGetValue(celltypeLabel, c, &ct)); in DMPlexView_Ascii_Geometry()
5624 PetscErrorCode DMPlexGetCellTypeLabel(DM dm, DMLabel *celltypeLabel) in DMPlexGetCellTypeLabel() argument
5628 PetscAssertPointer(celltypeLabel, 2); in DMPlexGetCellTypeLabel()
5629 if (!dm->celltypeLabel) PetscCall(DMPlexComputeCellTypes(dm)); in DMPlexGetCellTypeLabel()
5630 *celltypeLabel = dm->celltypeLabel; in DMPlexGetCellTypeLabel()
H A Dplexcreate.c265 depthTmp = dmA->celltypeLabel; in DMPlexSwap_Static()
266 dmA->celltypeLabel = dmB->celltypeLabel; in DMPlexSwap_Static()
267 dmB->celltypeLabel = depthTmp; in DMPlexSwap_Static()