Home
last modified time | relevance | path

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

/petsc/src/tao/interface/
H A Dtaosolver_fg.c390 PetscCall(PetscFree(tao->res_weights_w)); in TaoSetResidualWeights()
393 PetscCall(PetscMalloc1(n, &tao->res_weights_w)); in TaoSetResidualWeights()
398 tao->res_weights_w[i] = vals[i]; in TaoSetResidualWeights()
H A Dtaosolver.c311 PetscCall(PetscFree((*tao)->res_weights_w)); in TaoDestroy()
/petsc/src/tao/leastsquares/impls/pounders/
H A Dpounders.c39 } else if (tao->res_weights_w) { in pounders_feval()
46 *fsum += tao->res_weights_w[i] * fc * fr; in pounders_feval()
182 } else if (tao->res_weights_w) { in pounders_update_res()
188 factor = tao->res_weights_w[i] * mfqP->C[col] / 2.0; in pounders_update_res()
190 factor = tao->res_weights_w[i] * mfqP->C[row] / 2.0; in pounders_update_res()
199 factor = tao->res_weights_w[i] / 2.0; in pounders_update_res()
210 factor = tao->res_weights_w[i] * mfqP->C[col] / 2.0; in pounders_update_res()
214 factor = tao->res_weights_w[i] * mfqP->C[row] / 2.0; in pounders_update_res()
/petsc/include/petsc/private/
H A Dtaoimpl.h94 PetscReal *res_weights_w; member