Searched refs:curvature (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/ksp/ksp/utils/lmvm/diagbrdn/ |
| H A D | diagbrdn.c | 30 PetscScalar curvature; in MatUpdate_DiagBrdn() local 40 PetscCall(VecDotNorm2(lmvm->Fprev, lmvm->Xprev, &curvature, &ststmp)); in MatUpdate_DiagBrdn() 45 if (PetscRealPart(curvature) > curvtol) { in MatUpdate_DiagBrdn() 48 …cCall(MatLMVMProductsInsertDiagonalValue(B, LMBASIS_Y, LMBASIS_S, next, PetscRealPart(curvature))); in MatUpdate_DiagBrdn()
|
| /petsc/src/ksp/ksp/utils/lmvm/symbrdn/ |
| H A D | symbrdn.c | 590 PetscScalar curvature, ststmp; in MatUpdate_LMVMSymBrdn() local 626 curvature = stsy[1]; in MatUpdate_LMVMSymBrdn() 630 if (PetscRealPart(curvature) > curvtol) { /* Update is good, accept it */ in MatUpdate_LMVMSymBrdn() 682 …cCall(MatLMVMProductsInsertDiagonalValue(B, LMBASIS_Y, LMBASIS_S, next, PetscRealPart(curvature))); in MatUpdate_LMVMSymBrdn() 683 …cCall(MatLMVMProductsInsertDiagonalValue(B, LMBASIS_S, LMBASIS_Y, next, PetscRealPart(curvature))); in MatUpdate_LMVMSymBrdn() 688 …, "Rejecting update: curvature %g, ||s||^2 %g\n", (double)PetscRealPart(curvature), (double)PetscR… in MatUpdate_LMVMSymBrdn()
|
| /petsc/src/ksp/ksp/utils/lmvm/dense/ |
| H A D | denseqn.c | 290 PetscScalar curvature, yTy; in MatUpdate_LMVMDQN() local 302 curvature = PetscConj(dotFX[1] - dotFX[0]); /* s^T y */ in MatUpdate_LMVMDQN() 308 if (PetscRealPart(curvature) > curvtol) { in MatUpdate_LMVMDQN() 334 if (lqn->use_recursive && (is_dbfgs || is_ddfp)) lqn->yts[idx] = PetscRealPart(curvature); in MatUpdate_LMVMDQN()
|
| /petsc/doc/changes/ |
| H A D | 319.md | 192 - Add `KSPSetConvergedNegativeCurvature()` to declare convergence if negative curvature is detected…
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex2_help.out | 147 …-ksp_converged_neg_curve: <now FALSE : formerly FALSE> Declare convergence if negative curvature i…
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 388 (premix-g-eqn/curvature-dfac 2.) 389 (premix-g-eqn/curvature-source? #f) 3727 (curvature-correction-ccurv-expr "") 3728 (curvature-correction-ccurv 1.) 3729 (curvature-correction? #f) 6127 (udf/viscous/curvature-correction-ccurv-fcn "constant") 6721 (dynamesh/surf-smoother/curvature-threshold 400.) 6722 (dynamesh/surf-smoother/curvature-plane-threshold 1e-09) 6723 (dynamesh/surf-smoother/override-curvature-threshold? #f) 7817 (adapt/gradient/method "curvature")
|
| /petsc/doc/manual/ |
| H A D | tao.md | 1127 of negative curvature was found. In the last two cases, if the step 1932 local curvature conditions, we also employ restarts based on a check on
|