Searched refs:computeobjective (Results 1 – 8 of 8) sorted by relevance
| /petsc/src/tao/interface/ |
| H A D | taosolver_fg.c | 184 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 D | snesob.c | 96 …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 D | taolinesearch.c | 179 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 D | dmsnes.c | 153 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 D | taolinesearchimpl.h | 8 PetscErrorCode (*computeobjective)(TaoLineSearch, Vec, PetscReal *, void *); member
|
| H A D | taoimpl.h | 14 PetscErrorCode (*computeobjective)(Tao, Vec, PetscReal *, void *); member
|
| H A D | snesimpl.h | 190 SNESObjectiveFn *computeobjective; member
|
| /petsc/src/tao/bound/impls/bnk/ |
| H A D | bnk.c | 1020 PetscCall(TaoSetObjective(bnk->bncg, tao->ops->computeobjective, tao->user_objP)); in TaoSetUp_BNK()
|