Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dex5opt_ic.c24 extern PetscErrorCode FormFunctionAndGradient(Tao, Vec, PetscReal *, Vec, void *);
297 PetscCall(TaoSetObjectiveAndGradient(tao, NULL, FormFunctionAndGradient, &appctx)); in main()
332 PetscErrorCode FormFunctionAndGradient(Tao tao, Vec P, PetscReal *f, Vec G, PetscCtx ctx) in FormFunctionAndGradient() function