Lines Matching refs:trust

90     tao->trust = tao->trust0;  in TaoSolve_NLS()
91 tao->trust = PetscMax(tao->trust, nlsP->min_radius); in TaoSolve_NLS()
92 tao->trust = PetscMin(tao->trust, nlsP->max_radius); in TaoSolve_NLS()
144 PetscCall(VecAXPY(nlsP->W, -tao->trust / gnorm, tao->gradient)); in TaoSolve_NLS()
151 sigma = -tao->trust / gnorm; in TaoSolve_NLS()
157 prered = tao->trust * (gnorm - 0.5 * tao->trust * prered / (gnorm * gnorm)); in TaoSolve_NLS()
165 …tau_1 = nlsP->theta_i * gnorm * tao->trust / (nlsP->theta_i * gnorm * tao->trust + (1.0 - nlsP->… in TaoSolve_NLS()
166 …tau_2 = nlsP->theta_i * gnorm * tao->trust / (nlsP->theta_i * gnorm * tao->trust - (1.0 + nlsP->… in TaoSolve_NLS()
172 max_radius = PetscMax(max_radius, tao->trust); in TaoSolve_NLS()
187 max_radius = PetscMax(max_radius, tao->trust); in TaoSolve_NLS()
213 tao->trust = tau * tao->trust; in TaoSolve_NLS()
231 tao->trust = PetscMax(tao->trust, max_radius); in TaoSolve_NLS()
234 tao->trust = PetscMax(tao->trust, nlsP->min_radius); in TaoSolve_NLS()
235 tao->trust = PetscMin(tao->trust, nlsP->max_radius); in TaoSolve_NLS()
240 tao->trust = 0.0; in TaoSolve_NLS()
284 if (0.0 == tao->trust) { in TaoSolve_NLS()
287 tao->trust = norm_d; in TaoSolve_NLS()
290 tao->trust = PetscMax(tao->trust, nlsP->min_radius); in TaoSolve_NLS()
291 tao->trust = PetscMin(tao->trust, nlsP->max_radius); in TaoSolve_NLS()
295 tao->trust = tao->trust0; in TaoSolve_NLS()
298 tao->trust = PetscMax(tao->trust, nlsP->min_radius); in TaoSolve_NLS()
299 tao->trust = PetscMin(tao->trust, nlsP->max_radius); in TaoSolve_NLS()
535 tao->trust = nlsP->omega1 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
538 tao->trust = nlsP->omega2 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
542 tao->trust = nlsP->omega3 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
544 tao->trust = PetscMax(nlsP->omega3 * norm_d, tao->trust); in TaoSolve_NLS()
548 tao->trust = PetscMax(nlsP->omega4 * norm_d, tao->trust); in TaoSolve_NLS()
551 tao->trust = PetscMax(nlsP->omega5 * norm_d, tao->trust); in TaoSolve_NLS()
555 tao->trust = nlsP->omega1 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
568 tao->trust = nlsP->alpha1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
571 tao->trust = nlsP->alpha1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
585 tao->trust = nlsP->alpha1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
588 tao->trust = nlsP->alpha2 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
592 tao->trust = nlsP->alpha3 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
594 tao->trust = PetscMax(nlsP->alpha3 * norm_d, tao->trust); in TaoSolve_NLS()
598 tao->trust = PetscMax(nlsP->alpha4 * norm_d, tao->trust); in TaoSolve_NLS()
601 tao->trust = PetscMax(nlsP->alpha5 * norm_d, tao->trust); in TaoSolve_NLS()
607 tao->trust = nlsP->alpha1 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
618 tao->trust = nlsP->gamma1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
621 tao->trust = nlsP->gamma1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
639 tao->trust = PetscMax(tao->trust, nlsP->gamma3 * norm_d); in TaoSolve_NLS()
641 tao->trust = PetscMax(tao->trust, nlsP->gamma4 * norm_d); in TaoSolve_NLS()
643 tao->trust = PetscMax(tao->trust, tau_max * norm_d); in TaoSolve_NLS()
649 tao->trust = nlsP->gamma2 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
651 tao->trust = PetscMax(tao->trust, nlsP->gamma3 * norm_d); in TaoSolve_NLS()
653 tao->trust = tau_max * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
655 tao->trust = PetscMax(tao->trust, tau_max * norm_d); in TaoSolve_NLS()
660 tao->trust = nlsP->gamma2 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
662 tao->trust = nlsP->gamma1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
664 tao->trust = nlsP->gamma1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
666 tao->trust = tau_1 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
668 tao->trust = tau_2 * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
670 tao->trust = tau_max * PetscMin(tao->trust, norm_d); in TaoSolve_NLS()
677 tao->trust = nlsP->gamma1 * PetscMin(norm_d, tao->trust); in TaoSolve_NLS()
683 tao->trust = PetscMin(tao->trust, nlsP->max_radius); in TaoSolve_NLS()