Home
last modified time | relevance | path

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

/petsc/src/tao/interface/
H A Dtaosolver_fg.c184 if (tao->ops->computeobjective) { in TaoComputeObjective()
186 … PetscCallBack("Tao callback objective", (*tao->ops->computeobjective)(tao, X, f, tao->user_objP)); in TaoComputeObjective()
241 } else if (tao->ops->computeobjective && tao->ops->computegradient) { in TaoComputeObjectiveAndGradient()
243 … PetscCallBack("Tao callback objective", (*tao->ops->computeobjective)(tao, X, f, tao->user_objP)); in TaoComputeObjectiveAndGradient()
284 if (func) tao->ops->computeobjective = func; in TaoSetObjective()
314 if (func) *func = tao->ops->computeobjective; in TaoGetObjective()
614 if (tao->ops->computeobjective == NULL) *flg = PETSC_FALSE; in TaoIsObjectiveDefined()
/petsc/src/snes/interface/
H A Dsnesob.c96 …PetscCheck(sdm->ops->computeobjective, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_WRONGSTAT… in SNESComputeObjective()
98 PetscCall(sdm->ops->computeobjective(snes, X, ob, sdm->objectivectx)); in SNESComputeObjective()
/petsc/src/tao/linesearch/interface/
H A Dtaolinesearch.c179 if (ls->ops->computeobjective) { in TaoLineSearchSetUp()
632 ls->ops->computeobjective = func; in TaoLineSearchSetObjectiveRoutine()
826 …PetscCheck(ls->ops->computeobjective || ls->ops->computeobjectiveandgradient || ls->ops->computeob… in TaoLineSearchComputeObjective()
828 …if (ls->ops->computeobjective) PetscCallBack("TaoLineSearch callback objective", (*ls->ops->comput… in TaoLineSearchComputeObjective()
876 …PetscCallBack("TaoLineSearch callback objective", (*ls->ops->computeobjective)(ls, x, f, ls->userc… in TaoLineSearchComputeObjectiveAndGradient()
/petsc/src/snes/utils/
H A Ddmsnes.c153 nkdm->ops->computeobjective = kdm->ops->computeobjective; in DMSNESCopy()
441 if (obj) sdm->ops->computeobjective = obj; in DMSNESSetObjective()
473 if (obj) *obj = sdm->ops->computeobjective; in DMSNESGetObjective()
/petsc/include/petsc/private/
H A Dtaolinesearchimpl.h8 PetscErrorCode (*computeobjective)(TaoLineSearch, Vec, PetscReal *, void *); member
H A Dtaoimpl.h14 PetscErrorCode (*computeobjective)(Tao, Vec, PetscReal *, void *); member
H A Dsnesimpl.h190 SNESObjectiveFn *computeobjective; member
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c1020 PetscCall(TaoSetObjective(bnk->bncg, tao->ops->computeobjective, tao->user_objP)); in TaoSetUp_BNK()