Lines Matching refs:VecRestoreArray
55 PetscCall(VecRestoreArray(F, &f)); in RHSFunction()
112 PetscCall(VecRestoreArray(VHV[0], &vhv)); in RHSHessianProductUU()
140 PetscCall(VecRestoreArray(VHV[0], &vhv)); in RHSHessianProductUP()
168 PetscCall(VecRestoreArray(VHV[0], &vhv)); in RHSHessianProductPU()
196 PetscCall(VecRestoreArray(F, &f)); in IFunction()
273 PetscCall(VecRestoreArray(VHV[0], &vhv)); in IHessianProductUU()
301 PetscCall(VecRestoreArray(VHV[0], &vhv)); in IHessianProductUP()
329 PetscCall(VecRestoreArray(VHV[0], &vhv)); in IHessianProductPU()
442 PetscCall(VecRestoreArray(user.U, &x_ptr)); in main()
468 PetscCall(VecRestoreArray(P, &x_ptr)); in main()
544 PetscCall(VecRestoreArray(user_ptr->U, &x_ptr)); in FormFunctionGradient()
556 PetscCall(VecRestoreArray(user_ptr->Lambda[0], &x_ptr)); in FormFunctionGradient()
560 PetscCall(VecRestoreArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
569 PetscCall(VecRestoreArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
571 PetscCall(VecRestoreArray(G, &g)); in FormFunctionGradient()
609 PetscCall(VecRestoreArray(ctx->Dir, &x_ptr)); in Adjoint2()
633 PetscCall(VecRestoreArray(ctx->U, &y_ptr)); in Adjoint2()
641 PetscCall(VecRestoreArray(ctx->Lambda[0], &y_ptr)); in Adjoint2()
645 PetscCall(VecRestoreArray(ctx->Mup[0], &y_ptr)); in Adjoint2()
651 PetscCall(VecRestoreArray(ctx->Lambda2[0], &y_ptr)); in Adjoint2()
654 PetscCall(VecRestoreArray(ctx->Mup2[0], &y_ptr)); in Adjoint2()
670 PetscCall(VecRestoreArray(ctx->Lambda2[0], &x_ptr)); in Adjoint2()
671 PetscCall(VecRestoreArray(ctx->Lambda2[0], &y_ptr)); in Adjoint2()