Searched refs:ctNew (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 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() [all …]
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex11.c | 279 DMPolytopeType ctNew = rct[n]; in CheckSubcells() local 282 …if (debug) PetscCall(PetscPrintf(PETSC_COMM_SELF, " Checking type %s\n", DMPolytopeTypes[ctNew])); in CheckSubcells() 288 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, ctNew, p, r, &pNew)); in CheckSubcells() 294 …for (c = 0; c < DMPolytopeTypeGetConeSize(ctNew); ++c) PetscCall(PetscPrintf(PETSC_COMM_SELF, " %"… in CheckSubcells() 300 PetscCall(DMPlexTransformGetTargetPoint(otr, ct, ctNew, p, ro, &opNew)); in CheckSubcells() 302 PetscCall(DMPolytopeMatchOrientation(ctNew, oqcone, qcone, &oo, &found)); in CheckSubcells() 310 …for (c = 0; c < DMPolytopeTypeGetConeSize(ctNew); ++c) PetscCall(PetscPrintf(PETSC_COMM_SELF, " %"… in CheckSubcells() 318 if (ctNew == DM_POLYTOPE_SEGMENT) { in CheckSubcells() 324 if (r > 3 && ctNew == DM_POLYTOPE_TRIANGLE) { in CheckSubcells() 330 if (r > 3 && ctNew == DM_POLYTOPE_TETRAHEDRON) { in CheckSubcells() [all …]
|