Searched refs:offNew (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexreorder.c | 215 PetscInt dof, off, offNew, d; in DMPlexRemapCoordinates_Private() local 219 PetscCall(PetscSectionGetOffset(*csNew, pperm[p], &offNew)); in DMPlexRemapCoordinates_Private() 220 for (d = 0; d < dof; ++d) coordsNew[offNew + d] = coords[off + d]; in DMPlexRemapCoordinates_Private() 310 PetscInt dof, off, offNew, d; in DMPlexPermute() local 314 PetscCall(PetscSectionGetOffset(plexNew->coneSection, pperm[p], &offNew)); in DMPlexPermute() 316 plexNew->cones[offNew + d] = pperm[plex->cones[off + d]]; in DMPlexPermute() 317 plexNew->coneOrientations[offNew + d] = plex->coneOrientations[off + d]; in DMPlexPermute() 326 PetscInt dof, off, offNew, d; in DMPlexPermute() local 330 PetscCall(PetscSectionGetOffset(plexNew->supportSection, pperm[p], &offNew)); in DMPlexPermute() 331 for (d = 0; d < dof; ++d) plexNew->supports[offNew + d] = pperm[plex->supports[off + d]]; in DMPlexPermute()
|
| H A D | plextree.c | 572 PetscInt dof, off, count, offNew, dofNew; in AnchorsFlatten() local 577 PetscCall(PetscSectionGetOffset(secNew, p, &offNew)); in AnchorsFlatten() 593 if (valsNew[offNew + k] == r) break; in AnchorsFlatten() 595 if (k == oldCount) valsNew[offNew + count++] = r; in AnchorsFlatten() 601 if (valsNew[offNew + k] == q) break; in AnchorsFlatten() 603 if (k == oldCount) valsNew[offNew + count++] = q; in AnchorsFlatten() 635 PetscInt dof, off, offNew, j; in AnchorsFlatten() local 639 PetscCall(PetscSectionGetOffset(secComp, p, &offNew)); in AnchorsFlatten() 640 for (j = 0; j < dof; j++) valsComp[offNew + j] = valsNew[off + j]; in AnchorsFlatten()
|
| H A D | plexsubmesh.c | 899 PetscInt off, offNew; in DMPlexShiftTree_Internal() local 902 PetscCall(PetscSectionGetOffset(pSecShifted, pNew, &offNew)); in DMPlexShiftTree_Internal() 903 parentsShifted[offNew] = DMPlexShiftPoint_Internal(parents[off], depth, depthShift); in DMPlexShiftTree_Internal() 904 childIDsShifted[offNew] = childIDs[off]; in DMPlexShiftTree_Internal()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 2373 PetscInt pNew, offNew; in DMPlexTransformSetCoordinates() local 2379 PetscCall(PetscSectionGetOffset(coordSectionCellNew, pNew, &offNew)); in DMPlexTransformSetCoordinates() 2380 … PetscCall(DMPlexTransformMapLocalizedCoordinates(tr, ct, rct[n], r, pcoords, &coordsNew[offNew])); in DMPlexTransformSetCoordinates()
|