Searched refs:ls_res (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/tao/leastsquares/impls/brgn/ |
| H A D | brgn.c | 107 PetscCall(TaoComputeResidual(tao, X, tao->ls_res)); in GNObjectiveGradientEval() 108 PetscCall(VecDot(tao->ls_res, tao->ls_res, fcn)); in GNObjectiveGradientEval() 112 PetscCall(MatMultTranspose(tao->ls_jac, tao->ls_res, G)); in GNObjectiveGradientEval() 412 …PetscCheck(tao->ls_res, PetscObjectComm((PetscObject)tao), PETSC_ERR_ORDER, "TaoSetResidualRoutine… in TaoSetUp_BRGN() 419 if (!gn->r_work) PetscCall(VecDuplicate(tao->ls_res, &gn->r_work)); in TaoSetUp_BRGN() 466 …PetscCall(TaoSetResidualRoutine(gn->subsolver, tao->ls_res, tao->ops->computeresidual, tao->user_l… in TaoSetUp_BRGN()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_fg.c | 347 if (tao->ls_res) PetscCall(VecDestroy(&tao->ls_res)); in TaoSetResidualRoutine() 348 tao->ls_res = res; in TaoSetResidualRoutine()
|
| H A D | taosolver.c | 272 PetscCall(VecDestroy(&(*tao)->ls_res)); in TaoDestroy() 1984 PetscCall(VecView(tao->ls_res, vf->viewer)); in TaoMonitorResidual()
|
| /petsc/include/petsc/private/ |
| H A D | taoimpl.h | 87 Vec ls_res; member
|
| /petsc/src/tao/leastsquares/impls/pounders/ |
| H A D | pounders.c | 664 PetscCall(VecCopy(mfqP->Fhist[mfqP->minindex], tao->ls_res)); in TaoSolve_POUNDERS() 768 PetscCall(VecDuplicate(tao->ls_res, &mfqP->Fhist[mfqP->nHist])); in TaoSolve_POUNDERS() 801 PetscCall(VecCopy(mfqP->Fhist[mfqP->minindex], tao->ls_res)); in TaoSolve_POUNDERS() 930 PetscCall(VecGetSize(tao->ls_res, &mfqP->m)); in TaoSetUp_POUNDERS() 940 PetscCall(VecDuplicate(tao->ls_res, &mfqP->Fhist[i])); in TaoSetUp_POUNDERS() 943 PetscCall(VecDuplicate(tao->ls_res, &mfqP->workfvec)); in TaoSetUp_POUNDERS() 1007 PetscCall(VecScatterCreate(tao->ls_res, isfglob, mfqP->localf, isfloc, &mfqP->scatterf)); in TaoSetUp_POUNDERS()
|