Searched refs:res_weights_w (Results 1 – 4 of 4) sorted by relevance
390 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()
311 PetscCall(PetscFree((*tao)->res_weights_w)); in TaoDestroy()
39 } 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()
94 PetscReal *res_weights_w; member