| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex41.c | 66 PetscInt Nct, dim, pNew = 0; in ConstructRefineTree() local 75 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[n], c, r, &pNew)); in ConstructRefineTree() 76 PetscCall(PetscPrintf(PETSC_COMM_SELF, " %" PetscInt_FMT, pNew)); in ConstructRefineTree()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexextrude.c | 105 PetscInt pNew, pdim = DMPolytopeTypeGetDim(rct[n]); in DMPlexExtrude() local 108 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[n], p, 0, &pNew)); in DMPlexExtrude() 109 PetscCall(DMLabelSetValue(cutLabel, pNew, !pdim ? 1 : 2)); in DMPlexExtrude()
|
| H A D | plexsubmesh.c | 887 PetscInt pNew = DMPlexShiftPoint_Internal(p, depth, depthShift); in DMPlexShiftTree_Internal() local 890 PetscCall(PetscSectionSetDof(pSecShifted, pNew, dof)); in DMPlexShiftTree_Internal() 895 PetscInt pNew = DMPlexShiftPoint_Internal(p, depth, depthShift); in DMPlexShiftTree_Internal() local 902 PetscCall(PetscSectionGetOffset(pSecShifted, pNew, &offNew)); in DMPlexShiftTree_Internal()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 1000 …MPlexTransform tr, DMPolytopeType ct, DMPolytopeType ctNew, PetscInt p, PetscInt r, PetscInt *pNew) in DMPlexTransformGetTargetPoint() argument 1034 *pNew = newp; in DMPlexTransformGetTargetPoint() 1057 PetscErrorCode DMPlexTransformGetSourcePoint(DMPlexTransform tr, PetscInt pNew, DMPolytopeType *ct,… in DMPlexTransformGetSourcePoint() argument 1066 PetscCall(DMPlexTransformGetCellType(tr, pNew, &ctN)); in DMPlexTransformGetSourcePoint() 1080 if (tr->ctStartNew[ctN] + off > pNew) continue; in DMPlexTransformGetSourcePoint() 1090 …RR_ARG_OUTOFRANGE, "Source cell type for target point %" PetscInt_FMT " could be not found", pNew); in DMPlexTransformGetSourcePoint() 1104 if (tr->ctStartNew[ctN] + off > pNew) continue; in DMPlexTransformGetSourcePoint() 1113 …RR_ARG_OUTOFRANGE, "Source cell type for target point %" PetscInt_FMT " could be not found", pNew); in DMPlexTransformGetSourcePoint() 1126 …FMT " != %" PetscInt_FMT " refine type which produced point %" PetscInt_FMT, rtS, rtTmp, rt, pNew); in DMPlexTransformGetSourcePoint() 1129 PetscInt tmp = pNew - tr->ctStartNew[ctN] - offset, val, c; in DMPlexTransformGetSourcePoint() [all …]
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex11.c | 285 PetscInt pNew, opNew, oo, pr, fo; in CheckSubcells() local 288 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, ctNew, p, r, &pNew)); in CheckSubcells() 289 PetscCall(DMPlexTransformGetCone(tr, pNew, &qcone, &qornt)); in CheckSubcells() 293 …SELF, " Checking replica %" PetscInt_FMT " (%" PetscInt_FMT ")\n Original Cone", r, pNew)); in CheckSubcells() 304 PetscCall(DMPlexTransformRestoreCone(otr, pNew, &oqcone, &oqornt)); in CheckSubcells() 344 PetscCall(DMPlexTransformRestoreCone(tr, pNew, &qcone, &qornt)); in CheckSubcells() 345 if (restore) PetscCall(DMPlexTransformRestoreCone(otr, pNew, &oqcone, &oqornt)); in CheckSubcells()
|
| /petsc/src/dm/label/impls/ephemeral/ |
| H A D | dmlabeleph.c | 72 PetscInt Nct, n, r, pNew = 0; in DMLabelGetStratumIS_Ephemeral() local 78 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[n], point, r, &pNew)); in DMLabelGetStratumIS_Ephemeral() 79 points[p++] = pNew; in DMLabelGetStratumIS_Ephemeral()
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 1239 PetscInt Nct, pNew = 0; in DMPlexTransformCohesiveExtrudeGetUnsplit() local 1245 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[n], point, r, &pNew)); in DMPlexTransformCohesiveExtrudeGetUnsplit() 1246 PetscCall(DMLabelSetValue(*unsplit, pNew, val + tr->labelReplicaInc * r)); in DMPlexTransformCohesiveExtrudeGetUnsplit()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1111 PetscInt pNew; in SaveToFile() local 1113 PetscCall(DMPlexTransformGetTargetPoint(tr, ct, rct[Nt - 1], c, r, &pNew)); in SaveToFile() 1114 array[pNew - cStart] = gnum; in SaveToFile()
|