Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex7.c236 PetscInt xdof, xoff; in ComputeResidualLocal() local
240 PetscCall(PetscSectionGetOffset(s, v, &xoff)); in ComputeResidualLocal()
242 for (PetscInt i = 0; i < xdof; ++i) fa[xoff + i] += (M + 4) * ua[xoff + i]; in ComputeResidualLocal()
252 PetscCall(ComputeAction(d, PETSC_FALSE, &link[goff], &ua[yoff], &fa[xoff])); in ComputeResidualLocal()
257 PetscCall(ComputeAction(d, PETSC_TRUE, &link[goff], &ua[yoff], &fa[xoff])); in ComputeResidualLocal()