Lines Matching refs:ctNew

476         const DMPolytopeType ctNew = (DMPolytopeType)cN;  in DMPlexTransformCreateOffset_Internal()  local
481 if (DMPolytopeTypeGetDim(ct) < 0 || DMPolytopeTypeGetDim(ctNew) < 0) { in DMPlexTransformCreateOffset_Internal()
482 off[r * DM_NUM_POLYTOPES + ctNew] = -1; in DMPlexTransformCreateOffset_Internal()
485 off[r * DM_NUM_POLYTOPES + ctNew] = 0; in DMPlexTransformCreateOffset_Internal()
503 if (rct[n] == ctNew) break; in DMPlexTransformCreateOffset_Internal()
504 if (n == Nct) off[r * DM_NUM_POLYTOPES + ctNew] = -1; in DMPlexTransformCreateOffset_Internal()
508 if (rct[n] == ctNew) { in DMPlexTransformCreateOffset_Internal()
512 off[r * DM_NUM_POLYTOPES + ctNew] += sn * rsize[n]; in DMPlexTransformCreateOffset_Internal()
525 const DMPolytopeType ctNew = (DMPolytopeType)cN; in DMPlexTransformCreateOffset_Internal() local
530 …M_POLYTOPE_UNKNOWN_FACE || DMPolytopeTypeGetDim(ctNew) < 0 || ctNew == DM_POLYTOPE_UNKNOWN_CELL ||… in DMPlexTransformCreateOffset_Internal()
531 off[ct * DM_NUM_POLYTOPES + ctNew] = -1; in DMPlexTransformCreateOffset_Internal()
534 off[ct * DM_NUM_POLYTOPES + ctNew] = 0; in DMPlexTransformCreateOffset_Internal()
542 if (rct[n] == ctNew) break; in DMPlexTransformCreateOffset_Internal()
543 if (n == Nct) off[ct * DM_NUM_POLYTOPES + ctNew] = -1; in DMPlexTransformCreateOffset_Internal()
547 …if (rct[n] == ctNew) off[ct * DM_NUM_POLYTOPES + ctNew] += (ctStart[ictn] - ctStart[ict]) * rsize[… in DMPlexTransformCreateOffset_Internal()
894 PetscInt ctNew; in DMPlexTransformGetCellType() local
900 for (ctNew = DM_POLYTOPE_POINT; ctNew < DM_NUM_POLYTOPES; ++ctNew) { in DMPlexTransformGetCellType()
901 …PetscInt ctSN = tr->ctStartNew[ctNew], ctEN = tr->ctStartNew[tr->ctOrderNew[tr->ctOrderInvNew[ctNe… in DMPlexTransformGetCellType()
905 …PetscCheck(ctNew < DM_NUM_POLYTOPES, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Point %" PetscInt… in DMPlexTransformGetCellType()
906 *celltype = (DMPolytopeType)ctNew; in DMPlexTransformGetCellType()
1000 …sformGetTargetPoint(DMPlexTransform tr, DMPolytopeType ct, DMPolytopeType ctNew, PetscInt p, Petsc… in DMPlexTransformGetTargetPoint() argument
1007 …PetscInt ctSN = tr->ctStartNew[ctNew], ctEN = tr->ctStartNew[tr->ctOrderNew[tr->ctOrderInvN… in DMPlexTransformGetTargetPoint()
1021 off = tr->offset[cind * DM_NUM_POLYTOPES + ctNew]; in DMPlexTransformGetTargetPoint()
1022 …ce type %s for transform %s", DMPolytopeTypes[ct], rt, p, DMPolytopeTypes[ctNew], tr->hdr.type_nam… in DMPlexTransformGetTargetPoint()
1025 if (rct[n] == ctNew) { in DMPlexTransformGetTargetPoint()
1033 …T " is not a %s [%" PetscInt_FMT ", %" PetscInt_FMT ")", newp, DMPolytopeTypes[ctNew], ctSN, ctEN); in DMPlexTransformGetTargetPoint()
1057 …nt(DMPlexTransform tr, PetscInt pNew, DMPolytopeType *ct, DMPolytopeType *ctNew, PetscInt *p, Pets… in DMPlexTransformGetSourcePoint() argument
1154 if (ctNew) *ctNew = ctN; in DMPlexTransformGetSourcePoint()
1429 DMPolytopeType ctNew; in DMPlexTransformGetConeSize() local
1434 PetscCall(DMPlexTransformGetCellType(tr, q, &ctNew)); in DMPlexTransformGetConeSize()
1435 *coneSize = DMPolytopeTypeGetConeSize(ctNew); in DMPlexTransformGetConeSize()
1440 …exTransform tr, PetscInt p, PetscInt o, DMPolytopeType ct, DMPolytopeType ctNew, const PetscInt rc… in DMPlexTransformGetCone_Internal() argument
1443 const PetscInt csizeNew = DMPolytopeTypeGetConeSize(ctNew); in DMPlexTransformGetCone_Internal()
1454 if (DMPolytopeTypeGetDim(ctNew) == dim && DMPolytopeTypeGetDim(ct) == dim - 1) { in DMPlexTransformGetCone_Internal()
1455 PetscCall(DMPlexTransformGetSubcellOrientation(tr, ct, p, o, ctNew, cr, co, &nr, &no)); in DMPlexTransformGetCone_Internal()
1501 arr = DMPolytopeTypeGetArrangement(ctNew, no); in DMPlexTransformGetCone_Internal()
1549 const DMPolytopeType ctNew = rct[n]; in DMPlexTransformSetCones() local
1553 …PetscCall(DMPlexTransformGetCone_Internal(tr, p, 0, ct, ctNew, rcone, &coff, rornt, &ooff, coneNew… in DMPlexTransformSetCones()
1588 const DMPolytopeType ctNew = rct[n]; in DMPlexTransformGetConeOriented() local
1589 const PetscInt csizeNew = DMPolytopeTypeGetConeSize(ctNew); in DMPlexTransformGetConeOriented()
1592 if (ctNew == qct) Nr = r; in DMPlexTransformGetConeOriented()
1602 if (ctNew == qct) break; in DMPlexTransformGetConeOriented()
1629 const DMPolytopeType ctNew = rct[n]; in DMPlexTransformGetCone() local
1630 const PetscInt csizeNew = DMPolytopeTypeGetConeSize(ctNew); in DMPlexTransformGetCone()
1633 if (ctNew == qct) Nr = r; in DMPlexTransformGetCone()
1643 if (ctNew == qct) break; in DMPlexTransformGetCone()