Home
last modified time | relevance | path

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

/petsc/src/tao/interface/
H A Dtaosolver_fg.c385 PetscCall(VecDestroy(&tao->res_weights_v)); in TaoSetResidualWeights()
386 tao->res_weights_v = sigma_v; in TaoSetResidualWeights()
H A Dtaosolver.c305 PetscCall(VecDestroy(&(*tao)->res_weights_v)); in TaoDestroy()
/petsc/include/petsc/private/
H A Dtaoimpl.h90 Vec res_weights_v; member
/petsc/src/tao/leastsquares/impls/pounders/
H A Dpounders.c36 if (tao->res_weights_v) { in pounders_feval()
37 PetscCall(VecPointwiseMult(mfqP->workfvec, tao->res_weights_v, F)); in pounders_feval()
162 if (tao->res_weights_v) { in pounders_update_res()
165 PetscCall(VecGetValues(tao->res_weights_v, 1, &i, &factor)); in pounders_update_res()
173 PetscCall(VecGetValues(tao->res_weights_v, 1, &i, &wii)); in pounders_update_res()