Lines Matching refs:Mup
26 Vec U, Lambda[1], Mup[1]; /* adjoint variables */ member
415 PetscCall(MatCreateVecs(user.Jacp, &user.Mup[0], NULL)); in main()
498 PetscCall(VecDestroy(&user.Mup[0])); in main()
558 PetscCall(VecGetArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
560 PetscCall(VecRestoreArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
561 PetscCall(TSSetCostGradients(ts, 1, user_ptr->Lambda, user_ptr->Mup)); in FormFunctionGradient()
565 PetscCall(VecGetArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
569 PetscCall(VecRestoreArray(user_ptr->Mup[0], &x_ptr)); in FormFunctionGradient()
643 PetscCall(VecGetArray(ctx->Mup[0], &y_ptr)); in Adjoint2()
645 PetscCall(VecRestoreArray(ctx->Mup[0], &y_ptr)); in Adjoint2()
656 PetscCall(TSSetCostGradients(ts, 1, ctx->Lambda, ctx->Mup)); in Adjoint2()