Lines Matching refs:actred
47 PetscReal fmin, ftrial, f_full, prered, actred, kappa, sigma; in TaoSolve_NLS() local
158 actred = f - ftrial; in TaoSolve_NLS()
159 … if ((PetscAbsScalar(actred) <= nlsP->epsilon) && (PetscAbsScalar(prered) <= nlsP->epsilon)) { in TaoSolve_NLS()
162 kappa = actred / prered; in TaoSolve_NLS()
165 …norm * tao->trust / (nlsP->theta_i * gnorm * tao->trust + (1.0 - nlsP->theta_i) * prered - actred); in TaoSolve_NLS()
166 …norm * tao->trust / (nlsP->theta_i * gnorm * tao->trust - (1.0 + nlsP->theta_i) * prered + actred); in TaoSolve_NLS()
574 actred = fold - f_full; in TaoSolve_NLS()
576 … if ((PetscAbsScalar(actred) <= nlsP->epsilon) && (PetscAbsScalar(prered) <= nlsP->epsilon)) { in TaoSolve_NLS()
579 kappa = actred / prered; in TaoSolve_NLS()
623 actred = fold - f_full; in TaoSolve_NLS()
625 … if ((PetscAbsScalar(actred) <= nlsP->epsilon) && (PetscAbsScalar(prered) <= nlsP->epsilon)) { in TaoSolve_NLS()
628 kappa = actred / prered; in TaoSolve_NLS()
631 … tau_1 = nlsP->theta * gdx / (nlsP->theta * gdx - (1.0 - nlsP->theta) * prered + actred); in TaoSolve_NLS()
632 … tau_2 = nlsP->theta * gdx / (nlsP->theta * gdx + (1.0 + nlsP->theta) * prered - actred); in TaoSolve_NLS()