Searched refs:uErr (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 420 PetscCall(DMGetGlobalVector(dmErrAux, &uErr)); in ComputeAdjoint() 423 PetscCall(VecViewFromOptions(uErr, NULL, "-map_vec_view")); in ComputeAdjoint() 424 PetscCall(VecISCopy(uErr, subis[0], SCATTER_FORWARD, u)); in ComputeAdjoint() 425 PetscCall(VecISCopy(uErr, subis[1], SCATTER_FORWARD, uAdjProj)); in ComputeAdjoint() 430 PetscCall(DMGlobalToLocalBegin(dm, uErr, INSERT_VALUES, uErrLoc)); in ComputeAdjoint() 431 PetscCall(DMGlobalToLocalEnd(dm, uErr, INSERT_VALUES, uErrLoc)); in ComputeAdjoint() 432 PetscCall(DMRestoreGlobalVector(dmErrAux, &uErr)); in ComputeAdjoint()
|