Searched refs:uAdjLoc (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex13.c | 381 Vec errorEst, errorL2, uErr, uErrLoc, uAdjLoc, uAdjProj; in ComputeAdjoint() local 395 PetscCall(DMGetLocalVector(dmAdj, &uAdjLoc)); in ComputeAdjoint() 396 PetscCall(DMGlobalToLocalBegin(dmAdj, uAdj, INSERT_VALUES, uAdjLoc)); in ComputeAdjoint() 397 PetscCall(DMGlobalToLocalEnd(dmAdj, uAdj, INSERT_VALUES, uAdjLoc)); in ComputeAdjoint() 399 PetscCall(DMSetAuxiliaryVec(dm, NULL, 0, 0, uAdjLoc)); in ComputeAdjoint() 402 PetscCall(DMRestoreLocalVector(dmAdj, &uAdjLoc)); in ComputeAdjoint()
|