Searched refs:uAdjProj (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 398 PetscCall(DMGetGlobalVector(dm, &uAdjProj)); in ComputeAdjoint() 400 PetscCall(DMProjectField(dm, 0.0, u, identity, INSERT_VALUES, uAdjProj)); in ComputeAdjoint() 422 PetscCall(VecViewFromOptions(uAdjProj, NULL, "-map_vec_view")); in ComputeAdjoint() 425 PetscCall(VecISCopy(uErr, subis[1], SCATTER_FORWARD, uAdjProj)); in ComputeAdjoint() 426 PetscCall(DMRestoreGlobalVector(dm, &uAdjProj)); in ComputeAdjoint()
|