Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c16 PetscInt *ctO, *ctOInv; in DMPlexCreateCellTypeOrder_Internal() local
21 PetscCall(PetscCalloc2(DM_NUM_POLYTOPES + 1, &ctO, DM_NUM_POLYTOPES + 1, &ctOInv)); in DMPlexCreateCellTypeOrder_Internal()
36 if (DMPolytopeTypeGetDim((DMPolytopeType)c) == dimOrder[d]) ctO[off++] = c; in DMPlexCreateCellTypeOrder_Internal()
40 if (c == DM_POLYTOPE_UNKNOWN_CELL || c == DM_POLYTOPE_UNKNOWN_FACE) ctO[off++] = c; in DMPlexCreateCellTypeOrder_Internal()
42 ctO[off++] = DM_NUM_POLYTOPES; in DMPlexCreateCellTypeOrder_Internal()
45 for (c = 0; c <= DM_NUM_POLYTOPES; ++c) ctOInv[ctO[c]] = c; in DMPlexCreateCellTypeOrder_Internal()
47 *ctOrder = ctO; in DMPlexCreateCellTypeOrder_Internal()
1063 PetscInt offset = -1, ctS, ctE, ctO = 0, ctTmp, rtS; in DMPlexTransformGetSourcePoint() local
1094 for (ctO = 0; ctO < DM_NUM_POLYTOPES; ++ctO) { in DMPlexTransformGetSourcePoint()
1095 … PetscInt ctS = tr->ctStart[ctO], ctE = tr->ctStart[tr->ctOrderOld[tr->ctOrderInvOld[ctO] + 1]]; in DMPlexTransformGetSourcePoint()
[all …]