Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex13.c381 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()