Lines Matching refs:ctO

16   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()
1099 …PetscCheck(ctO != DM_NUM_POLYTOPES, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Could not determin… in DMPlexTransformGetSourcePoint()
1108 ctO = ctTmp; in DMPlexTransformGetSourcePoint()
1115 ctS = tr->ctStart[ctO]; in DMPlexTransformGetSourcePoint()
1116 ctE = tr->ctStart[tr->ctOrderOld[tr->ctOrderInvOld[ctO] + 1]]; in DMPlexTransformGetSourcePoint()
1123 …RONG, "Could not find point of type %s with refine type %" PetscInt_FMT, DMPolytopeTypes[ctO], rt); in DMPlexTransformGetSourcePoint()
1125 …PetscCall(DMPlexTransformCellTransform(tr, (DMPolytopeType)ctO, rtS, &rtTmp, &Nct, &rct, &rsize, &… in DMPlexTransformGetSourcePoint()
1152 …Int_FMT " is not a %s [%" PetscInt_FMT ", %" PetscInt_FMT ")", pO, DMPolytopeTypes[ctO], ctS, ctE); in DMPlexTransformGetSourcePoint()
1153 if (ct) *ct = (DMPolytopeType)ctO; in DMPlexTransformGetSourcePoint()