Lines Matching refs:PetscMin
189 tau_min = PetscMin(tau_1, tau_2); in TaoBNKInitialize()
265 tao->trust = PetscMin(tao->trust, bnk->max_radius); in TaoBNKInitialize()
460 tao->trust = PetscMin(tao->trust, bnk->max_radius); in TaoBNKComputeStep()
468 tao->trust = PetscMin(tao->trust, bnk->max_radius); in TaoBNKComputeStep()
574 bnk->pert = PetscMin(bnk->imax, PetscMax(bnk->imin, bnk->imfac * bnk->gnorm)); in TaoBNKSafeguardStep()
582 bnk->pert = PetscMin(bnk->pmax, PetscMax(bnk->pgfac * bnk->pert, bnk->pmgfac * bnk->gnorm)); in TaoBNKSafeguardStep()
636 bnk->pert = PetscMin(bnk->imax, PetscMax(bnk->imin, bnk->imfac * bnk->gnorm)); in TaoBNKSafeguardStep()
644 … bnk->pert = PetscMin(bnk->pmax, PetscMax(bnk->pgfac * bnk->pert, bnk->pmgfac * bnk->gnorm)); in TaoBNKSafeguardStep()
650 bnk->pert = PetscMin(bnk->psfac * bnk->pert, bnk->pmsfac * bnk->gnorm); in TaoBNKSafeguardStep()
716 bnk->pert = PetscMin(bnk->imax, PetscMax(bnk->imin, bnk->imfac * bnk->gnorm)); in TaoBNKPerformLineSearch()
724 bnk->pert = PetscMin(bnk->pmax, PetscMax(bnk->pgfac * bnk->pert, bnk->pmgfac * bnk->gnorm)); in TaoBNKPerformLineSearch()
809 tao->trust = bnk->omega1 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
812 tao->trust = bnk->omega2 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
816 tao->trust = bnk->omega3 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
829 tao->trust = bnk->omega1 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
839 tao->trust = bnk->alpha1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
842 tao->trust = bnk->alpha1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
852 tao->trust = bnk->alpha1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
877 tao->trust = bnk->alpha1 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
887 tao->trust = bnk->gamma1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
890 tao->trust = bnk->gamma1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
901 tau_min = PetscMin(tau_1, tau_2); in TaoBNKUpdateTrustRadius()
918 tao->trust = bnk->gamma2 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
922 tao->trust = tau_max * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
929 tao->trust = bnk->gamma2 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
931 tao->trust = bnk->gamma1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
933 tao->trust = bnk->gamma1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
935 tao->trust = tau_1 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
937 tao->trust = tau_2 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
939 tao->trust = tau_max * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
946 tao->trust = bnk->gamma1 * PetscMin(bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
951 tao->trust = PetscMin(tao->trust, bnk->max_radius); in TaoBNKUpdateTrustRadius()