Home
last modified time | relevance | path

Searched refs:offA (Results 1 – 3 of 3) sorted by relevance

/petsc/doc/manual/
H A Ddmplex.md358 PetscInt points[2*2], numPoints, p, dofA, offA, dofB, offB;
366 PetscSectionGetOffset(section, points[0*2], &offA);
368 myfunc(a[offA], a[offB]);
/petsc/src/dm/impls/plex/
H A Dplexinterpolate.c1759 PetscInt offA, offB; in DMPlexCopyCoordinates() local
1761 PetscCall(PetscSectionGetOffset(coordSectionA, v + vStartA, &offA)); in DMPlexCopyCoordinates()
1763 for (d = 0; d < spaceDim; ++d) coordsB[offB + d] = coordsA[offA + d]; in DMPlexCopyCoordinates()
H A Dplex.c1316 PetscInt coneSize, offA, offB, dof, d; in DMPlexView_Ascii() local
1323 PetscCall(PetscSectionGetOffset(coordSection, cone[0], &offA)); in DMPlexView_Ascii()
1327 tcoords[d] = (double)(scale * PetscRealPart(coords[offA + d] + coords[offB + d]) / 2); in DMPlexView_Ascii()