Searched refs:xoff (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex7.c | 236 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()
|