Lines Matching refs:func
279 PetscErrorCode TaoSetObjective(Tao tao, PetscErrorCode (*func)(Tao tao, Vec x, PetscReal *f, PetscC… in TaoSetObjective()
284 if (func) tao->ops->computeobjective = func; in TaoSetObjective()
310 PetscErrorCode TaoGetObjective(Tao tao, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, Petsc… in TaoGetObjective()
314 if (func) *func = tao->ops->computeobjective; in TaoGetObjective()
341 PetscErrorCode TaoSetResidualRoutine(Tao tao, Vec res, PetscErrorCode (*func)(Tao tao, Vec x, Vec r… in TaoSetResidualRoutine()
350 tao->ops->computeresidual = func; in TaoSetResidualRoutine()
467 PetscErrorCode TaoSetGradient(Tao tao, Vec g, PetscErrorCode (*func)(Tao tao, Vec x, Vec g, PetscCt… in TaoSetGradient()
478 if (func) tao->ops->computegradient = func; in TaoSetGradient()
506 PetscErrorCode TaoGetGradient(Tao tao, Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, Vec g, Petsc… in TaoGetGradient()
511 if (func) *func = tao->ops->computegradient; in TaoGetGradient()
542 PetscErrorCode TaoSetObjectiveAndGradient(Tao tao, Vec g, PetscErrorCode (*func)(Tao tao, Vec x, Pe… in TaoSetObjectiveAndGradient()
554 if (func) tao->ops->computeobjectiveandgradient = func; in TaoSetObjectiveAndGradient()
582 PetscErrorCode TaoGetObjectiveAndGradient(Tao tao, Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, … in TaoGetObjectiveAndGradient()
587 if (func) *func = tao->ops->computeobjectiveandgradient; in TaoGetObjectiveAndGradient()