Searched refs:newOff (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 530 PetscInt newOff = 0; in DMPlexShiftPoint_Internal() local 533 if (p < depthShift[2 * d]) return p + newOff; in DMPlexShiftPoint_Internal() 534 else newOff = depthShift[2 * d + 1] - depthShift[2 * d]; in DMPlexShiftPoint_Internal() 536 return p + newOff; in DMPlexShiftPoint_Internal() 543 PetscInt newOff = 0; in DMPlexShiftPointInverse_Internal() local 546 if (p < depthShift[2 * d + 1]) return p + newOff; in DMPlexShiftPointInverse_Internal() 547 else newOff = depthShift[2 * d] - depthShift[2 * d + 1]; in DMPlexShiftPointInverse_Internal() 549 return p + newOff; in DMPlexShiftPointInverse_Internal()
|
| H A D | plextree.c | 829 PetscInt dof, off, q, qdof, qoff, newDof, newOff, newqOff, i, parent; in DMPlexTreeExchangeSupports() local 834 PetscCall(PetscSectionGetOffset(newSupportSection, p, &newOff)); in DMPlexTreeExchangeSupports() 845 if (j < numCones) newSupports[newOff + offsets[p]++] = q; in DMPlexTreeExchangeSupports() 865 if (j < numCones) newSupports[newOff + offsets[p]++] = r; in DMPlexTreeExchangeSupports()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 584 PetscInt gstart, subSize = 0, extSize = 0, subOff = 0, newOff = 0; in VecView_Plex_Local_HDF5_Internal() local 621 … for (fc = 0; fc < fdof; ++fc, ++newOff) suba[subSize + newOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal()
|