Lines Matching refs:dnorm

451     PetscCall(KSPCGGetNormD(tao->ksp, &bnk->dnorm));  in TaoBNKComputeStep()
455 if (bnk->dnorm > 0.0) { in TaoBNKComputeStep()
456 tao->trust = bnk->dnorm; in TaoBNKComputeStep()
475 PetscCall(KSPCGGetNormD(tao->ksp, &bnk->dnorm)); in TaoBNKComputeStep()
477 …PetscCheck(bnk->dnorm != 0.0, PetscObjectComm((PetscObject)tao), PETSC_ERR_PLIB, "Initial directio… in TaoBNKComputeStep()
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()
818 tao->trust = PetscMax(bnk->omega3 * bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
822 tao->trust = PetscMax(bnk->omega4 * bnk->dnorm, tao->trust); in TaoBNKUpdateTrustRadius()
825 tao->trust = PetscMax(bnk->omega5 * 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()
857 if (bnk->dnorm == tao->trust) { 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()
908 tao->trust = PetscMax(tao->trust, bnk->gamma3 * bnk->dnorm); in TaoBNKUpdateTrustRadius()
910 tao->trust = PetscMax(tao->trust, bnk->gamma4 * bnk->dnorm); in TaoBNKUpdateTrustRadius()
912 tao->trust = PetscMax(tao->trust, tau_max * bnk->dnorm); in TaoBNKUpdateTrustRadius()
918 tao->trust = bnk->gamma2 * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
920 tao->trust = PetscMax(tao->trust, bnk->gamma3 * bnk->dnorm); in TaoBNKUpdateTrustRadius()
922 tao->trust = tau_max * PetscMin(tao->trust, bnk->dnorm); in TaoBNKUpdateTrustRadius()
924 tao->trust = PetscMax(tao->trust, tau_max * 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()